mirror of
https://github.com/pi-hole/web.git
synced 2025-12-20 02:38:28 +00:00
Fix notification animation
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
@@ -93,6 +93,10 @@ function showAlert(type, icon, title, message) {
|
||||
type: type,
|
||||
delay: 5000, // default value
|
||||
mouse_over: "pause",
|
||||
animate: {
|
||||
enter: "animate__animated animate__fadeInDown",
|
||||
exit: "animate__animated animate__fadeOutUp"
|
||||
}
|
||||
};
|
||||
switch (type) {
|
||||
case "info":
|
||||
|
||||
@@ -89,11 +89,11 @@ is_authenticated = mg.request_info.is_authenticated
|
||||
|
||||
<!-- Common styles -->
|
||||
<link rel="stylesheet" href="<?=pihole.fileversion('style/vendor/bootstrap/css/bootstrap.min.css')?>">
|
||||
<link rel="stylesheet" href="<?=pihole.fileversion('style/vendor/animate.min.css')?>">
|
||||
<?
|
||||
if startsWith(scriptname, 'groups') then
|
||||
-- Group management styles
|
||||
?>
|
||||
<link rel="stylesheet" href="<?=pihole.fileversion('style/vendor/animate.min.css')?>">
|
||||
<link rel="stylesheet" href="<?=pihole.fileversion('style/vendor/bootstrap-select.min.css')?>">
|
||||
<link rel="stylesheet" href="<?=pihole.fileversion('style/vendor/bootstrap-toggle.min.css')?>">
|
||||
<? end ?>
|
||||
|
||||
Reference in New Issue
Block a user