This repository has been archived by the owner on Oct 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
m_kale_add.html
200 lines (175 loc) · 7.04 KB
/
m_kale_add.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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>列表内容</title>
<link rel="stylesheet" href="css/base.css">
<link rel="stylesheet" href="css/common.css">
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/bootstrap-datetimepicker.css">
<link rel="stylesheet" href="css/validationEngine.css">
</head>
<body>
<div class="header">
<div class="header_r">
<p>卡乐后台</p>
</div>
</div>
<div class="content pt50">
<form action="m_kale_add_save.php" method="post">
<table class="table table-bordered">
<thead>
<tr>
<th colspan='2' class="text-title">添加信息</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-r">用户名</td>
<td>
<input type="text" name="user_name" id="user_name" value="" class="validate[required,minSize[6],maxSize[20]]">
</td>
</tr>
<tr>
<td class="text-r">密码</td>
<td>
<input type="text" name="pass_word" id="pass_word" value="" class="validate[required,minSize[6]]">
</td>
</tr>
<tr>
<td class="text-r">COM</td>
<td>
<input type="text" name="com" id="com" value="" class="validate[required,minSize[4],maxSize[6]]">
</td>
</tr>
<tr>
<td class="text-r">使用时间</td>
<td>
<input type="text" name="use_time" id="use_time" value="">
</td>
</tr>
<tr>
<td class="text-r">备份数据</td>
<td>
<input type="text" name="back_data" id="back_data" value="">
</td>
</tr>
<tr>
<td class="text-r"> </td>
<td>
<input type="submit" name="button" id="button" value="添加" class="btn btn-primary">
<input type="button" value="取消" class="btn">
</td>
</tr>
</tbody>
</table>
</form>
<form class="form-horizontal list_detailInfo" action="m_kale_add_save.php" method="post">
<fieldset class="pb10">
<legend class="title">添加信息</legend>
<div class="control-group">
<label class="control-label" for="input01">用户名</label>
<div class="controls">
<input type="text" name="user_name" id="user_name" value="">
<p class="help-block">字母,数字,汉字皆可</p>
</div>
</div>
<div class="control-group">
<label class="control-label" for="input01">密码</label>
<div class="controls">
<input type="text" name="pass_word" id="pass_word" value="">
<p class="help-block">最少6位</p>
</div>
</div>
<div class="control-group">
<label class="control-label" for="input01">COM</label>
<div class="controls">
<input type="text" name="com" id="com" value="">
<p class="help-block">4-6纯数字</p>
</div>
</div>
<div class="control-group">
<label class="control-label" for="input01">使用时间</label>
<div class="controls">
<input type="text" name="use_time" id="use_time" value="">
<p class="help-block">提示文字</p>
</div>
</div>
<div class="control-group">
<label class="control-label" for="input01">备份数据</label>
<div class="controls">
<input type="text" name="back_data" id="back_data" value="">
<p class="help-block">提示文字</p>
</div>
</div>
<div class="control-group">
<label class="control-label" for="input01"></label>
<div class="controls">
<input type="submit" name="button" id="button" value="添加" class="btn btn-primary">
<input type="button" value="取消" class="btn">
</div>
</div>
</fieldset>
</form>
</div>
<div class="adminListBg"></div>
<p id="back-to-top">
<a alt="返回顶部" title="返回顶部">
<span></span>
</a>
</p>
<script src="http://libs.baidu.com/jquery/1.10.2/jquery.min.js"></script>
<!-- <script src="js/jquery-1.9.1.min.js"></script>-->
<script src="js/base.js"></script>
<script src="js/common.js"></script>
<script src="js/bootstrap/bootstrap-datetimepicker.js"></script>
<script src="js/bootstrap/bootstrap-alert.js"></script>
<script src="js/validation/validationEngine.js"></script>
<script type="text/javascript">
//初始化 统一入口
function init() {
//返回顶部
toTop();
//表单验证
jQuery(".table").validationEngine('attach');
//日历调用
$('#use_time').datetimepicker({
//设置语言
language: 'zh-CN',
//设置日期格式
format: 'yyyy-mm-dd',
//起始日期
startDate: '2014-01-01',
//结束日期
endDate: '2020-12-31',
//选中后关闭
autoclose: true,
//首先是月视图
startView: 2,
//最小月视图
minView: 2,
//可以选择年月
todayBtn: 1,
todayHighlight: 1,
//绑定键盘快捷键
keyboardNavigation: true,
forceParse: 0,
showMeridian: 1
});
}
init();
</script>
<!--[if lt IE 9]>
<script type="text/javascript" src="js/PIE/PIE.js"></script>
<script type="text/javascript">
$(function() {
if (window.PIE) {
$('.rounded').each(function() {
PIE.attach(this);
});
}
});
</script>
<![endif]-->
</body>
</html>