- 评论管理页:创建 comments.css,controller 传递 ExtraCSS/ExtraJS,模板移除所有 inline style,JS 改用 CSS 类 - 修复 comments.js 加载顺序:通过 ExtraJS 在 common.js 之后加载,解决 api is not defined - base.html:SVG inline style 移至 common.css - dashboard/index.html:3 处 inline style 替换为 CSS 类 - audit/index.html:modal 移除冗余 style="display:none" - fund_logs/logs:label inline style 移至 energy.css - common.css 新增多个 CSS 规则 - energy.css 新增 .filter-bar label 规则
32 lines
1.0 KiB
HTML
32 lines
1.0 KiB
HTML
{{template "admin/layout/base.html" .}}
|
|
<div class="page-header">
|
|
<h1>域能日志</h1>
|
|
<p class="page-desc">查看所有用户的域能流水记录</p>
|
|
</div>
|
|
|
|
<div class="filter-bar">
|
|
<label for="log-type-filter">类型筛选:</label>
|
|
<select id="log-type-filter">
|
|
<option value="">全部类型</option>
|
|
{{range $type, $name := .LogTypes}}<option value="{{$type}}">{{$name}}</option>{{end}}
|
|
</select>
|
|
</div>
|
|
|
|
<table class="log-table">
|
|
<thead>
|
|
<tr>
|
|
<th>ID</th>
|
|
<th>时间</th>
|
|
<th>用户UID</th>
|
|
<th>变动</th>
|
|
<th>类型</th>
|
|
<th>说明</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="energy-log-tbody">
|
|
</tbody>
|
|
</table>
|
|
|
|
<div id="energy-log-pagination" class="pagination"></div>
|
|
{{template "admin/layout/footer.html" .}}
|