Piotr Rajnisz
7198ae5eae
Add (in Alert module) templateName parameter ( #3009 )
...
This simple change allows to use your own templates (under "templates"
directory). The parameter `templateName` is optional (ignored on falsy
value - undefined, null, empty string, etc.) and independent of `type`.
Co-authored-by: Veeck <github@veeck.de>
2023-01-26 13:00:49 +01:00
Kristjan SCHMIDT
a5668b1b99
Magic Mirror -> MagicMirror²
...
Consistent spelling
2022-01-26 23:09:26 +01:00
Felix Wiedenbach
d0cc0a4034
move notificationReceived
2021-10-15 06:50:54 +02:00
Felix Wiedenbach
15fd2021bb
blur modules instead of black overlay
2021-10-15 06:43:53 +02:00
Felix Wiedenbach
75cf1d610e
migrate manual DOM creation for alerts to nunjuck template
2021-10-15 06:31:07 +02:00
Felix Wiedenbach
8f5ee9466a
move notificationFx styles into styles directory
2021-10-15 06:26:23 +02:00
Felix Wiedenbach
467720f1c4
migrate manual DOM creation for notifications to nunjuck template
2021-10-15 06:23:50 +02:00
Felix Wiedenbach
026e624e23
use alert as default in notificationReceived
2021-10-15 06:17:03 +02:00
Felix Wiedenbach
460a9fc5f7
move notification effect override into start function
2021-10-15 06:14:45 +02:00
Felix Wiedenbach
3695e64ce9
migrate set position DOM manipulation to css
2021-10-15 06:11:24 +02:00
Felix Wiedenbach
b3bb829e4d
fix missing translation files
2021-10-15 06:05:06 +02:00
Felix Wiedenbach
1b9f8c23d2
shorthand camelcase functions
2021-10-15 06:03:51 +02:00
Ezequiel Holzweissig
a3ed24c766
Prettifier
2021-04-10 20:38:33 -03:00
Ezequiel Holzweissig
82727b825c
Fix alerts
...
Fixes #2522
2021-04-10 20:15:32 -03:00
Michael Teeuw
a0366e794b
Stupid commit to check github actions.
2020-12-21 10:57:18 +01:00
veeck
b373aa6250
Hide alert overlay when dismissed manually
2020-12-17 18:31:18 +01:00
Veeck
abb5dc5739
Run prettier over ALL files once
...
No other changes done in this commit
2020-05-11 22:22:32 +02:00
Veeck
7fc7d626bc
Add Module to globals, cleanup comments
2020-05-05 14:55:15 +02:00
rejas
d8f093b226
Cleanup some globals
2020-05-02 10:33:24 +02:00
rejas
e7fc4ef1e7
Replace unsecure links with https ones
2020-04-28 23:05:28 +02:00
Veeck
ec187fe109
Update changelog and commen tags
2020-04-21 12:23:50 +02:00
Veeck
5819ef346b
Rename stylesheet for clarity that its about the notificationFX
2020-04-20 10:58:27 +02:00
Veeck
06e8308dc2
Replace old js files with modern code
2020-04-20 10:51:27 +02:00
rejas
515c183070
Fix a comparison that was an assignement
2019-06-05 17:01:54 +02:00
rejas
5c08bde0fa
More == -> === and != -> !== fixes
2019-06-05 09:32:10 +02:00
Chris van Marle
c0ab2ac297
Support timer in notifications too
2019-03-14 14:11:10 +01:00
Tom Hirschberger
02ae0df2cc
add font-awesome.css to styles of alert.js
2019-02-24 11:48:14 +01:00
Teddy Payet
81432b54a3
Classes for alert module
...
Use of classes instead of inline style. With those modifications, it will be easier to personnalize the alert with custom.css
2018-08-01 09:37:27 +02:00
Michael Teeuw
f1dee488a7
Fix indent.
2018-04-02 14:11:21 +02:00
E:V:A
497145b1b5
null check for notification removal
...
Make sure there is something to remove, before we attempt to remove the notifications.
- This fixes #1240
2018-04-02 14:07:25 +03:00
Unknown
9416980096
Added Dutch translation
...
Added Dutch translation to Alert module
2017-06-13 20:33:48 +02:00
Rodrigo Ramírez Norambuena
19d906c5e4
fix tabs, remove extra spaces and lines.
2016-12-29 22:23:08 -03:00
GzoT
ccdc981756
small fix
2016-06-27 16:15:53 +00:00
GzoT
b44dcc9f30
Not display title and/or message if they are not provided (alert module)
2016-06-24 09:15:12 +00:00
Michael Teeuw
a6da9e8943
Fix #283
2016-05-03 16:59:18 +02:00
Paul-Vincent Roll
535a4205b1
Added translaions to the alert module.
2016-04-23 17:27:36 +02:00
Paul-Vincent Roll
ed3c0e42fb
Added Font Awesome Support into alerts.
2016-04-12 20:54:30 +02:00
Nicholas Hubbard
f280aa227e
Update Alert Spelling
2016-04-07 21:20:34 -04:00
Nicholas Hubbard
426728058c
Standardize: TO JSCS!
2016-04-05 14:35:11 -04:00
Paul-Vincent Roll
aba0b29c77
Change slide position based on notification position - closes #137
2016-04-05 13:45:18 +02:00
Paul-Vincent Roll
5a612e792e
Fixed mistake that happens when no type is given
2016-04-03 20:41:03 +02:00
Paul-Vincent Roll
f931316dc8
No type = alert
2016-04-03 20:34:47 +02:00
Paul-Vincent Roll
a55a2bcca0
Use SHOW_ALERT for all type of notifications
2016-04-03 20:28:51 +02:00
Paul-Vincent Roll
67bd6eac99
Use seconds instead of ms
2016-04-03 04:03:57 +02:00
Paul-Vincent Roll
679521c8a0
Removed sweetalert added custom alerts
2016-04-03 03:04:38 +02:00
Paul-Vincent Roll
f8c1644dee
Added text alignment based on position
2016-04-03 00:20:11 +02:00
Paul-Vincent Roll
882e9731ac
Added position config
2016-04-02 23:54:15 +02:00
Paul-Vincent Roll
3cd882f618
Notification styling
2016-04-02 20:27:59 +02:00
Paul-Vincent Roll
98e333cef9
Added title to notification
2016-04-02 20:05:05 +02:00
Paul-Vincent Roll
76f1a82746
Allow multiple notifications
2016-04-02 19:56:19 +02:00