forked from kevinowino869/mitrobill
fix panel headers in css, add cron job monitor to check if cron is running, has run, or not setup
This commit is contained in:
@ -194,6 +194,23 @@
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{if $run_date}
|
||||
{if $current_time - $run_time > 3600}
|
||||
<div class="panel panel-warning panel-hovered mb20 activities">
|
||||
<div class="panel-heading"><i class="fa fa-clock-o"></i> {Lang::T('Cron has not run for over 1 hour. Please
|
||||
check your setup.')}</div>
|
||||
</div>
|
||||
{else}
|
||||
<div class="panel panel-success panel-hovered mb20 activities">
|
||||
<div class="panel-heading">{Lang::T('Cron Job last ran on')}: {$run_date}</div>
|
||||
</div>
|
||||
{/if}
|
||||
{else}
|
||||
<div class="panel panel-danger panel-hovered mb20 activities">
|
||||
<div class="panel-heading"><i class="fa fa-warning"></i> {Lang::T('Cron appear not been setup, please check
|
||||
your cron setup.')}</div>
|
||||
</div>
|
||||
{/if}
|
||||
{if $_c['hide_pg'] != 'yes'}
|
||||
<div class="panel panel-success panel-hovered mb20 activities">
|
||||
<div class="panel-heading">{Lang::T('Payment Gateway')}: {str_replace(',',', ',$_c['payment_gateway'])}
|
||||
|
@ -148,12 +148,26 @@
|
||||
color: inherit;
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
border-bottom-right-radius: 21px;
|
||||
border-bottom-left-radius: 21px;
|
||||
}
|
||||
|
||||
.panel-primary>.panel-heading {
|
||||
color: inherit;
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
.panel-success>.panel-heading {
|
||||
border-bottom-right-radius: 21px;
|
||||
border-bottom-left-radius: 21px;
|
||||
}
|
||||
|
||||
.panel-warning>.panel-heading {
|
||||
border-bottom-right-radius: 21px;
|
||||
border-bottom-left-radius: 21px;
|
||||
}
|
||||
|
||||
.panel-danger>.panel-heading {
|
||||
color: #a94442;
|
||||
background-color: #f2dede;
|
||||
border-color: #ebccd1;
|
||||
border-bottom-right-radius: 21px;
|
||||
border-bottom-left-radius: 21px;
|
||||
}
|
||||
|
||||
.panel-heading {
|
||||
@ -656,6 +670,9 @@
|
||||
}
|
||||
|
||||
.toggle-container {
|
||||
position: absolute;
|
||||
top: 17px;
|
||||
right: 15px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@ -666,6 +683,11 @@
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
.toggle-container {
|
||||
top: 15px;
|
||||
right: 60px;
|
||||
}
|
||||
|
||||
.toggle-container .toggle-icon {
|
||||
font-size: 20px;
|
||||
color: rgb(100 116 139);
|
||||
|
Reference in New Issue
Block a user