28 lines
1.7 KiB
HTML
28 lines
1.7 KiB
HTML
<div class="form-popup" id="new_strat_form">
|
|
<form action="/new_strategy" class="form-container">
|
|
<!-- Panel 1 of 1 (5 rows, 2 columns) -->
|
|
<div id="strat_pan_1" class="form_panels" style="grid-template-columns:repeat(2,1fr);grid-template-rows: repeat(5,1fr);">
|
|
<!-- Panel title (row 1/5)-->
|
|
<h1 style="grid-column: 1 / span 2; grid-row: 1;">Create New Strategy</h1>
|
|
<!-- Name Input field (row 2/5)-->
|
|
<div id = "strat_name_div" style="grid-column: 1 / span 2; grid_row:2;">
|
|
<label for='stg_name' >Strategy Name:</label>
|
|
<input type="text" id="stg_name" name="strat_name" />
|
|
</div>
|
|
<!-- Source Input field (row 3/5)-->
|
|
<label for="strat_type" style="grid-column: 1; grid-row: 3;"><b>Strategy type</b></label>
|
|
<select name="strat_type" id="strat_type" style="grid-column: 2; grid-row: 3;" onchange= "UI.strats.fill_field('strat_opt', this.value)">
|
|
<option>in-out</option>
|
|
<option>incremental_profits</option>
|
|
<option>swing</option>
|
|
</select>
|
|
<div id="strat_opt"></div>
|
|
<div style="grid-column: 1 / span 2; grid-row: 5;">
|
|
<button type="button" class="btn cancel" onclick="UI.strats.close_form()">Close</button>
|
|
<button type="button" class="btn next" onclick="UI.strats.submit()">Create Strategy</button>
|
|
</div>
|
|
|
|
</div><!----End panel 1--------->
|
|
</form>
|
|
</div>
|