|
|
<style>
|
|
|
.seo-tdk-page ul {
|
|
|
padding: 0;
|
|
|
}
|
|
|
|
|
|
.seo-tdk-page li {
|
|
|
list-style: none;
|
|
|
}
|
|
|
|
|
|
.seo-tdk-page .query-form {
|
|
|
font-size: 0;
|
|
|
}
|
|
|
|
|
|
.seo-tdk-page .query-form .btn-group {
|
|
|
margin-bottom: 0;
|
|
|
}
|
|
|
|
|
|
.seo-tdk-page .query-form .dropdown-toggle {
|
|
|
border-top-right-radius: 0;
|
|
|
border-bottom-right-radius: 0;
|
|
|
}
|
|
|
|
|
|
.seo-tdk-page .query-form .submit-btn {
|
|
|
height: 39px;
|
|
|
border-top-left-radius: 0;
|
|
|
border-bottom-left-radius: 0;
|
|
|
}
|
|
|
|
|
|
.seo-tdk-page .query-key {
|
|
|
width: 220px;
|
|
|
height: 39px;
|
|
|
font-size: 14px;
|
|
|
vertical-align: middle;
|
|
|
outline: none;
|
|
|
}
|
|
|
|
|
|
.seo-tdk-page .text-limit {
|
|
|
max-width: 78px;
|
|
|
display: inline-block;
|
|
|
vertical-align: top;
|
|
|
overflow: hidden;
|
|
|
text-overflow: ellipsis;
|
|
|
white-space: nowrap;
|
|
|
}
|
|
|
|
|
|
.seo-tdk-page .pagination {
|
|
|
margin: 0;
|
|
|
}
|
|
|
|
|
|
.seo-tdk-page #pop{
|
|
|
width:500px;
|
|
|
height: 434px;
|
|
|
background: #fff;
|
|
|
left: 0;
|
|
|
right: 0;
|
|
|
top: 0;
|
|
|
bottom: 0;
|
|
|
margin:auto;
|
|
|
}
|
|
|
|
|
|
.seo-tdk-page #pop .control-label {
|
|
|
width: 60px;
|
|
|
text-align: right;
|
|
|
}
|
|
|
|
|
|
.seo-tdk-page #pop li {
|
|
|
padding: 6px 0;
|
|
|
}
|
|
|
|
|
|
.seo-tdk-page #pop select,
|
|
|
.seo-tdk-page #pop input {
|
|
|
height: 30px;
|
|
|
width: 200px;
|
|
|
}
|
|
|
|
|
|
.seo-tdk-page #pop textarea {
|
|
|
height: 70px;
|
|
|
vertical-align: text-top;
|
|
|
border-color: #ccc;
|
|
|
resize: none;
|
|
|
}
|
|
|
|
|
|
.seo-tdk-page #pop .full-w {
|
|
|
width: 390px;
|
|
|
}
|
|
|
|
|
|
.seo-tdk-page #pop .controls {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
</style>
|
|
|
|
|
|
<div class="pageheader">
|
|
|
<div class="media">
|
|
|
<div class="pageicon pull-left">
|
...
|
...
|
@@ -6,8 +97,8 @@ |
|
|
<div class="media-body">
|
|
|
<ul class="breadcrumb">
|
|
|
<li><a href=""><i class="glyphicon glyphicon-home"></i></a></li>
|
|
|
<li><a href="">Hotfix</a></li>
|
|
|
<li>{{type}}</li>
|
|
|
<li><a href="/seo/tdk">{{title}}</a></li>
|
|
|
<li>{{typeName}}</li>
|
|
|
</ul>
|
|
|
<h4>{{title}}</h4>
|
|
|
</div>
|
...
|
...
|
@@ -16,42 +107,125 @@ |
|
|
</div>
|
|
|
<!-- pageheader -->
|
|
|
|
|
|
<div class="contentpanel">
|
|
|
<div class="panel panel-primary-head">
|
|
|
<div class="panel-heading">
|
|
|
<div class="pull-right">
|
|
|
<a id="new-page" href="/hotfix/new/{{type}}" class="btn btn-success btn-rounded"><i class="glyphicon glyphicon-plus"></i> 新增Hotfix</a>
|
|
|
<div class="contentpanel seo-tdk-page" style="padding-bottom:0;">
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-body">
|
|
|
<label style="margin-right:20px;"><input type="checkbox" style="margin-right:5px;">全选</label>
|
|
|
<a data-toggle="modal" href="#pop" class="btn btn-default" style="margin-right:10px;">增加</a>
|
|
|
<button class="btn btn-default" type="submit">删除</button>
|
|
|
|
|
|
<div class="input-append query-form pull-right">
|
|
|
<div class="btn-group">
|
|
|
<button class="btn dropdown-toggle" data-toggle="dropdown" data-type="{{type}}">
|
|
|
{{typeName}}
|
|
|
<span class="caret"></span>
|
|
|
</button>
|
|
|
<ul class="dropdown-menu">
|
|
|
{{# typeList}}
|
|
|
<li><a href="?type={{type}}">{{name}}</a></li>
|
|
|
{{/ typeList}}
|
|
|
</ul>
|
|
|
</div>
|
|
|
<input class="span2 query-key" type="text">
|
|
|
<button class="btn submit-btn" type="button">搜索</button>
|
|
|
</div>
|
|
|
<h4 class="panel-title">{{type}} hotfix</h4>
|
|
|
<p> </p>
|
|
|
</div>
|
|
|
<!-- panel-heading -->
|
|
|
|
|
|
<table id="table-hotfixs" class="table table-striped table-bordered responsive">
|
|
|
<thead class="">
|
|
|
<tr>
|
|
|
<th>ID</th>
|
|
|
<th>类型</th>
|
|
|
<th>标题</th>
|
|
|
<th>关键词</th>
|
|
|
<th>描述</th>
|
|
|
<th>操作</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
|
|
|
<tbody>
|
|
|
{{#each hotfixs}}
|
|
|
<tr>
|
|
|
<td>{{id}}</td>
|
|
|
<td>{{type}}</td>
|
|
|
<td>{{title}}</td>
|
|
|
<td>{{keywords}}</td>
|
|
|
<td>{{description}}</td>
|
|
|
<td>{{operate}}</td>
|
|
|
</tr>
|
|
|
{{/each}}
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</div>
|
|
|
<!-- panel -->
|
|
|
</div> |
|
|
\ No newline at end of file |
|
|
|
|
|
<div class="panel panel-default">
|
|
|
<div class="panel-body">
|
|
|
<table id="table-tdk" class="table table-striped table-bordered responsive">
|
|
|
<thead>
|
|
|
<tr>
|
|
|
<th class="text-center" width="60">ID</th>
|
|
|
<th class="text-center" width="160">类型</th>
|
|
|
<th class="text-center">标题</th>
|
|
|
<th class="text-center">关键词</th>
|
|
|
<th class="text-center">描述</th>
|
|
|
<th class="text-center" width="120">操作</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
|
|
|
<tbody>
|
|
|
{{#each tdkList}}
|
|
|
<tr data-type="{{../type}}" data-key="{{key}}" data-title="{{title}}" data-keywords="{{keywords}}" data-description="{{description}}">
|
|
|
<td class="text-center"><input type="checkbox" style="margin-right:5px;">{{id}}</td>
|
|
|
<td class="text-center" title="{{typeName}}({{typeLt}}:{{key}})">{{typeName}}({{typeLt}}:<span class="text-limit">{{key}}</span>)</td>
|
|
|
<td>{{title}}</td>
|
|
|
<td>{{keywords}}</td>
|
|
|
<td>{{description}}</td>
|
|
|
<td class="text-center">
|
|
|
<span>编辑</span>
|
|
|
<span>删除</span>
|
|
|
</td>
|
|
|
</tr>
|
|
|
{{/each}}
|
|
|
</tbody>
|
|
|
</table>
|
|
|
{{# pager}}
|
|
|
<div class="text-right">
|
|
|
<ul class="pagination">
|
|
|
{{# prePage}}
|
|
|
<li><a href="{{url}}">上一页</a></li>
|
|
|
{{/ prePage}}
|
|
|
{{# pages}}
|
|
|
<li class="{{#unless url}}disabled {{/unless}}{{#if cur}}active{{/if}}"><a {{#if url}}href="{{url}}"{{^}}href="javascript:;"{{/if}}>{{num}}</a></li>
|
|
|
{{/ pages}}
|
|
|
{{# nextPage}}
|
|
|
<li><a href="{{url}}">下一页</a></li>
|
|
|
{{/ nextPage}}
|
|
|
</ul>
|
|
|
</div>
|
|
|
{{/ pager}}
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div id="pop" class="modal fade in" style="display: none;">
|
|
|
<div class="modal-header">
|
|
|
<a class="close" data-dismiss="modal">×</a>
|
|
|
<h4>添加TDK</h4>
|
|
|
</div>
|
|
|
<div class="modal-body">
|
|
|
<ul>
|
|
|
<li>
|
|
|
<label class="control-label" for="select-type">类型:</label>
|
|
|
<div class="controls">
|
|
|
<select id="select-type">
|
|
|
{{# typeList}}
|
|
|
<option value="{{type}}">{{name}}</option>
|
|
|
{{/ typeList}}
|
|
|
</select>
|
|
|
</div>
|
|
|
</li>
|
|
|
<li>
|
|
|
<label class="control-label" for="input-key">SKN:</label>
|
|
|
<div class="controls">
|
|
|
<input type="text" id="input-key">
|
|
|
</div>
|
|
|
</li>
|
|
|
<li>
|
|
|
<label class="control-label" for="input-title">标题:</label>
|
|
|
<div class="controls">
|
|
|
<input type="text" id="input-title" class="full-w">
|
|
|
</div>
|
|
|
</li>
|
|
|
<li>
|
|
|
<label class="control-label" for="input-keywords">关键词:</label>
|
|
|
<div class="controls">
|
|
|
<input type="text" id="input-keywords" class="full-w">
|
|
|
</div>
|
|
|
</li>
|
|
|
<li>
|
|
|
<label class="control-label" for="input-description">描述:</label>
|
|
|
<div class="controls">
|
|
|
<textarea id="input-description" class="full-w"></textarea>
|
|
|
</div>
|
|
|
</li>
|
|
|
</ul>
|
|
|
</div>
|
|
|
<div class="modal-footer">
|
|
|
<a class="btn">关闭</a>
|
|
|
<a class="btn btn-primary">确定</a>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div> |
...
|
...
|
|