Index.html
2.79 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
<%include '../../common/__ui/header'%>
<%include '../../common/__partail/ListHeader'%>
<div class="contentpanel">
<div style="margin-bottom: 20px">
<a class="btn btn-success" id="add"><i class="fa fa-plus"></i> 添加文章分类</a>
</div>
<div class="panel">
<div class="panel-body nopadding">
<div id="list" class="dataTables_wrapper no-footer"></div>
</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>-->
<option value="[[parentId||'0']]">[[parentName||'请选择一级分类']]</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" id="advertCodeCont">
<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="广告码" class="form-control">
</div>
</div>
<div class="form-group">
<label for="status" class="col-sm-2 control-label" style="margin-top: 10px">是否启用:</label>
<div class="col-sm-10 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" checked>关闭</label>
</div>
<input id="status" type="hidden" value="[[status]]" for="radio" kl_vkbd_parsed="true">
</div>
</script>
<!-- <div class="form-group">
<label for="advertCode" class="col-sm-2 control-label">是否BLK:</label>
<div class="col-sm-10">
<select class="form-control" id="appType" value="[[appType]]">
<option value="0">否</option>
<option value="1">是</option>
</select>
</div>
</div>-->