ui: Add option to set debug tweak option from bid page.
This commit is contained in:
17 files changed
+124
-70
No files matched your search
@@ -50,6 +50,14 @@
|
||||
<option value="{{ s[0] }}"{% if data.bid_state_ind==s[0] %} selected{% endif %}>{{ s[1] }}</option>
|
||||
{% endfor %}
|
||||
</select></td></tr>
|
||||
{% if data.debug_ui == true %}
|
||||
<tr><td>Debug Option</td><td><select name="debugind">
|
||||
<option{% if data.debug_ind=="-1" %} selected{% endif %} value="-1">-- None --</option>
|
||||
{% for a in data.debug_options %}
|
||||
<option{% if data.debug_ind==a[0] %} selected{% endif %} value="{{ a[0] }}">{{ a[1] }}</option>
|
||||
{% endfor %}
|
||||
</select></td></tr>
|
||||
{% endif %}
|
||||
</table>
|
||||
<input name="edit_bid_cancel" type="submit" value="Cancel">
|
||||
<input name="edit_bid_submit" type="submit" value="Submit">
|
||||
|
||||
@@ -43,6 +43,14 @@
|
||||
<option value="{{ s[0] }}"{% if data.bid_state_ind==s[0] %} selected{% endif %}>{{ s[1] }}</option>
|
||||
{% endfor %}
|
||||
</select></td></tr>
|
||||
{% if data.debug_ui == true %}
|
||||
<tr><td>Debug Option</td><td><select name="debugind">
|
||||
<option{% if data.debug_ind=="-1" %} selected{% endif %} value="-1">-- None --</option>
|
||||
{% for a in data.debug_options %}
|
||||
<option{% if data.debug_ind==a[0] %} selected{% endif %} value="{{ a[0] }}">{{ a[1] }}</option>
|
||||
{% endfor %}
|
||||
</select></td></tr>
|
||||
{% endif %}
|
||||
</table>
|
||||
<input name="edit_bid_cancel" type="submit" value="Cancel">
|
||||
<input name="edit_bid_submit" type="submit" value="Submit">
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<tr><td>Amount Variable</td><td>{{ data.amount_negotiable }}</td></tr>
|
||||
<tr><td>Rate Variable</td><td>{{ data.rate_negotiable }}</td></tr>
|
||||
<tr><td>Script Lock Type</td><td>{{ data.lock_type }}</td></tr>
|
||||
<tr><td>Script Lock Value</td><td>{{ data.lock_value }}</td></tr>
|
||||
<tr><td>Script Lock Value</td><td>{{ data.lock_value }} {{ data.lock_value_hr }}</td></tr>
|
||||
{% if data.addr_to == "Public" %}
|
||||
<tr><td>Address To</td><td>{{ data.addr_to }}</td></tr>
|
||||
{% else %}
|
||||
|
||||
@@ -64,7 +64,11 @@
|
||||
<tr><td>Rate Variable</td><td colspan=3><input type="checkbox" id="rate_var" name="rate_var_" value="rv" {% if data.rate_var==true %} checked="true"{% endif %} disabled></td></tr>
|
||||
|
||||
<tr class="padded_row"><td>Offer valid (hrs)</td><td><input type="number" name="validhrs" min="1" max="48" value="{{ data.validhrs }}" readonly></td></tr>
|
||||
{% if data.debug_ui == true %}
|
||||
<tr><td>Contract locked (mins)</td><td><input type="number" name="lockmins" min="10" max="5000" value="{{ data.lockmins }}" readonly></td>{% if data.swap_style != 'xmr' %}<td colspan=2>Participate txn will be locked for half the time.</td>{% endif %}</tr>
|
||||
{% else %}
|
||||
<tr><td>Contract locked (hrs)</td><td><input type="number" name="lockhrs" min="1" max="64" value="{{ data.lockhrs }}" readonly></td>{% if data.swap_style != 'xmr' %}<td colspan=2>Participate txn will be locked for half the time.</td>{% endif %}</tr>
|
||||
{% endif %}
|
||||
<tr><td>Auto Accept Bids</td><td colspan=3><input type="checkbox" id="autoaccept" name="autoaccept_" value="aa" {% if data.autoaccept==true %} checked="true"{% endif %} disabled></td></tr>
|
||||
</table>
|
||||
|
||||
|
||||
@@ -62,7 +62,11 @@
|
||||
|
||||
|
||||
<tr class="padded_row"><td>Offer valid (hrs)</td><td><input type="number" name="validhrs" min="1" max="48" value="{{ data.validhrs }}"></td></tr>
|
||||
{% if data.debug_ui == true %}
|
||||
<tr><td>Contract locked (mins)</td><td><input type="number" name="lockmins" min="10" max="5000" value="{{ data.lockmins }}"></td>{% if data.swap_style != 'xmr' %}<td colspan=2>Participate txn will be locked for half the time.</td>{% endif %}</tr>
|
||||
{% else %}
|
||||
<tr><td>Contract locked (hrs)</td><td><input type="number" name="lockhrs" min="1" max="96" value="{{ data.lockhrs }}"></td>{% if data.swap_style != 'xmr' %}<td colspan=2>Participate txn will be locked for half the time.</td>{% endif %}</tr>
|
||||
{% endif %}
|
||||
<tr><td>Auto Accept Bids</td><td colspan=3><input type="checkbox" id="autoaccept" name="autoaccept" value="aa" {% if data.autoaccept==true %} checked="true"{% endif %}></td></tr>
|
||||
|
||||
</table>
|
||||
|
||||
Reference in new issue
Block a user