mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
improved html structure
This commit is contained in:
parent
021e9f8d70
commit
d2efdc212e
49 changed files with 98 additions and 193 deletions
|
@ -1,7 +1,7 @@
|
|||
|
||||
<table class="sub-menu" style="background: white;">
|
||||
<tr>
|
||||
<td style="padding: 12px 0 8px 6px">
|
||||
<td style="padding: 12px 0 0 6px">
|
||||
<div style="float:left">
|
||||
<?php
|
||||
if ($user == 'admin') {
|
||||
|
@ -12,16 +12,19 @@
|
|||
?>
|
||||
</div>
|
||||
<div style="text-align: right; float: right;">
|
||||
<input type="text" size="30" style="padding: 3px 80px 3px 0; margin: 0 2px 0 0;">
|
||||
<button> Search </button>
|
||||
<form action="/search/" method="get">
|
||||
<input type="text" size="30" style="padding: 3px 80px 3px 0; margin: 0 2px 0 0;" name="q">
|
||||
<input type="submit" name="search" value="Search" class="button" style="font-size: 12px;">
|
||||
</form>
|
||||
</div>
|
||||
<div style="float:left; padding-left: 26px;">
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("vstobjects");'> toggle all </a>
|
||||
<select style="margin:0 2px 0 0px;" >
|
||||
<form action="/bulk/user/" method="post" id="objects">
|
||||
<a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("objects");'> toggle all </a>
|
||||
<select style="margin:0 2px 0 0px;" name="action">
|
||||
<option>apply to selected</option>
|
||||
<option>update counters</option>
|
||||
</select>
|
||||
<button style="width:27px;"> › </button>
|
||||
<input type="submit" name="ok" value="›" class="button" style="width: 37px; font-size: 12px;">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -30,7 +33,7 @@
|
|||
</tr>
|
||||
</table>
|
||||
|
||||
<form id="vstobjects">
|
||||
<div id="vstobjects">
|
||||
<table class="data">
|
||||
<?php
|
||||
foreach ($data as $key => $value) {
|
||||
|
@ -69,7 +72,7 @@
|
|||
<tr class="data-row">
|
||||
<td class="data-dotted" style="padding: 0px 10px 0px 0px">
|
||||
<table class="data-col1">
|
||||
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="object"></td></tr>
|
||||
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="user[]" value="<?php echo $key ?>" ></td></tr>
|
||||
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo date("d M Y", strtotime($data[$key]['DATE']))?></a></td></tr>
|
||||
<tr><td class="data-<?php echo $status ?>"><b><?php echo $status ?></b></td></tr>
|
||||
</table>
|
||||
|
@ -195,8 +198,7 @@
|
|||
}
|
||||
?>
|
||||
</table>
|
||||
|
||||
<?php if ($i == 0) echo "<table class=\"data-null\"><tr><td></td></tr></table>"; ?>
|
||||
</form>
|
||||
|
||||
<table class="data-count">
|
||||
<tr>
|
||||
|
@ -212,6 +214,5 @@
|
|||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:70px\"><tr><td></td></tr></table>"; ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue