forked from mrlan/EnglishPal
fix: use select to choose article level
parent
ec6a2249ae
commit
13ccbaf25c
|
@ -45,7 +45,7 @@
|
||||||
<h5 style="margin-top: 10px;padding-left: 10px;">重置选中用户密码</h5>
|
<h5 style="margin-top: 10px;padding-left: 10px;">重置选中用户密码</h5>
|
||||||
<form action="" method="post" class="container mb-3">
|
<form action="" method="post" class="container mb-3">
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label for="exampleInputEmail1" class="form-label">用户</label>
|
<label class="form-label">用户</label>
|
||||||
<select id="username" name="username" class="form-select" aria-label="Default select example">
|
<select id="username" name="username" class="form-select" aria-label="Default select example">
|
||||||
<option selected>选择用户</option>
|
<option selected>选择用户</option>
|
||||||
{% for user in user_list %}
|
{% for user in user_list %}
|
||||||
|
@ -67,13 +67,19 @@
|
||||||
<h5 style="margin-top: 10px;padding-left: 10px;">录入文章</h5>
|
<h5 style="margin-top: 10px;padding-left: 10px;">录入文章</h5>
|
||||||
<form action="" method="post" class="container mb-3">
|
<form action="" method="post" class="container mb-3">
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label for="exampleInputEmail1" class="form-label">文章内容</label>
|
<label class="form-label">文章内容</label>
|
||||||
<textarea id="content" name="content" class="form-control" placeholder="请输入文章内容"></textarea>
|
<textarea id="content" name="content" class="form-control" placeholder="请输入文章内容"></textarea>
|
||||||
<label for="exampleInputEmail1" class="form-label">文章来源</label>
|
<label class="form-label">文章来源</label>
|
||||||
<textarea id="source" name="source" class="form-control" placeholder="请输入来源"></textarea>
|
<textarea id="source" name="source" class="form-control" placeholder="请输入来源"></textarea>
|
||||||
<label for="exampleInputEmail1" class="form-label">文章等级</label>
|
<label class="form-label">文章等级</label>
|
||||||
<textarea id="level" name="level" class="form-control" placeholder="请输入等级"></textarea>
|
<select id="level" class="form-select" name="level">
|
||||||
<label for="exampleInputEmail1" class="form-label">文章问题</label>
|
<option value="1">1</option>
|
||||||
|
<option value="2">2</option>
|
||||||
|
<option value="3">3</option>
|
||||||
|
<option value="4">4</option>
|
||||||
|
<option selected value="5">5</option>
|
||||||
|
</select>
|
||||||
|
<label class="form-label">文章问题</label>
|
||||||
<textarea id="question" name="question" class="form-control" placeholder="请输入问题"></textarea>
|
<textarea id="question" name="question" class="form-control" placeholder="请输入问题"></textarea>
|
||||||
</div>
|
</div>
|
||||||
<input type="submit" value="保存" class="btn btn-outline-primary">
|
<input type="submit" value="保存" class="btn btn-outline-primary">
|
||||||
|
|
Loading…
Reference in New Issue