-
Notifications
You must be signed in to change notification settings - Fork 33
/
setting.html
172 lines (155 loc) · 6.24 KB
/
setting.html
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
<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<title>现场监督登记系统</title>
<!-- Set render engine for 360 browser -->
<meta name="renderer" content="webkit">
<!-- No Baidu Siteapp-->
<meta http-equiv="Cache-Control" content="no-siteapp"/>
<link rel="icon" type="image/png" href="assets/i/favicon.png">
<!-- Add to homescreen for Chrome on Android -->
<meta name="mobile-web-app-capable" content="yes">
<link rel="icon" sizes="192x192" href="assets/i/[email protected]">
<!-- Add to homescreen for Safari on iOS -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Amaze UI"/>
<link rel="apple-touch-icon-precomposed" href="assets/i/[email protected]">
<!-- Tile icon for Win8 (144x144 + tile color) -->
<meta name="msapplication-TileImage" content="assets/i/[email protected]">
<meta name="msapplication-TileColor" content="#0e90d2">
<!-- SEO: If your mobile URL is different from the desktop URL, add a canonical link to the desktop page https://developers.google.com/webmasters/smartphone-sites/feature-phones -->
<!--
<link rel="canonical" href="http://www.example.com/">
-->
<link rel="stylesheet" href="assets/css/amazeui.min.css">
<link rel="stylesheet" href="assets/css/app.css">
<style>
.am-offcanvas-content{ padding: 15px 5px; color: white}
.am-form-group p{ margin: 0; font-size: 16px;line-height: 32px;}
.am-form-group p.am-u-sm-4{ padding-right: 0}
.am-form-group p.am-u-sm-8{ padding-left: 0;}
.letter-2{ letter-spacing: 23px;}
.letter-1{ letter-spacing: 7px;}
.fr{float: right;}
@media only screen and (min-width:641px) { #content{padding: 0 80px; }}
</style>
</head>
<body>
<!--[if lte IE 9]>
<p class="browsehappy">你正在使用<strong>过时</strong>的浏览器,Amaze UI 暂不支持。 请 <a
href="http://browsehappy.com/" target="_blank">升级浏览器</a>
以获得更好的体验!</p>
<![endif]-->
<!-- 页面内容 -->
<h3 style="margin: 1rem;text-align: center; ">系统设置</h3>
<div id="content">
<h6 style="margin: 1rem;">上传设置</h6>
<div class="am-form-group">
<p class="am-u-sm-4">上传地址</p>
<p class="am-u-sm-8"><input type="text" class="am-form-field" name="uploadAdress"/></p>
</div>
<div class="am-form-group">
<p class="am-u-sm-4 letter-1">端口号</p>
<p class="am-u-sm-8"><input type="number" class="am-form-field" name="port"/></p>
</div>
<div class="am-form-group">
<p class="am-u-sm-4 letter-1">用户名</p>
<p class="am-u-sm-8"><input type="text" class="am-form-field" name="username" maxlength="16"/></p>
</div>
<div class="am-form-group">
<p class="am-u-sm-4 letter-2">密码</p>
<p class="am-u-sm-8"><input type="password" class="am-form-field" name="password" maxlength="16"/></p>
</div>
<hr class="am-article-divider" style="margin: 2rem 1rem;">
<h6 style="margin: 1rem;">缺省输入</h6>
<div class="am-form-group">
<p class="am-u-sm-4">督察人员</p>
<p class="am-u-sm-8"><input type="text" class="am-form-field" name="duCha"/></p>
</div>
<div class="am-form-group">
<p class="am-u-sm-4">记录人员</p>
<p class="am-u-sm-8"><input type="text" class="am-form-field" name="jiLu"/></p>
</div>
<div class="am-form-group">
<p class="am-u-sm-4">专项督察</p>
<p class="am-u-sm-8"><input type="text" class="am-form-field" name="special"/></p>
</div>
<div class="am-form-group" style="padding: 0 1rem ;" data-am-modal="{target: '#my-alert'}">
<button type="submit" id="submit" class="am-btn am-btn-primary am-u-sm-4 fr">保 存</button>
</div>
</div>
<div class="am-modal am-modal-alert" tabindex="-1" id="my-alert">
<div class="am-modal-dialog">
<div class="am-modal-hd">系统设置</div>
<div class="am-modal-bd">
保存成功!
</div>
<div class="am-modal-footer">
<span class="am-modal-btn">确 定</span>
</div>
</div>
</div>
<!--菜单-->
<div data-am-widget="navbar" class="am-navbar am-cf am-navbar-default">
<ul class="am-navbar-nav am-cf am-avg-sm-4" style="background: #fff;border-top: 1px solid #ddd;">
<li >
<a href="index.html">
<span class="am-icon-th-list"></span>
<span class="am-navbar-label">督察列表</span>
</a>
</li>
<li>
<a href="addNew.html">
<span class="am-icon-plus-square"></span>
<span class="am-navbar-label">新建录入</span>
</a>
</li>
<li>
<a href="upload.html">
<span class="am-icon-wifi"></span>
<span class="am-navbar-label">数据上传</span>
</a>
</li>
<li>
<a href="setting.html" class="current">
<span class="am-icon-cog"></span>
<span class="am-navbar-label">系统设置</span>
</a>
</li>
</ul>
</div>
<!--[if lt IE 9]>
<script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="assets/js/amazeui.ie8polyfill.min.js"></script>
<![endif]-->
<!--[if (gte IE 9)|!(IE)]><!-->
<script src="assets/js/jquery.min.js"></script>
<!--<![endif]-->
<script src="assets/js/amazeui.min.js"></script>
<script>
$(function(){
var keys = [];
$("#submit").click(function(){
$('input,select,textarea').each(function(){
var name = $(this).attr('name');
var _val = $(this).val();
if($(this).hasClass('imgsInput')){
_val = $(this).siblings('img').attr('src')
}
if(name != undefined){
keys[name] = _val;
}
});
console.log(keys)
});
});
</script>
</body>
</html>