🐛 (admin/dashboard): fix some missing icons
This commit is contained in:
parent
fca5977579
commit
64623418b0
1 changed files with 5 additions and 5 deletions
|
@ -15,7 +15,7 @@
|
||||||
$name = $user->firstName();
|
$name = $user->firstName();
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<span class="fa fa-hand-spock-o"></span><span><?php echo $L->g('welcome') ?></span>
|
<span class="fa fa-hand-spock"></span><span><?php echo $L->g('welcome') ?></span>
|
||||||
</h2>
|
</h2>
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
@ -23,13 +23,13 @@
|
||||||
var date = new Date()
|
var date = new Date()
|
||||||
var hours = date.getHours()
|
var hours = date.getHours()
|
||||||
if (hours >= 6 && hours < 12) {
|
if (hours >= 6 && hours < 12) {
|
||||||
$(this).html('<span class="fa fa-sun-o"></span><?php echo $L->g('good-morning') . ', ' . $name ?>');
|
$(this).html('<span class="fa fa-sun"></span><?php echo $L->g('good-morning') . ', ' . $name ?>');
|
||||||
} else if (hours >= 12 && hours < 18) {
|
} else if (hours >= 12 && hours < 18) {
|
||||||
$(this).html('<span class="fa fa-sun-o"></span><?php echo $L->g('good-afternoon') . ', ' . $name ?>');
|
$(this).html('<span class="fa fa-sun"></span><?php echo $L->g('good-afternoon') . ', ' . $name ?>');
|
||||||
} else if (hours >= 18 && hours < 22) {
|
} else if (hours >= 18 && hours < 22) {
|
||||||
$(this).html('<span class="fa fa-moon-o"></span><?php echo $L->g('good-evening') . ', ' . $name ?>');
|
$(this).html('<span class="fa fa-moon"></span><?php echo $L->g('good-evening') . ', ' . $name ?>');
|
||||||
} else {
|
} else {
|
||||||
$(this).html('<span class="fa fa-moon-o"></span><span><?php echo $L->g('good-night') . ', ' . $name ?></span>');
|
$(this).html('<span class="fa fa-moon"></span><span><?php echo $L->g('good-night') . ', ' . $name ?></span>');
|
||||||
}
|
}
|
||||||
}).fadeIn(1000);
|
}).fadeIn(1000);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue