crypto portfolio text fields

This commit is contained in:
Justin 2023-03-17 17:30:50 +08:00 committed by GitHub
parent 35564f2d98
commit cea1d2a538
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1533,50 +1533,6 @@
</div>
<!-- <div class="row g-3 align-items-center">
<div class="col-auto">
<label for="inputTransition" class="col-form-label"
>Display Intraday Chart
</label>
</div>
<div class="col-auto">
<input
class="form-check-input chart-select"
type="checkbox"
value=""
id="flexCheckChecked9"
{%
if
crypto_settings.chart%}
checked
{%endif%}
/>
</div>
</div> -->
<div class="row g-3 align-items-center">
<div class="col-auto">
@ -1617,6 +1573,88 @@
</div>
<div class="row g-3 align-items-center left-div">
<div class="col-auto">
<label for="inputTransitionZ" class="col-form-label"
>Display Portfolio
</label>
</div>
<div class="col-auto">
<input
class="form-check-input portfolio-crypto-select"
type="checkbox"
value=""
id="crypto_portfolio_checkbox"
{%
if
crypto_settings.chart%}
checked
{%endif%}
onclick="portfolioCryptoValidate()"
/>
</div>
</div>
<p id="demo-portfolio-crypto" style="display: none"></p>
<div id="crypto-portfolio" style="display: none;">
<div class="row g-3 align-items-center mt-3 left-div">
<div class="col-auto">
<label for="inputTextZ" class="col-form-label"
>Shares:
</label>
</div>
<div class="col-auto">
<input
type="text"
id="cryptoshares"
class="form-control"
aria-describedby="TextHelpInline"
placeholder="e.g. 200" />
</div>
</div>
<div class="row g-3 align-items-center mt-3 left-div">
<div class="col-auto">
<label for="inputTextZ" class="col-form-label"
>Avg Cost:
</label>
</div>
<div class="col-auto">
<input
type="text"
id="cryptocost"
class="form-control"
aria-describedby="TextHelpInline"
placeholder="e.g. 152.45" />
</div>
</div>
<div class="row g-3 align-items-center mt-3 left-div">
<div class="col-auto">
<label for="inputTextZ" class="col-form-label"
>Date:
</label>
</div>
<div class="col-auto">
<input
type="text"
id="cryptodate"
class="form-control"
aria-describedby="TextHelpInline"
placeholder="e.g. YYYY-MM-DD" />
</div>
</div>
</div>
</div>
<div class="col-lg-4 col-md-4 col-sm-12">