siezChart.html
2.7 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
<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" data-toggle="modal" id="addSize">添加尺码</a>
</div>
</div>
<table class="table table-striped table-bordered responsive dataTable no-footer">
<thead>
<tr>
<th>编号</th>
<th>尺码名</th>
<th>操作</th>
</tr>
</thead>
<tbody>
{{#data.list}}
<tr>
<td>{{id}}</td>
<td>{{sizeName}}</td>
<td><a class="btn btn-info getsize" data-id="{{id}}" data-toggle="modal" href='#modal-id'>操作</a></td>
</tr>
{{/data.list}}
</tbody>
</table>
</div>
{{#data}}
<div style="display: none;" id="totalPages">{{totalPage}}</div>
<div style="display: none;" id="number">{{page}}</div>
<nav ><ul class="pagination" id="pagewrapper"></ul></nav>
{{/data}}
</div>
<div class="modal fade" id="modal-id">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">添加尺码</h4>
</div>
<div class="modal-body">
<div class="form-group">
<label for="input" class="col-sm-2 control-label">尺码名:</label>
<div class="col-sm-10" id="siezNameBox"></div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary add">保存</button>
</div>
</div>
</div>
</div>
<script id="pagenation-template" type="text/x-handlebars-template">
\{\{#page\}\}
\{\{/page\}\}
</script>