master
SeanChenTaipei 2 years ago
parent 77b16b4846
commit 14c11d5cc6
  1. 2
      main.py
  2. 2
      templates/registration.html
  3. 10
      templates/strategy_tw.html

@ -248,7 +248,7 @@ def submit_stock_list():
legend={'title': {'text': '資產價格走勢'}, 'tracegroupgap': 0},
title= {'text': 'Assets in portfolio'},
xaxis= {'anchor': 'y', 'domain': [0.0, 1.0], 'title': {'text': '日期'}},
yaxis= {'anchor': 'x', 'domain': [0.0, 0.75], 'title': {'text': '價格'}}
yaxis= {'anchor': 'x', 'domain': [0.0, 1.0], 'title': {'text': '價格'}}
)
fig.update_layout(legend=dict(
yanchor="top",

@ -48,7 +48,7 @@ body {
<input type="password" class="form-control" id="InputPassword1" name="password" required>
</div>
<div class="mb-3 px-3 input-group-lg">
<label for="InputPassword2" class="form-label">Reapeat Yout Password</label>
<label for="InputPassword2" class="form-label">Repeat Yout Password</label>
<input type="password" class="form-control" id="InputPassword2" name="rep-password" required>
</div>
<div class="d-flex justify-content-center mx-3 mb-4 mb-lg-4">

@ -41,7 +41,7 @@ div.card{
<div class="card mb-3">
<!-- <img src="{{ url_for("static", filename="img/stock.jpeg") }}" class="card-img-top" alt="..."> -->
<div class="card-body">
<h5 class="card-title text-xl font-bold">{% if session.tw == 1 %}台股{% endif %}投資組合建立步驟 <i class="bi bi-arrow-down-right-circle-fill"></i></h5>
<h5 class="card-title text-xl font-bold">{% if session.tw == 1 %}台股{% endif %}投資組合建立指南 <i class="bi bi-arrow-down-right-circle-fill"></i></h5>
<ol class="list-group list-group-flush list-group-numbered">
<li class="list-group-item"><span class="ps-2">輸入投資組合名稱</span></li>
<li class="list-group-item"><span class="ps-2">選擇所參加的課程或競賽</span></li>
@ -80,7 +80,13 @@ div.card{
</div>
</div>
<div class="card-body">
<div id="graph"></div>
<div id="graph">
<span>
按下
<button type="button" class="btn btn-outline-primary btn-sm" disabled>確認資產</button>
後,圖表將在此渲染。
</span>
</div>
</div>
</div>
<div class="card">

Loading…
Cancel
Save