articleCategoryManager.html
2.78 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
<div class="pageheader">
<div class="media">
<div class="pageicon pull-left">
<i class="fa fa-th-list"></i>
</div>
<div class="media-body">
<ul class="breadcrumb">
<li><a href=""><i class="glyphicon glyphicon-home"></i></a></li>
<li><a href="">文章分类管理</a></li>
<li>文章分类管理</li>
</ul>
<div>
<div style="width: 30%;float: left;">
<h4>文章分类管理</h4>
</div>
</div>
</div>
</div>
</div>
<div class="contentpanel">
<div class="panel panel-default" style="margin-bottom:10px;">
<div class="panel-body">
<div class="row">
<a class="btn btn-info" id="add">添加</a>
</div>
</div>
<div id="list">
</div>
</div>
</div>
<script type="text/template" id="template">
<div class="form-group" id="maxsord">
<label for="parentId" class="col-sm-2 control-label">一级分类名:</label>
<div class="col-sm-10">
<input type="hidden" name="" value="[[id]]" id="id" class="form-control" pattern="" title="">
<select id="parentId" value="[[parentId]]" class="form-control">
<option value="0">请选择分类</option>
</select>
</div>
</div>
<div class="form-group">
<label for="name" class="col-sm-2 control-label">分类名:</label>
<div class="col-sm-10">
<input type="text" value="[[name]]" name="content" id="name" placeholder="分类名" required="required" class="form-control">
</div>
</div>
<div class="form-group">
<label for="orderBy" class="col-sm-2 control-label">排序:</label>
<div class="col-sm-10">
<input type="number" value="[[orderBy||0]]" name="content" id="orderBy" placeholder="排序" required="required" class="form-control">
</div>
</div>
<div class="form-group">
<label for="advertCode" class="col-sm-2 control-label">广告码:</label>
<div class="col-sm-10">
<input type="text" value="[[advertCode]]" name="content" id="advertCode" placeholder="广告码" required="required" class="form-control">
</div>
</div>
<div class="form-group">
<label for="status" class="col-sm-2 control-label">是否启用:</label>
<div class="radio">
<label><input type="radio" value="1" name="status" kl_vkbd_parsed="true">开启</label>
<label><input type="radio" value="0" name="status" kl_vkbd_parsed="true">关闭</label>
</div>
<input id="status" type="hidden" value="[[status]]" for="radio" required="required" kl_vkbd_parsed="true">
</div>
</script>