Index.html
2.65 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
<%include '../../common/__ui/header'%>
<%include '../../common/__partail/ListHeader'%>
<div class="contentpanel">
<div class="panel panel-default" style="margin-bottom:10px;">
<div class="panel-body" style="padding-bottom: 0">
<a id="add-btn" href="javascript:;" class="btn btn-success"><i class="fa fa-plus"></i> 添加Plus/star分类</a>
</div>
<div class="panel-body">
<div class="row">
<div class="panel-col">
<select id="g-status" class="form-control">
<option value="-1">选择状态</option>
<option value="0">关闭</option>
<option value="1">开启</option>
</select>
</div>
<div class="panel-col">
<a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a>
<a id="all-btn" href="" class="btn btn-info">全部</a>
</div>
</div>
</div>
</div>
<div class="panel panel-primary-head">
<div id="basicTable_wrapper" class="dataTables_wrapper no-footer">
<div class="dataTables_length" id="basicTable">
</div>
<nav>
<ul id="pagination" class="pagination pagination-lg"></ul>
</nav>
</div>
</div>
</div>
<script type="text/template" id="template">
<div class="form-group">
<label for="categoryName" class="col-sm-2 control-label">分类名称:</label>
<div class="col-sm-10">
<input type="text" name="" id="id" value="[[id]]" hidden="true"/>
<input type="text" name="" id="status" value="[[status]]" hidden="true"/>
<input type="text" value="[[categoryName]]" name="content" id="categoryName" placeholder="分类名称" required="required" class="form-control">
<p style="color:#ff0000">注:分类名称必填</p>
</div>
</div>
<div class="form-group">
<label for="contentCode" class="col-sm-2 control-label">资源位码(head):</label>
<div class="col-sm-10">
<input value="[[contentCode]]" name="contentCode" id="contentCode" placeholder="资源位码(head)" required="required" class="form-control">
</div>
</div>
<div class="form-group">
<label for="contentCodeFoot" class="col-sm-2 control-label">资源位码(foot):</label>
<div class="col-sm-10">
<input value="[[contentCodeFoot]]" name="contentCodeFoot" id="contentCodeFoot" placeholder="资源位码(foot)" required="required" class="form-control">
</div>
</div>
</script>