mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 04:50:47 -07:00
updated cron list layout
This commit is contained in:
parent
f182841fda
commit
d23b35c9d1
2 changed files with 41 additions and 72 deletions
|
@ -118,7 +118,7 @@
|
||||||
<?php echo $data[$key]['MONTH'] ?>
|
<?php echo $data[$key]['MONTH'] ?>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td style="vertical-align:top; width:80px">
|
<td style="vertical-align:top; width:180px">
|
||||||
<div class="cron-counter-name">
|
<div class="cron-counter-name">
|
||||||
<?php print __('Day of week');?>
|
<?php print __('Day of week');?>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -33,10 +33,8 @@
|
||||||
++$i;
|
++$i;
|
||||||
if ($data[$key]['SUSPENDED'] == 'yes') {
|
if ($data[$key]['SUSPENDED'] == 'yes') {
|
||||||
$status = 'suspended';
|
$status = 'suspended';
|
||||||
$spnd_action = 'unsuspend' ;
|
|
||||||
} else {
|
} else {
|
||||||
$status = 'active';
|
$status = 'active';
|
||||||
$spnd_action = 'suspend';
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
@ -67,81 +65,52 @@
|
||||||
</a>
|
</a>
|
||||||
<table class="data-col2" width="800px">
|
<table class="data-col2" width="800px">
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan=5 class="cron" style="padding: 0 0 0 4px;">
|
<td colspan=6 class="cron">
|
||||||
<b><?php echo htmlspecialchars($data[$key]['CMD'], ENT_NOQUOTES) ?></b>
|
<b><?php echo htmlspecialchars($data[$key]['CMD'], ENT_NOQUOTES) ?></b>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="vertical-align:top;" width="80px">
|
<td style="vertical-align:top; width:80px">
|
||||||
<table>
|
<div class="cron-counter-name">
|
||||||
<tr>
|
|
||||||
<td class="cron-counter-name">
|
|
||||||
<?php print __('Min');?>
|
<?php print __('Min');?>
|
||||||
</td>
|
</div>
|
||||||
</tr>
|
<div class="cron-counter-value">
|
||||||
<tr>
|
|
||||||
<td class="cron-counter-value">
|
|
||||||
<?php echo $data[$key]['MIN'] ?>
|
<?php echo $data[$key]['MIN'] ?>
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
<td style="vertical-align:top; width:80px">
|
||||||
</table>
|
<div class="cron-counter-name">
|
||||||
</td>
|
|
||||||
<td style="vertical-align:top;" width="80px">
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<td class="cron-counter-name">
|
|
||||||
<?php print __('Hour');?>
|
<?php print __('Hour');?>
|
||||||
</td>
|
</div>
|
||||||
</tr>
|
<div class="cron-counter-value">
|
||||||
<tr>
|
|
||||||
<td class="cron-counter-value">
|
|
||||||
<?php echo $data[$key]['HOUR'] ?>
|
<?php echo $data[$key]['HOUR'] ?>
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
<td style="vertical-align:top; width:80px">
|
||||||
</table>
|
<div class="cron-counter-name">
|
||||||
</td>
|
|
||||||
<td style="vertical-align:top;" width="80px">
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<td class="cron-counter-name">
|
|
||||||
<?php print __('Day');?>
|
<?php print __('Day');?>
|
||||||
</td>
|
</div>
|
||||||
</tr>
|
<div class="cron-counter-value">
|
||||||
<tr>
|
|
||||||
<td class="cron-counter-value">
|
|
||||||
<?php echo $data[$key]['DAY'] ?>
|
<?php echo $data[$key]['DAY'] ?>
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
<td style="vertical-align:top; width:80px">
|
||||||
</table>
|
<div class="cron-counter-name">
|
||||||
</td>
|
|
||||||
<td style="vertical-align:top;" width="80px">
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<td class="cron-counter-name">
|
|
||||||
<?php print __('Month');?>
|
<?php print __('Month');?>
|
||||||
</td>
|
</div>
|
||||||
</tr>
|
<div class="cron-counter-value">
|
||||||
<tr>
|
|
||||||
<td class="cron-counter-value">
|
|
||||||
<?php echo $data[$key]['MONTH'] ?>
|
<?php echo $data[$key]['MONTH'] ?>
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
<td style="vertical-align:top; width:180px">
|
||||||
</table>
|
<div class="cron-counter-name">
|
||||||
</td>
|
|
||||||
<td style="vertical-align:top;">
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<td class="cron-counter-name">
|
|
||||||
<?php print __('Day of week');?>
|
<?php print __('Day of week');?>
|
||||||
</td>
|
</div>
|
||||||
</tr>
|
<div class="cron-counter-value">
|
||||||
<tr>
|
|
||||||
<td class="cron-counter-value">
|
|
||||||
<?php echo $data[$key]['WDAY'] ?>
|
<?php echo $data[$key]['WDAY'] ?>
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
<td style="vertical-align:top;"></td>
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
|
@ -155,7 +124,7 @@
|
||||||
|
|
||||||
<table class="data-count">
|
<table class="data-count">
|
||||||
<tr>
|
<tr>
|
||||||
<td width="160px"></td>
|
<td width="168px"></td>
|
||||||
<td>
|
<td>
|
||||||
<?php
|
<?php
|
||||||
if ( $i == 1) {
|
if ( $i == 1) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue