forked from mrlan/EnglishPal
将删除按钮移到第一行,避免因为文章的标题过长跨行导致删除按钮形状改变。
parent
9eb5210d3f
commit
d4ac709385
|
@ -66,10 +66,11 @@
|
|||
<div class="list-group">
|
||||
{% for text in text_list %}
|
||||
<div class="list-group-item list-group-item-action" aria-current="true">
|
||||
<div>
|
||||
<a type="button" href="/admin/article?delete_id={{text.article_id}}" class="btn btn-outline-danger btn-sm">删除</a>
|
||||
</div>
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
<h5 class="mb-1">{{ text.title }}</h5>
|
||||
<a type="button" href="/admin/article?delete_id={{text.article_id}}"
|
||||
class="btn btn-outline-danger btn-sm">删除</a>
|
||||
</div>
|
||||
<div><small>{{ text.source }}</small></div>
|
||||
<div class="d-flex w-100 justify-content-between">
|
||||
|
|
Loading…
Reference in New Issue