index.html
2.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<include file="public@header"/>
</head>
<body>
<div class="wrap">
<ul class="nav nav-tabs">
<li class="active"><a href="javascript:;">报警处理</a></li>
</ul>
<form method="post" class="js-ajax-form margin-top-20">
<div class="table-actions">
<!--<button type="submit" class="btn btn-primary btn-sm js-ajax-submit">{:lang('SORT')}</button>-->
</div>
<table class="table table-hover table-bordered table-list">
<thead>
<tr>
<th width="50">ID</th>
<th>设备编号</th>
<th>设备区域</th>
<th>设备位置</th>
<th>所属地区</th>
<th>所属寺庙</th>
<th>设备状态</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<foreach name="list" item="vo">
<tr>
<td>{$vo.id}</td>
<td>{$vo.number}</td>
<td>{$vo.taname}</td>
<td>{$vo.row}行{$vo.column}列</td>
<td>{$vo.address}</td>
<td>{$vo.tname}</td>
<td>
<switch name="vo.status">
<case value="1">异常</case>
<case value="2">故障</case>
<case value="3">关机</case>
</switch>
</td>
<td>
<a class="js-ajax-delete" href="{:url('AdminWarning/delete',array('id'=>$vo['id']))}">
{:lang('DELETE')}
</a>
</td>
</tr>
</foreach>
</tbody>
<tfoot>
<tr>
<th width="50">ID</th>
<th>设备编号</th>
<th>设备区域</th>
<th>设备位置</th>
<th>所属地区</th>
<th>所属寺庙</th>
<th>设备状态</th>
<th>操作</th>
</tr>
</tfoot>
</table>
<div class="table-actions">
<!--<button type="submit" class="btn btn-primary btn-sm js-ajax-submit">{:lang('SORT')}</button>-->
</div>
</form>
<ul class="pagination">{$page|default=''}</ul>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>