brighter-trading/src/templates/exchange_config_popup.html

29 lines
1.8 KiB
HTML

<div class="form-popup" id="exchanges_config_form">
<form action="/config_exchange" class="form-container">
<!-- Panel 1 of 1 (8 rows, 4 columns) -->
<div id="exchange_pan_1" class="form_panels" style="display: grid;grid-template-columns:repeat(4,1fr);grid-template-rows: repeat(8,1fr);">
<!-- Panel title (row 1/8)-->
<h1 style="grid-column: 1 / span 4; grid-row: 1;">Configure Exchanges</h1>
<!-- Value field (row 7/8)-->
<label style="grid-column: 1; grid-row: 2;" for="c_exchanges" ><b>Exchanges</b></label>
<select style="grid-column: 2; grid-row: 2;" name="c_exchanges" id="c_exchanges" onchange="">
{% for each in exchanges %}
<option>{{each}}</option>
{% endfor %}
</select>
<label for="api_key" style="grid-column: 1; grid-row: 3;">API KEY:</label>
<input name="api_key" id="api_key" style="grid-column: 2 / span 3; grid-row: 3;">
<label for="api_secret_key" style="grid-column: 1; grid-row: 4;">API SECRET KEY:</label>
<input name="api_secret_key" id="api_secret_key" style="grid-column: 2 / span 3; grid-row: 4;">
<!-- buttons (row 8/8)-->
<div style="grid-column: 1 / span 4; grid-row: 8;">
<button type="button" class="btn cancel" onclick="UI.exchanges.closeForm()">Close</button>
<button type="button" class="btn next" onclick="UI.exchanges.submitApi()">Submit Changes</button>
</div>
</div><!----End panel 1--------->
</form>
</div>