github.com/insionng/yougam@v0.0.0-20170714101924-2bc18d833463/themes/wind/templates/root/reply_table.html (about) 1 <!DOCTYPE html> 2 <html lang="zh-CN"> 3 <head> 4 <title>{{SiteName}}管理系统</title> 5 <meta charset="UTF-8" /> 6 <meta name="viewport" content="width=device-width, initial-scale=1.0" /> 7 <link rel="stylesheet" href="/root/css/bootstrap.min.css" /> 8 <link rel="stylesheet" href="/root/css/bootstrap-responsive.min.css" /> 9 <link rel="stylesheet" href="/root/css/uniform.css" /> 10 <link rel="stylesheet" href="/root/css/select2.css" /> 11 <link rel="stylesheet" href="/root/css/matrix-style.css" /> 12 <link rel="stylesheet" href="/root/css/matrix-media.css" /> 13 <link href="/root/font-awesome/css/font-awesome.css" rel="stylesheet"/> 14 <link href='/root/css/opensans.css' rel='stylesheet' type='text/css'></head> 15 <body> 16 {% include "header.html" %} 17 {% include "sidebar.html" %} 18 <div id="content"> 19 <div id="content-header"> 20 <div id="breadcrumb"> 21 <a href="#" title="控制面板" class="tip-bottom"> 22 <i class="icon-home"></i> 23 控制面板 24 </a> 25 <a href="#" class="current">评论列表</a> 26 </div> 27 <h1>评论列表</h1> 28 </div> 29 <div class="container-fluid"> 30 <hr> 31 <div class="row-fluid"> 32 <div class="span12"> 33 34 <form action="" method="POST" id="iform"> 35 <div class="widget-box"> 36 <div class="widget-title"> 37 <span class="icon"> 38 <input type="checkbox"/> 39 </span> 40 <h5>数据表格</h5> 41 <button class="label btn btn-danger btn-mini" id="delrows">批量删除</button> 42 <input type="hidden" id="delrowids" name="delrowids" /> 43 </div> 44 {% include "msgerr.html" %} 45 <div class="widget-content nopadding"> 46 <table class="table table-bordered data-table"> 47 <thead> 48 <tr> 49 <th><i class="icon-remove"></i></th> 50 <th>#</th> 51 <th>评论内容</th> 52 <th>作者</th> 53 <th>日期</th> 54 <th>操作</th> 55 </tr> 56 </thead> 57 <tbody> 58 {% if replys %} 59 {% for rp in replys %} 60 <tr class="gradeX"> 61 <td> 62 <input data="{{rp.Id}}" type="checkbox" /> 63 </td> 64 <td>{{rp.Id}}</td> 65 <td><a href="/root/read/reply/{{rp.Id}}/"> 66 {% if rp.Content %}{{ rp.Content|safe}}{% endif %}</a></td> 67 <td>{% if rp.Author=="" %}游客{% else %}{{rp.Author}}{% endif %}</td> 68 <td class="center">{%if rp.Created%}{{Unix2Time( rp.Created,"2006.01.02 15:04")}}{%endif%}</td> 69 <td><a href="/root/delete/reply/{{rp.Id}}/">删除</a> | <a href="/root/update/reply/{{rp.Id}}/">更新</a></td> 70 </tr> 71 {% endfor %} 72 {% else %} 73 <tr class="gradeC"> 74 <td> 75 <input type="checkbox" /> 76 </td> 77 <td>0 78 </td> 79 <td> 80 尚无内容 81 </td> 82 <td>尚无作者</td> 83 <td class="center">尚无日期</td> 84 <td>操作</td> 85 </tr> 86 {% endif %} 87 </tbody> 88 </table> 89 </div> 90 </div> 91 </form> 92 93 </div> 94 </div> 95 </div> 96 </div> 97 {% include "footer.html" %} 98 <script src="/root/js/jquery.min.js"></script> 99 <script src="/root/js/jquery.ui.custom.js"></script> 100 <script src="/root/js/bootstrap.min.js"></script> 101 <script src="/root/js/jquery.uniform.js"></script> 102 <script src="/root/js/select2.min.js"></script> 103 <script src="/root/js/jquery.dataTables.min.js"></script> 104 <script src="/root/js/matrix.js"></script> 105 <script src="/root/js/matrix.tables.js"></script> 106 </body> 107 </html>