helpContent.html
4.23 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<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="panel panel-default" style="margin-bottom:10px;">
<div class="panel-heading">
<a class="btn btn-success " id="add-content"><i class="fa fa-plus"></i> 添加内容</a>
</div>
<div class="panel-body">
<div class="row">
<div class="panel-col">
<select value="{categoryId}" name="categoryId" id="help-categoryId" tabindex="-1" title="" class="select2-offscreen brandBtn-group">
<option value="-1">选择分类</option>
</select>
</div>
<div class="panel-col">
<select name="platform" id="help-platform" tabindex="-1" title="" class="select2-offscreen brandBtn-group">
<option value="" selected="">选择显示平台</option>
<option value="iphone">IOS手机</option>
<option value="ipad">IOS Pad</option>
<option value="android">安卓手机</option>
<option value="androidpad">安卓Pad</option>
<option value="h5">手机网站</option>
<option value="web">网站</option>
<option value="platform">平台</option>
</select>
</div>
<a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a>
<a id="filter-all" href="/operations/helpcontent/index1" class="btn btn-info">全部</a>
</div>
</div>
<div id="content-list"></div>
</div>
<script type="text/template" id="template">
<div class="rows" id="baseform">
<div class="form-group">
<label class="col-sm-2 control-label" for="title">标题</label>
<input type="hidden" value="{id}" id="id" />
<div class="col-sm-10">
<input type="text" value="{title}" class="form-control" id="title" required="required" />
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label" for="helpContent">帮助内容</label>
<div class="col-sm-10">
<input type="text" value="{content}" class="form-control" id="content" required="required" />
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label" for="categoryId">分类</label>
<div class="col-sm-10">
<select id="categoryId" style="width: 280px;" value="{categoryId}">
<option value="-1">请选择分类</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">显示平台</label>
<div class="col-sm-8">
<label style="cursor: pointer;"><input type="checkbox" name="platform" value="iphone">IOS手机</label>
<label style="cursor: pointer;"><input type="checkbox" name="platform" value="ipad">IOS Pad</label>
<label style="cursor: pointer;"><input type="checkbox" name="platform" value="android">安卓手机</label>
<label style="cursor: pointer;"><input type="checkbox" name="platform" value="androidpad">安卓Pad</label>
<label style="cursor: pointer;"><input type="checkbox" name="platform" value="h5">手机网站</label>
<label style="cursor: pointer;"><input type="checkbox" name="platform" value="web">网站</label>
<label style="cursor: pointer;"><input type="checkbox" name="platform" value="platform">平台</label>
</div>
<input type="hidden" id="platform" value="{platform}" for="checkbox">
</div>
</div>
</script>