Index.html
2.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
<%include '../../common/__ui/header'%>
<%include '../../common/__partail/ListHeader'%>
<div class="contentpanel">
<div style="margin-bottom: 20px">
<a class="btn btn-success " id="addAppVersion"><i class="fa fa-plus"></i> 添加APP版本</a>
</div>
<div class="panel">
<div class="panel-body nopadding">
<div id="appVersionList"></div>
</div>
</div>
</div>
<script type="text/template" id="template">
<div class="row" id="base-form">
<div class="form-group">
<label class="col-sm-2 control-label">版本号</label>
<div class="col-sm-8">
<input type="text" id="version" value="[[version]]" class="form-control">
<input type="hidden" id="id" value="[[id]]" class="form-control">
</div>
</div><!-- form-group -->
<div class="form-group">
<label class="col-sm-2 control-label">提醒内容</label>
<div class="col-sm-8">
<textarea id="content" name="content" class="form-control">[[content]]</textarea>
</div>
</div><!-- form-group -->
<div class="form-group">
<label class="col-sm-2 control-label">链接</label>
<div class="col-sm-8">
<input type="text" id="url" class="form-control" value="[[url]]" required="required">
</div>
</div><!-- form-group -->
<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="clientType" value="iphone">IOS手机</label>
<label style="cursor: pointer;"><input type="checkbox" name="clientType" value="ipad">IOS Pad</label>
<label style="cursor: pointer;"><input type="checkbox" name="clientType" value="android">安卓手机</label>
<label style="cursor: pointer;"><input type="checkbox" name="clientType"
value="androidpad">安卓Pad</label>
</div>
<input type="hidden" id="clientType" value="[[clientType]]" for="checkbox"/>
</div><!-- form-group -->
</div>
</script>