前端界面添加修改界面显示

deploy
DESKTOP-4RNDQIC\29019 2021-03-11 23:10:37 +08:00
parent 172be1414f
commit d53a5a0069
2 changed files with 17 additions and 7 deletions

View File

@ -137,7 +137,12 @@
</div> </div>
<div class="col-lg-7" style="padding: 0px;" id="docshow" > <div class="col-lg-7" style="padding: 0px;" id="docshow" >
<div class="panel panel-default" id="doc_id_{{ doc.id }}" style="letter-spacing: 0.5px;"> <div class="panel panel-default" id="doc_id_{{ doc.id }}" style="letter-spacing: 0.5px;">
<div class="panel-heading" style=" background: #1d5987;color: white">{{ doc.title }}</div> <div class="panel-heading" style=" background: #1d5987;color: white">
{{ doc.title }}
<div style="float: right; margin-right: 10px;">
修改时间: {{ doc.update_time }}
</div>
</div>
<div class="panel-body" style=""> <div class="panel-body" style="">
{{ doc.content | raw }} {{ doc.content | raw }}
</div> </div>

View File

@ -49,7 +49,12 @@
<div class="col-lg-8" style="padding: 0px;" id="docshow" > <div class="col-lg-8" style="padding: 0px;" id="docshow" >
{% for doc in docs %} {% for doc in docs %}
<div class="panel panel-default" id="doc_id_{{ doc.id }}" style="letter-spacing: 0.4px;"> <div class="panel panel-default" id="doc_id_{{ doc.id }}" style="letter-spacing: 0.4px;">
<div class="panel-heading" style="font-size: 20px ; background: #1d5987;color: white">{{ doc.title }}</div> <div class="panel-heading" style="font-size: 20px ; background: #1d5987;color: white">
{{ doc.title }}
<div style="float: right; margin-right: 30px;">
上次修改时间: {{ doc.update_time }}
</div>
</div>
<div class="panel-body" style="letter-spacing: 0.5px"> <div class="panel-body" style="letter-spacing: 0.5px">
{{ doc.content | raw }} {{ doc.content | raw }}
</div> </div>