Merge pull request #302 from Focuslinkstech/master
fix admin dark mode switch button
This commit is contained in:
commit
c0c54ce767
@ -154,6 +154,9 @@ class Message
|
|||||||
$mail->Body = $body;
|
$mail->Body = $body;
|
||||||
}
|
}
|
||||||
$mail->send();
|
$mail->send();
|
||||||
|
if (!$mail->send()) {
|
||||||
|
_log(Lang::T("Email not sent, Mailer Error: ") . $mail->ErrorInfo);
|
||||||
|
}
|
||||||
|
|
||||||
//<p style="font-family: Helvetica, sans-serif; font-size: 16px; font-weight: normal; margin: 0; margin-bottom: 16px;">
|
//<p style="font-family: Helvetica, sans-serif; font-size: 16px; font-weight: normal; margin: 0; margin-bottom: 16px;">
|
||||||
}
|
}
|
||||||
|
@ -198,7 +198,7 @@
|
|||||||
{assign var="current_time" value=$smarty.now}
|
{assign var="current_time" value=$smarty.now}
|
||||||
{assign var="run_time" value=strtotime($run_date)}
|
{assign var="run_time" value=strtotime($run_date)}
|
||||||
{if $current_time - $run_time > 3600}
|
{if $current_time - $run_time > 3600}
|
||||||
<div class="panel panel-warning panel-hovered mb20 activities">
|
<div class="panel panel-danger 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
|
<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>
|
check your setup.')}</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -157,11 +157,6 @@
|
|||||||
border-bottom-left-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 {
|
.panel-danger>.panel-heading {
|
||||||
color: #a94442;
|
color: #a94442;
|
||||||
background-color: #f2dede;
|
background-color: #f2dede;
|
||||||
@ -670,9 +665,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.toggle-container {
|
.toggle-container {
|
||||||
position: absolute;
|
|
||||||
top: 17px;
|
|
||||||
right: 15px;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -682,19 +674,6 @@
|
|||||||
transition: color 0.5s ease;
|
transition: color 0.5s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 600px) {
|
|
||||||
.toggle-container {
|
|
||||||
top: 15px;
|
|
||||||
right: 60px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.toggle-container .toggle-icon {
|
|
||||||
font-size: 20px;
|
|
||||||
color: rgb(100 116 139);
|
|
||||||
transition: color 0.5s ease;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.dark-mode .toggle-container .toggle-icon {
|
.dark-mode .toggle-container .toggle-icon {
|
||||||
color: #ffdd57;
|
color: #ffdd57;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user