|
|
1
|
+<style>
|
|
|
2
|
+ .seo-tdk-page ul {
|
|
|
3
|
+ padding: 0;
|
|
|
4
|
+ }
|
|
|
5
|
+
|
|
|
6
|
+ .seo-tdk-page li {
|
|
|
7
|
+ list-style: none;
|
|
|
8
|
+ }
|
|
|
9
|
+
|
|
|
10
|
+ .seo-tdk-page .query-form {
|
|
|
11
|
+ font-size: 0;
|
|
|
12
|
+ }
|
|
|
13
|
+
|
|
|
14
|
+ .seo-tdk-page .query-form .btn-group {
|
|
|
15
|
+ margin-bottom: 0;
|
|
|
16
|
+ }
|
|
|
17
|
+
|
|
|
18
|
+ .seo-tdk-page .query-form .dropdown-toggle {
|
|
|
19
|
+ border-top-right-radius: 0;
|
|
|
20
|
+ border-bottom-right-radius: 0;
|
|
|
21
|
+ }
|
|
|
22
|
+
|
|
|
23
|
+ .seo-tdk-page .query-form .submit-btn {
|
|
|
24
|
+ height: 39px;
|
|
|
25
|
+ border-top-left-radius: 0;
|
|
|
26
|
+ border-bottom-left-radius: 0;
|
|
|
27
|
+ }
|
|
|
28
|
+
|
|
|
29
|
+ .seo-tdk-page .query-key {
|
|
|
30
|
+ width: 220px;
|
|
|
31
|
+ height: 39px;
|
|
|
32
|
+ font-size: 14px;
|
|
|
33
|
+ vertical-align: middle;
|
|
|
34
|
+ outline: none;
|
|
|
35
|
+ }
|
|
|
36
|
+
|
|
|
37
|
+ .seo-tdk-page .text-limit {
|
|
|
38
|
+ max-width: 78px;
|
|
|
39
|
+ display: inline-block;
|
|
|
40
|
+ vertical-align: top;
|
|
|
41
|
+ overflow: hidden;
|
|
|
42
|
+ text-overflow: ellipsis;
|
|
|
43
|
+ white-space: nowrap;
|
|
|
44
|
+ }
|
|
|
45
|
+
|
|
|
46
|
+ .seo-tdk-page .pagination {
|
|
|
47
|
+ margin: 0;
|
|
|
48
|
+ }
|
|
|
49
|
+
|
|
|
50
|
+ .seo-tdk-page #pop{
|
|
|
51
|
+ width:500px;
|
|
|
52
|
+ height: 434px;
|
|
|
53
|
+ background: #fff;
|
|
|
54
|
+ left: 0;
|
|
|
55
|
+ right: 0;
|
|
|
56
|
+ top: 0;
|
|
|
57
|
+ bottom: 0;
|
|
|
58
|
+ margin:auto;
|
|
|
59
|
+ }
|
|
|
60
|
+
|
|
|
61
|
+ .seo-tdk-page #pop .control-label {
|
|
|
62
|
+ width: 60px;
|
|
|
63
|
+ text-align: right;
|
|
|
64
|
+ }
|
|
|
65
|
+
|
|
|
66
|
+ .seo-tdk-page #pop li {
|
|
|
67
|
+ padding: 6px 0;
|
|
|
68
|
+ }
|
|
|
69
|
+
|
|
|
70
|
+ .seo-tdk-page #pop select,
|
|
|
71
|
+ .seo-tdk-page #pop input {
|
|
|
72
|
+ height: 30px;
|
|
|
73
|
+ width: 200px;
|
|
|
74
|
+ }
|
|
|
75
|
+
|
|
|
76
|
+ .seo-tdk-page #pop textarea {
|
|
|
77
|
+ height: 70px;
|
|
|
78
|
+ vertical-align: text-top;
|
|
|
79
|
+ border-color: #ccc;
|
|
|
80
|
+ resize: none;
|
|
|
81
|
+ }
|
|
|
82
|
+
|
|
|
83
|
+ .seo-tdk-page #pop .full-w {
|
|
|
84
|
+ width: 390px;
|
|
|
85
|
+ }
|
|
|
86
|
+
|
|
|
87
|
+ .seo-tdk-page #pop .controls {
|
|
|
88
|
+ display: inline-block;
|
|
|
89
|
+ }
|
|
|
90
|
+</style>
|
|
|
91
|
+
|
1
|
<div class="pageheader">
|
92
|
<div class="pageheader">
|
2
|
<div class="media">
|
93
|
<div class="media">
|
3
|
<div class="pageicon pull-left">
|
94
|
<div class="pageicon pull-left">
|
|
@@ -6,8 +97,8 @@ |
|
@@ -6,8 +97,8 @@ |
6
|
<div class="media-body">
|
97
|
<div class="media-body">
|
7
|
<ul class="breadcrumb">
|
98
|
<ul class="breadcrumb">
|
8
|
<li><a href=""><i class="glyphicon glyphicon-home"></i></a></li>
|
99
|
<li><a href=""><i class="glyphicon glyphicon-home"></i></a></li>
|
9
|
- <li><a href="">Hotfix</a></li>
|
|
|
10
|
- <li>{{type}}</li>
|
100
|
+ <li><a href="/seo/tdk">{{title}}</a></li>
|
|
|
101
|
+ <li>{{typeName}}</li>
|
11
|
</ul>
|
102
|
</ul>
|
12
|
<h4>{{title}}</h4>
|
103
|
<h4>{{title}}</h4>
|
13
|
</div>
|
104
|
</div>
|
|
@@ -16,42 +107,125 @@ |
|
@@ -16,42 +107,125 @@ |
16
|
</div>
|
107
|
</div>
|
17
|
<!-- pageheader -->
|
108
|
<!-- pageheader -->
|
18
|
|
109
|
|
19
|
-<div class="contentpanel">
|
|
|
20
|
- <div class="panel panel-primary-head">
|
|
|
21
|
- <div class="panel-heading">
|
|
|
22
|
- <div class="pull-right">
|
|
|
23
|
- <a id="new-page" href="/hotfix/new/{{type}}" class="btn btn-success btn-rounded"><i class="glyphicon glyphicon-plus"></i> 新增Hotfix</a>
|
110
|
+<div class="contentpanel seo-tdk-page" style="padding-bottom:0;">
|
|
|
111
|
+ <div class="panel panel-default">
|
|
|
112
|
+ <div class="panel-body">
|
|
|
113
|
+ <label style="margin-right:20px;"><input type="checkbox" style="margin-right:5px;">全选</label>
|
|
|
114
|
+ <a data-toggle="modal" href="#pop" class="btn btn-default" style="margin-right:10px;">增加</a>
|
|
|
115
|
+ <button class="btn btn-default" type="submit">删除</button>
|
|
|
116
|
+
|
|
|
117
|
+ <div class="input-append query-form pull-right">
|
|
|
118
|
+ <div class="btn-group">
|
|
|
119
|
+ <button class="btn dropdown-toggle" data-toggle="dropdown" data-type="{{type}}">
|
|
|
120
|
+ {{typeName}}
|
|
|
121
|
+ <span class="caret"></span>
|
|
|
122
|
+ </button>
|
|
|
123
|
+ <ul class="dropdown-menu">
|
|
|
124
|
+ {{# typeList}}
|
|
|
125
|
+ <li><a href="?type={{type}}">{{name}}</a></li>
|
|
|
126
|
+ {{/ typeList}}
|
|
|
127
|
+ </ul>
|
|
|
128
|
+ </div>
|
|
|
129
|
+ <input class="span2 query-key" type="text">
|
|
|
130
|
+ <button class="btn submit-btn" type="button">搜索</button>
|
24
|
</div>
|
131
|
</div>
|
25
|
- <h4 class="panel-title">{{type}} hotfix</h4>
|
|
|
26
|
- <p> </p>
|
|
|
27
|
</div>
|
132
|
</div>
|
28
|
- <!-- panel-heading -->
|
|
|
29
|
-
|
|
|
30
|
- <table id="table-hotfixs" class="table table-striped table-bordered responsive">
|
|
|
31
|
- <thead class="">
|
|
|
32
|
- <tr>
|
|
|
33
|
- <th>ID</th>
|
|
|
34
|
- <th>类型</th>
|
|
|
35
|
- <th>标题</th>
|
|
|
36
|
- <th>关键词</th>
|
|
|
37
|
- <th>描述</th>
|
|
|
38
|
- <th>操作</th>
|
|
|
39
|
- </tr>
|
|
|
40
|
- </thead>
|
|
|
41
|
-
|
|
|
42
|
- <tbody>
|
|
|
43
|
- {{#each hotfixs}}
|
|
|
44
|
- <tr>
|
|
|
45
|
- <td>{{id}}</td>
|
|
|
46
|
- <td>{{type}}</td>
|
|
|
47
|
- <td>{{title}}</td>
|
|
|
48
|
- <td>{{keywords}}</td>
|
|
|
49
|
- <td>{{description}}</td>
|
|
|
50
|
- <td>{{operate}}</td>
|
|
|
51
|
- </tr>
|
|
|
52
|
- {{/each}}
|
|
|
53
|
- </tbody>
|
|
|
54
|
- </table>
|
|
|
55
|
</div>
|
133
|
</div>
|
56
|
- <!-- panel -->
|
|
|
57
|
-</div> |
|
|
|
|
134
|
+
|
|
|
135
|
+ <div class="panel panel-default">
|
|
|
136
|
+ <div class="panel-body">
|
|
|
137
|
+ <table id="table-tdk" class="table table-striped table-bordered responsive">
|
|
|
138
|
+ <thead>
|
|
|
139
|
+ <tr>
|
|
|
140
|
+ <th class="text-center" width="60">ID</th>
|
|
|
141
|
+ <th class="text-center" width="160">类型</th>
|
|
|
142
|
+ <th class="text-center">标题</th>
|
|
|
143
|
+ <th class="text-center">关键词</th>
|
|
|
144
|
+ <th class="text-center">描述</th>
|
|
|
145
|
+ <th class="text-center" width="120">操作</th>
|
|
|
146
|
+ </tr>
|
|
|
147
|
+ </thead>
|
|
|
148
|
+
|
|
|
149
|
+ <tbody>
|
|
|
150
|
+ {{#each tdkList}}
|
|
|
151
|
+ <tr data-type="{{../type}}" data-key="{{key}}" data-title="{{title}}" data-keywords="{{keywords}}" data-description="{{description}}">
|
|
|
152
|
+ <td class="text-center"><input type="checkbox" style="margin-right:5px;">{{id}}</td>
|
|
|
153
|
+ <td class="text-center" title="{{typeName}}({{typeLt}}:{{key}})">{{typeName}}({{typeLt}}:<span class="text-limit">{{key}}</span>)</td>
|
|
|
154
|
+ <td>{{title}}</td>
|
|
|
155
|
+ <td>{{keywords}}</td>
|
|
|
156
|
+ <td>{{description}}</td>
|
|
|
157
|
+ <td class="text-center">
|
|
|
158
|
+ <span>编辑</span>
|
|
|
159
|
+ <span>删除</span>
|
|
|
160
|
+ </td>
|
|
|
161
|
+ </tr>
|
|
|
162
|
+ {{/each}}
|
|
|
163
|
+ </tbody>
|
|
|
164
|
+ </table>
|
|
|
165
|
+ {{# pager}}
|
|
|
166
|
+ <div class="text-right">
|
|
|
167
|
+ <ul class="pagination">
|
|
|
168
|
+ {{# prePage}}
|
|
|
169
|
+ <li><a href="{{url}}">上一页</a></li>
|
|
|
170
|
+ {{/ prePage}}
|
|
|
171
|
+ {{# pages}}
|
|
|
172
|
+ <li class="{{#unless url}}disabled {{/unless}}{{#if cur}}active{{/if}}"><a {{#if url}}href="{{url}}"{{^}}href="javascript:;"{{/if}}>{{num}}</a></li>
|
|
|
173
|
+ {{/ pages}}
|
|
|
174
|
+ {{# nextPage}}
|
|
|
175
|
+ <li><a href="{{url}}">下一页</a></li>
|
|
|
176
|
+ {{/ nextPage}}
|
|
|
177
|
+ </ul>
|
|
|
178
|
+ </div>
|
|
|
179
|
+ {{/ pager}}
|
|
|
180
|
+ </div>
|
|
|
181
|
+ </div>
|
|
|
182
|
+
|
|
|
183
|
+ <div id="pop" class="modal fade in" style="display: none;">
|
|
|
184
|
+ <div class="modal-header">
|
|
|
185
|
+ <a class="close" data-dismiss="modal">×</a>
|
|
|
186
|
+ <h4>添加TDK</h4>
|
|
|
187
|
+ </div>
|
|
|
188
|
+ <div class="modal-body">
|
|
|
189
|
+ <ul>
|
|
|
190
|
+ <li>
|
|
|
191
|
+ <label class="control-label" for="select-type">类型:</label>
|
|
|
192
|
+ <div class="controls">
|
|
|
193
|
+ <select id="select-type">
|
|
|
194
|
+ {{# typeList}}
|
|
|
195
|
+ <option value="{{type}}">{{name}}</option>
|
|
|
196
|
+ {{/ typeList}}
|
|
|
197
|
+ </select>
|
|
|
198
|
+ </div>
|
|
|
199
|
+ </li>
|
|
|
200
|
+ <li>
|
|
|
201
|
+ <label class="control-label" for="input-key">SKN:</label>
|
|
|
202
|
+ <div class="controls">
|
|
|
203
|
+ <input type="text" id="input-key">
|
|
|
204
|
+ </div>
|
|
|
205
|
+ </li>
|
|
|
206
|
+ <li>
|
|
|
207
|
+ <label class="control-label" for="input-title">标题:</label>
|
|
|
208
|
+ <div class="controls">
|
|
|
209
|
+ <input type="text" id="input-title" class="full-w">
|
|
|
210
|
+ </div>
|
|
|
211
|
+ </li>
|
|
|
212
|
+ <li>
|
|
|
213
|
+ <label class="control-label" for="input-keywords">关键词:</label>
|
|
|
214
|
+ <div class="controls">
|
|
|
215
|
+ <input type="text" id="input-keywords" class="full-w">
|
|
|
216
|
+ </div>
|
|
|
217
|
+ </li>
|
|
|
218
|
+ <li>
|
|
|
219
|
+ <label class="control-label" for="input-description">描述:</label>
|
|
|
220
|
+ <div class="controls">
|
|
|
221
|
+ <textarea id="input-description" class="full-w"></textarea>
|
|
|
222
|
+ </div>
|
|
|
223
|
+ </li>
|
|
|
224
|
+ </ul>
|
|
|
225
|
+ </div>
|
|
|
226
|
+ <div class="modal-footer">
|
|
|
227
|
+ <a class="btn">关闭</a>
|
|
|
228
|
+ <a class="btn btn-primary">确定</a>
|
|
|
229
|
+ </div>
|
|
|
230
|
+ </div>
|
|
|
231
|
+</div> |