Compare commits
No commits in common. "38e390039553a267ada3100cafab4dba8ab32c63" and "fca597757997f212802832f37bdd39b600f01f59" have entirely different histories.
38e3900395
...
fca5977579
2 changed files with 5 additions and 26 deletions
21
CHANGELOG.md
21
CHANGELOG.md
|
@ -1,21 +0,0 @@
|
||||||
# Changelog
|
|
||||||
|
|
||||||
All notable changes to this project will be documented in this file.
|
|
||||||
|
|
||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
||||||
|
|
||||||
## [Unreleased]
|
|
||||||
|
|
||||||
First forked version from bludit
|
|
||||||
|
|
||||||
### Added
|
|
||||||
|
|
||||||
- Admin: Added a sidebar panel that show all sidebar widget to be activated/deactivated
|
|
||||||
|
|
||||||
### Changed
|
|
||||||
|
|
||||||
- Bootstrap: updated to bootstrap 5
|
|
||||||
- Icons: replaced linearicons by fontawesome
|
|
||||||
- Admin: reworked the theme
|
|
||||||
- Admin/content: The sidebar is now always visible
|
|
|
@ -15,7 +15,7 @@
|
||||||
$name = $user->firstName();
|
$name = $user->firstName();
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<span class="fa fa-hand-spock"></span><span><?php echo $L->g('welcome') ?></span>
|
<span class="fa fa-hand-spock-o"></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"></span><?php echo $L->g('good-morning') . ', ' . $name ?>');
|
$(this).html('<span class="fa fa-sun-o"></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"></span><?php echo $L->g('good-afternoon') . ', ' . $name ?>');
|
$(this).html('<span class="fa fa-sun-o"></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"></span><?php echo $L->g('good-evening') . ', ' . $name ?>');
|
$(this).html('<span class="fa fa-moon-o"></span><?php echo $L->g('good-evening') . ', ' . $name ?>');
|
||||||
} else {
|
} else {
|
||||||
$(this).html('<span class="fa fa-moon"></span><span><?php echo $L->g('good-night') . ', ' . $name ?></span>');
|
$(this).html('<span class="fa fa-moon-o"></span><span><?php echo $L->g('good-night') . ', ' . $name ?></span>');
|
||||||
}
|
}
|
||||||
}).fadeIn(1000);
|
}).fadeIn(1000);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue