github.com/insionng/yougam@v0.0.0-20170714101924-2bc18d833463/themes/wind/templates/root/issue_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'> 15 </head> 16 <body> 17 {% include "header.html" %} 18 {% include "sidebar.html" %} 19 <div id="content"> 20 <div id="content-header"> 21 <div id="breadcrumb"> 22 <a href="#" title="控制面板" class="tip-bottom"> 23 <i class="icon-home"></i> 24 控制面板 25 </a> 26 <a href="#" class="current">举报列表</a> 27 </div> 28 <h1>举报列表</h1> 29 </div> 30 <div class="container-fluid"> 31 <hr> 32 <div class="row-fluid"> 33 <div class="span12"> 34 <div class="widget-box"> 35 <div class="widget-title"> 36 <span class="icon"> 37 <i class="icon-th"></i> 38 </span> 39 <h5>数据表格</h5> 40 </div> 41 <div class="widget-content nopadding"> 42 <table class="table table-bordered data-table"> 43 <thead> 44 <tr> 45 <th>标题</th> 46 <th>内容</th> 47 <th>举报人</th> 48 <th>日期</th> 49 </tr> 50 </thead> 51 <tbody> 52 {% if issues %} 53 {% for issue in issues %} 54 <tr class="gradeX"> 55 <td><a href="/root/read/issue/{{issue.Id}}/">{{issue.Title}}</a></td> 56 <td><a href="/root/read/issue/{{issue.Id}}/"> 57 {% if issue.Content %} 58 {{CropwordByPongo2(issue.Content, 0, 30, "...")}} 59 {% endif %}</a></td> 60 <td>{% if issue.Username=="" %}默认{% else %}{{issue.Username}}{% endif %}</td> 61 <td class="center">{%if issue.Created%}{{Unix2Time(issue.Created,"2006.01.02 15:04")}}{%endif%}</td> 62 </tr> 63 {% endfor %} 64 {% else %} 65 <tr class="gradeC"> 66 <td>尚无标题</td> 67 <td> 68 尚无内容 69 </td> 70 <td>尚无举报</td> 71 <td class="center">尚无日期</td> 72 </tr> 73 {% endif %} 74 </tbody> 75 </table> 76 </div> 77 </div> 78 </div> 79 </div> 80 </div> 81 </div> 82 {% include "footer.html" %} 83 <script src="/root/js/jquery.min.js"></script> 84 <script src="/root/js/jquery.ui.custom.js"></script> 85 <script src="/root/js/bootstrap.min.js"></script> 86 <script src="/root/js/jquery.uniform.js"></script> 87 <script src="/root/js/select2.min.js"></script> 88 <script src="/root/js/jquery.dataTables.min.js"></script> 89 <script src="/root/js/matrix.js"></script> 90 <script src="/root/js/matrix.tables.js"></script> 91 </body> 92 </html>