finance-consumer/bookkeeper/templates/ftx.html.j2
2025-03-10 22:54:57 +08:00

43 lines
1.9 KiB
Django/Jinja

<div class="box">
<form action="/ftx" method="post">
<div class="field">
<label class="label" for="code">代码</label>
<div class="control">
<input id="code" name="code" class="input" type="number" placeholder="Code" value="">
</div>
</div>
<div class="field">
<label class="label" for="name">名称</label>
<div class="control">
<input id="name" name="name" class="input" type="text" placeholder="Name" value="">
</div>
</div>
<table class="table is-fullwidth is-bordered">
<thead>
<tr>
<th><label class="label" for="date">卖出日期</label></th>
<th><label class="label" for="sell">卖出价</label></th>
<th><label class="label" for="volume">成交量(卖)</label></th>
<th><label class="label" for="net_sell">实际卖出</label></th>
<th><label class="label" for="other_fee">额外手续费</label></th>
</tr>
</thead>
<tbody>
<tr>
<td><input id="date" name="date" class="input" type="date" placeholder="YYYY-MM-DD" value="0"></td>
<td><input id="sell" name="sell" class="input" type="text" placeholder="卖出价" value="0"></td>
<td><input id="volume" name="volume" class="input" type="number" placeholder="Volume" value="0"></td>
<td><input id="net_sell" name="net_sell" class="input" type="text" placeholder="实际卖出" value="0"></td>
<td><input id="other_fee" name="other_fee" class="input" type="text" placeholder="额外手续费" value="0"></td>
</tr>
</tbody>
</table>
<div class="field is-grouped">
<div class="control">
<button class="button is-link">Submit</button>
</div>
</div>
</form>
</div>