add.html
2.3 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
<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
<ul class="nav nav-tabs">
<li><a href="{:url('index')}">系统消息列表</a></li>
<li class="active"><a href="{:url('add')}">添加系统消息</a></li>
</ul>
<div class="row margin-top-20">
<div class="col-md-6">
<form class="js-ajax-form" action="{:url('addPost')}" method="post">
<div class="tab-content">
<div class="tab-pane active" id="A">
<div class="form-group">
<label for="title"><span class="form-required">*</span>消息标题</label>
<div>
<input type="text" class="form-control" placeholder="请输入标题" id="title" name="title" maxlength="30" required>
</div>
</div>
<div class="form-group">
<label for="title"><span class="form-required">*</span>消息内容</label>
<div>
<textarea class="form-control" name="content" required
placeholder="请输入内容(最多252字)" maxlength="252"></textarea>
</div>
</div>
<div class="form-group">
<label><span class="form-required">*</span>是否发布</label>
<div>
<select class="form-control" name="is_sta">
<option value="1">发布</option>
<option value="2">不发布</option>
</select>
</div>
</div>
</div>
</div>
<div class="form-group">
<button type="submit" class="btn btn-primary js-ajax-submit">{:lang('ADD')}</button>
<a class="btn btn-default" href="{:url('index')}">{:lang('BACK')}</a>
</div>
</form>
</div>
</div>
</div>
<script type="text/javascript" src="__STATIC__/js/admin.js"></script>
</body>
</html>