list.html
6.1 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>巡检路线</title>
<script src="/inspection/js/jquery.js"></script>
<link href="/inspection/css/font-awesome.css" rel="stylesheet">
<link href="/inspection/css/bootstrap.css" rel="stylesheet">
<link href="/inspection/css/style-responsive.css" rel="stylesheet">
<link href="/inspection/css/default-theme.css" rel="stylesheet">
<link href="/inspection/css/style.css" rel="stylesheet">
<link href="/inspection/css/bootstrap-reset.css" rel="stylesheet">
<!-- 新增table样式 -->
<link rel="stylesheet" href="/inspection/css/xj-style.css">
<link rel="stylesheet" type="text/css" href="/inspection/css/xj_css.css"/>
<script src="https://cdn.staticfile.org/twitter-bootstrap/5.1.1/js/bootstrap.bundle.min.js"></script>
<!-- <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script> -->
<!-- <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script> -->
</head>
<body class="sticky-header">
<!-- 头部 -->
<div id="head">{include file="common/_header"}</div>
<!-- 头部 -->
<section>
<!-- 导航 -->
<div class="sidebar-left">{include file="common/_leftnav"}</div>
<!-- 导航 -->
<div class="body-content">
<div class="page-head clearfix">
<ol class="breadcrumb pull-left">
<li><a href=""><i class="fa fa-align-left"></i>巡检路线</a></li>
</ol>
<div class="pull-right breadcrumbtn gg-i">
<button class="btn bt" style="outline: none;"><i class="fa fa-refresh"></i>刷新</button>
</div>
</div>
<div class="wrapper">
<section class="panel">
<header class="panel-heading head-border topbox">
<div class="getint">
<a href="" class="btn fsrw" data-toggle="modal" data-target="#mymodal-data">添加</a>
</div>
<div class="searchs" >
<form action="" method="">
<input type="search" name="" required="" placeholder="请输入巡检路线" lang="zh-CN">
<a href="#" class="btn btn-default pt-cx">查询</a>
</form>
</div>
</header>
<div class="panel-body">
<div class="listall yjgl xjlx-width">
<ul>
<li class="header">
<span>路线名称</span>
<span>创建时间</span>
<span>操作</span>
</li>
{volist name='list' id='item'}
<li class="lb">
<span>{$item.route_name}</span>
<span>{$item.createtime|date='Y-m-d H:i',###}</span>
<span class="editor edit">
<a href="" data-toggle="modal" data-target="#lx-edit">编辑</a>
<a href="" >删除</a>
</span>
</li>
{/volist}
</ul>
</div>
</div>
<div class="page clearfix font">
<div class="pull-left num">共 {$list->total()} 条</div>
{$list->render()}
<nav aria-label="..." class="pull-left" style="display:none;">
<ul class="pagination" >
<li class="disabled"><a href="#" aria-label="Previous"><span
aria-hidden="true">«</span></a></li>
<li class="active"><a href="#">1 </a></li>
<li><a href="#">2</a></li>
<li><a href="#">3</a></li>
<li><a href="#">4</a></li>
<li><a href="#">5</a></li>
<li><a href="#" aria-label="Next"><span aria-hidden="true">»</span></a></li>
</ul>
</nav>
<!--<a href="" class="tz">跳至-->
<!-- <a href="#" class="btn btn-default tzy">3</a>页-->
<!--</a>-->
</div>
</section>
<!-- 底部 -->
<div class="bq">
<h4>云南腾亿融媒互联网有限公司</h4>
</div>
</div>
</div>
</section>
<!-- 模态框 -->
<div class="modal right fade" id="mymodal-data" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title jh-title">添加巡检路线</h4>
</div>
<div class="modal-body jh-content b-">
<ul>
<li>
<span><b>*</b>巡检路线名称:</span>
<input type="text" class="form-control" placeholder="请输入名称"/>
</li>
<li>
<span><b>*</b>巡检点:</span>
<input type="text" class="form-control" placeholder="请输入巡检点"/>
</li>
</ul>
</div>
<div class="modal-footer rw-db">
<button type="button" class="btn rw-tj" style="outline: none; data-bs-dismiss="modal">提交</button>
<a href="#" class="btn" data-dismiss="modal">关闭</a>
</div>
</div>
</div>
</div>
<!-- 编辑 -->
<div class="modal right fade" id="lx-edit" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title jh-title">编辑</h4>
</div>
<div class="modal-body jh-content b-">
<ul>
<li>
<span><b>*</b>巡检路线名称:</span>
<input type="text" class="form-control" placeholder="请输入名称"/>
</li>
<li>
<span><b>*</b>巡检点:</span>
<input type="text" class="form-control" placeholder="请输入巡检点"/>
</li>
</ul>
</div>
<div class="modal-footer rw-db">
<button type="button" class="btn rw-tj" style="outline: none; data-bs-dismiss="modal">提交</button>
<a href="#" class="btn" data-dismiss="modal">关闭</a>
</div>
</div>
</div>
</div>
<style type="text/css">
.box{
background-color: #fff;
height: 100%;
width: 600px;
position: absolute;
right: 0;
border-radius: 8px;
}
</style>
<script type="text/javascript">
$(function(){
$(".btn").click(function(){
$("#mymodal").modal("toggle");
});
});
</script>
<script src="/inspection/js/bootstrap.js"></script>
<script src="/inspection/js/echarts.min.js"></script>
<script src="/inspection/js/scripts.js"></script>
<script src="/inspection/laydate/laydate.js"></script>
</body>
</html>