UI: Page table bug fixed

This commit is contained in:
Messerbill 2015-06-07 17:21:32 +02:00
parent ab389c62ba
commit 85026b3f6c
5 changed files with 37 additions and 52 deletions

View File

@ -1,34 +1,17 @@
<div id="page_deletedialog"> <div id="page_deletedialog" class="sai_margin_top_20">
<h5>Page: ${id} - ${name} - ${group} - ${state}</h5> <h4>Page: ${id}</h4>
<hr> <hr>
<table class="table table-hover table-condensed" style="overflow: auto;"> <label>id:</label> ${id}<br>
<tr> <label>name:</label> ${name}<br>
<th>id</th> <label>group:</label> ${group}<br>
<th>name</th> <label>state:</label> ${state}<br>
<th>group</th> <label>parent_id:</label> ${parent_id}<br>
<th>state</th> <label>login:</label> ${login}<br>
<th>parent_id</th> <label>type:</label> ${type}<br>
<th>login</th> <label>div:</label> ${div}<br>
<th>type</th> <label>url:</label> ${url}<br>
<th>div</th> <label>func:</label> ${func}<br>
<th>url</th> <label>php_class:</label> ${php_class}<hr>
<th>func</th>
<th>php_class</th>
</tr>
<tr>
<td>${id}</td>
<td>${name}</td>
<td>${group}</td>
<td>${state}</td>
<td>${parent_id}</td>
<td>${login}</td>
<td>${type}</td>
<td>${div}</td>
<td>${url}</td>
<td>${func}</td>
<td>${php_class}</td>
</tr>
</table>
</div> </div>
<button type="button" class="btn btn-small btn-danger" id="del_page_del" page_id="${ID}" page_group="${group}">Delete</button> <button type="button" class="btn btn-small btn-danger" id="del_page_del" page_id="${ID}" page_group="${group}">Delete</button>
<button type="button" class="btn btn-small" onClick="system.load('page;group.${group}');">Close</button> <button type="button" class="btn btn-small" onClick="system.load('page;group.${group}');">Close</button>

View File

@ -3,11 +3,11 @@
<td>${name}</td> <td>${name}</td>
<td>${group}</td> <td>${group}</td>
<td>${state}</td> <td>${state}</td>
<td>${parent_id}</td>
<td>${login}</td>
<td>${type}</td>
<td>${div}</td> <td>${div}</td>
<td>${url}</td> <td>${url}</td>
<!--td>${parent_id}</td>
<td>${login}</td>
<td>${type}</td>
<td>${func}</td> <td>${func}</td>
<td>${php_class}</td> <td>${php_class}</td-->
</tr> </tr>

View File

@ -44,5 +44,5 @@
<td><input type="text" id="new_page_php_class" placeholder="php class" style="width: 140px;"></td> <td><input type="text" id="new_page_php_class" placeholder="php class" style="width: 140px;"></td>
</tr> </tr>
</table> </table>
<button type="button" class="btn-small" onClick="system.load('page');">Back</button> <button type="button" class="btn-sm btn btn-default" onClick="system.load('page');"><span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> Back</button>
<button type="button" class="btn-small btn-success" id="addpage" style="float: right;">Add</button> <button type="button" class="btn-sm btn btn-success" id="addpage" style="float: right;"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span> Add</button>

View File

@ -1,16 +1,18 @@
<table class="table table-hover table-condensed" style="overflow: auto;"> <table class="col-sm-12 table table-hover table-striped table-condensed" style="overflow: auto;">
<thead class="cf">
<tr> <tr>
<th>id</th> <th>id</th>
<th>name</th> <th>name</th>
<th>group</th> <th>group</th>
<th>state</th> <th>state</th>
<th>parent_id</th>
<th>login</th>
<th>type</th>
<th>div</th> <th>div</th>
<th>url</th> <th>url</th>
<!--th>parent_id</th>
<th>login</th>
<th>type</th>
<th>func</th> <th>func</th>
<th>php_class</th> <th>php_class</th-->
</tr> </tr>
</thead>
${content} ${content}
</table> </table>