47 lines
1.9 KiB
Plaintext
47 lines
1.9 KiB
Plaintext
|
|
<div id="grid">
|
||
|
|
<div class="grid_toolbar">
|
||
|
|
<table style="width:100%;">
|
||
|
|
<tr>
|
||
|
|
<td style="width:100%;">
|
||
|
|
<button type="button" id="btn1" ui-config="style:'button_submit'">添加
|
||
|
|
</button>
|
||
|
|
<button type="button" id="btn2" ui-config="style:'button_danger'">删除
|
||
|
|
</button>
|
||
|
|
</td>
|
||
|
|
<td>
|
||
|
|
<input id="searchbox" type="text">
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
</div>
|
||
|
|
<table class="grid_data">
|
||
|
|
<thead>
|
||
|
|
<tr>
|
||
|
|
<td style="width: 20px;"><input class="grid_selector" type="checkbox" id="cbAll"/></td>
|
||
|
|
<td style="width: 34px;">操作</td>
|
||
|
|
<td style="width: 28px;">序号</td>
|
||
|
|
<td style="width: 90px;" sortField="jsp.name">参数名称</td>
|
||
|
|
<td style="width: 90px;" sortField="jsp.keykey">键</td>
|
||
|
|
<td sortField="jsp.value">值</td>
|
||
|
|
<td>说明</td>
|
||
|
|
</tr>
|
||
|
|
</thead>
|
||
|
|
<tbody>
|
||
|
|
<tr class="row{{i%2}}">
|
||
|
|
<td><input class="grid_selector" type="checkbox" id="cb{{i}}"/></td>
|
||
|
|
<td>
|
||
|
|
<a class="icon icon_rowedit" title="编辑" href="javascript:void(0);"
|
||
|
|
onclick="editRow('{{value.id}}','{{value.name}}');"></a><a
|
||
|
|
class="icon icon_rowdelete" title="删除" href="javascript:void(0);"
|
||
|
|
onclick="deleteRow(['{{value.id}}']);"></a></td>
|
||
|
|
<td>{{i+1}}</td>
|
||
|
|
<td class="noWarp"><a title="查看" href="javascript:void(0);"
|
||
|
|
onclick="viewRow('{{value.id}}','{{value.name}}');">{{value.name}}</a></td>
|
||
|
|
<td class="noWarp">{{value.keykey}}</td>
|
||
|
|
<td class="noWarp">{{value.value}}</td>
|
||
|
|
<td class="noWarp">{{value.note}}</td>
|
||
|
|
</tr>
|
||
|
|
</tbody>
|
||
|
|
</table>
|
||
|
|
<div class="grid_pagination"></div>
|
||
|
|
</div>
|