mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* PHP-Flasher for toast messages Allows customized template removes dependency on unmaintained package using dev stability no solution for javascript toasts yet Use DI in places it makes sense allow html in flashes Use "template.librenms" as a default notification style merge toast containers toastr needs to be second because it will find the containr made by flasher, but the inverse is not true upgrade php-flasher to add custom options and persistent notifications Add dark theme * update composer.lock
22 lines
445 B
PHP
22 lines
445 B
PHP
<?php
|
|
|
|
return [
|
|
'default' => 'template.librenms',
|
|
|
|
'root_script' => null,
|
|
|
|
'template_factory' => [
|
|
'templates' => [
|
|
'librenms' => [
|
|
'view' => 'layouts.flasher-notification',
|
|
'options' => [
|
|
'timeout' => 12000,
|
|
'style' => [
|
|
'top' => '55px',
|
|
],
|
|
],
|
|
],
|
|
],
|
|
],
|
|
];
|