added indices to html

This commit is contained in:
Justin 2022-10-05 18:13:32 +08:00 committed by GitHub
parent c065b956b4
commit 34690b8433
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2092,6 +2092,437 @@
</div> </div>
<!-- Indices -->
<div class="page" id="Page15" style="display: none">
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12">
<div class="row g-3 align-items-center mt-3">
<div class="col-auto">
<label for="inputScrollSpeedZ21" class="col-form-label"
>Scroll Speed:
</label>
</div>
<div class="col-auto">
<select
id="inputScrollSpeed21"
class="form-select speed-select"
>
<option {%if indices_settings.speed == 'medium' %} selected {% endif %}>Medium</option>
<option {%if indices_settings.speed == 'slow' %} selected {% endif %}>Slow</option>
<option {%if indices_settings.speed == 'fast' %} selected {% endif %}>Fast</option>
</select>
</div>
</div>
<div class="row g-3 align-items-center mt-3 left-div">
<div class="col-auto">
<label for="inputScrollSpeedRowZ21" class="col-form-label"
>Scroll Speed (Row 2):
</label>
</div>
<div class="col-auto">
<select
id="inputScrollSpeedRow15"
class="form-select speed-select"
>
<option {%if indices_settings.speed2 == 'medium' %} selected {% endif %}>Medium</option>
<option {%if indices_settings.speed2 == 'slow' %} selected {% endif %}>Slow</option>
<option {%if indices_settings.speed2 == 'fast' %} selected {% endif %}>Fast</option>
</select>
</div>
</div>
<div class="row g-3 align-items-center mt-3">
<div class="col-auto">
<label for="inputTransitionZ21" class="col-form-label"
>Intro Transition:
</label>
</div>
<div class="col-auto">
<select
id="inputTransition21"
class="form-select animation-select"
>
<option {%if indices_settings.animation == 'down' %} selected {% endif %}>Down</option>
<option {%if indices_settings.animation == 'up' %} selected {% endif %}>Up</option>
<option {%if indices_settings.animation == 'continuous' %} selected {% endif %}>Continuous</option>
</select>
</div>
</div>
<div class="row g-3 align-items-center mt-3">
<div class="col-auto">
<label for="inputTextZ21" class="col-form-label"
>Index Symbol:
</label>
</div>
<div class="col-auto">
<input
type="text"
id="inputText21"
class="form-control"
aria-describedby="TextHelpInline"
placeholder="e.g. ^DJI"
/>
</div>
<div class="col-auto">
<button id="inputTextBtn21" class="btn set-btn" onclick="indicesValidate()">Add</button>
</div>
<p id="demo9" style="display: none"></p>
</div>
<div class="indices" id="limit-msg">
</div>
<div class="row g-3 align-items-center mt-3">
<div class="col-auto">
<label for="inputTransitionZ21" class="col-form-label"
>Percent Change
</label>
</div>
<div class="col-auto">
<input
class="form-check-input percent-select"
type="checkbox"
value=""
id="flexCheckChecked36"
{%if indices_settings.percent%}
checked
{%endif%}
/>
</div>
</div>
<div class="row g-3 align-items-center left-div">
<div class="col-auto">
<label for="inputTransitionZ21" class="col-form-label"
>Point Change
</label>
</div>
<div class="col-auto">
<input
class="form-check-input point-select"
type="checkbox"
value=""
id="flexCheckChecked37"
{%
if
indices_settings.point%}
checked
{%endif%}
/>
</div>
</div>
<div class="row g-3 align-items-center left-div">
<div class="col-auto">
<label for="inputTransitionZ21" class="col-form-label"
>Display Indices Logos
</label>
</div>
<div class="col-auto">
<input
class="form-check-input logo-select"
type="checkbox"
value=""
id="flexCheckChecked38"
{%
if
indices_settings.logos%}
checked
{%endif%}
/>
</div>
</div>
<div class="row g-3 align-items-center left-div">
<div class="col-auto">
<label for="inputTransitionZ21" class="col-form-label"
>Display Feature Title
</label>
</div>
<div class="col-auto">
<input
class="form-check-input title-select"
type="checkbox"
value=""
id="flexCheckChecked39"
{%
if
indices_settings.title%}
checked
{%endif%}
/>
</div>
</div>
</div>
<div class="col-lg-4 col-md-4 col-sm-12">
<h6 class="mt-3">List:</h6>
<div class="features-div-two">
<ul
id="indices-features"
class="display-features-list text-white symbol-list"
>
{% for f in indices_settings.symbols %}
<li>{{f}}</li>
{% endfor%}
</ul>
</div>
</div>
<div class="col-lg-2 col-md-2 col-sm-12">
<div class="icons-list">
<i
id="indices-increase-btn"
class="upbutton fa fa-chevron-up"
aria-hidden="true"
></i>
<br />
<br />
<i
id="indices-decrease-btn"
class="downbutton fa fa-chevron-down"
aria-hidden="true"
></i>
<a style="position: relative; bottom: 30px; left: 10px"
>Sort Order</a
>
<br />
<br />
<i
id="indices-remove-btn"
class="fa fa-minus"
aria-hidden="true"
></i>
<span style="position: relative; bottom: 0; left: 10px"
>Remove</span
>
</div>
</div>
</div>
<div class="save-btn-div">
<a href="#" class="btn save-btn">Save</a>
</div>
</div>
<!-- Forex --> <!-- Forex -->
<div class="page" id="Page3" style="display: none"> <div class="page" id="Page3" style="display: none">