Logo
Explore Help
Sign In
mirror/librenms-librenms
1
0
Fork 0
You've already forked librenms-librenms
mirror of https://github.com/librenms/librenms.git synced 2024-10-07 16:52:45 +00:00
Code Issues Actions Packages Projects Releases Wiki Activity
Files
murrant-patch-2
librenms-librenms/config/flasher.php

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
445 B
PHP
Raw Permalink Normal View History

PHP-Flasher for toast messages (#13401) * 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
2021-10-29 09:13:56 -05:00
<?php
return [
'default' => 'template.librenms',
'root_script' => null,
'template_factory' => [
'templates' => [
'librenms' => [
'view' => 'layouts.flasher-notification',
'options' => [
'timeout' => 12000,
'style' => [
'top' => '55px',
],
],
],
],
],
];
Reference in New Issue Copy Permalink
Powered by Gitea Page: 530ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API