添加历史图表

This commit is contained in:
ZaneYork 2024-09-19 16:56:09 +08:00
parent a48ab84358
commit 2b8a24196a
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
{% block content %} {% block content %}
<div class="pt-1 mb-3"> <div class="pt-1 mb-3">
<div class="row"> <div class="row">
<div class="col-10"> <div class="col-9">
<select id="dateSelect" class="form-select" aria-label="日期选择"> <select id="dateSelect" class="form-select" aria-label="日期选择">
{% for recent_result in recent_results %} {% for recent_result in recent_results %}
<option value="{{ recent_result.datestr }}" {{ 'selected' if date==recent_result.datestr else '' }}> <option value="{{ recent_result.datestr }}" {{ 'selected' if date==recent_result.datestr else '' }}>
@ -16,7 +16,7 @@
{% endfor %} {% endfor %}
</select> </select>
</div> </div>
<div class="col-1"> <div class="col-2">
<button type="button" class="btn btn-primary" onclick="back()">返回</button> <button type="button" class="btn btn-primary" onclick="back()">返回</button>
</div> </div>
</div> </div>