misc: add css classes to some notification popups to allow targetting them with css themes
This commit is contained in:
parent
ccf3613424
commit
23ca4ac9a7
5 changed files with 6 additions and 1 deletions
|
|
@ -10,10 +10,11 @@
|
|||
- expose file browser (from the file widget) as a scripting function
|
||||
|
||||
- custom module
|
||||
- don't restrict file extension in `loadJSON()` and `saveJSON` functions
|
||||
- don't restrict file extension in `loadJSON()` and `saveJSON` functions
|
||||
|
||||
- misc
|
||||
- add polish locales (@ Manz4rk)
|
||||
- add css classes to some notification popups to allow targetting them with css themes
|
||||
|
||||
## 1.22.0
|
||||
|
||||
|
|
|
|||
|
|
@ -63,6 +63,7 @@ module.exports = {
|
|||
|
||||
notifications.add({
|
||||
icon: 'wifi',
|
||||
class: 'client-connected',
|
||||
message: locales('loading_newclient')
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -91,6 +91,7 @@ class Ipc extends EventEmitter {
|
|||
|
||||
if (notifications && this.disconnected) notifications.add({
|
||||
icon: 'wifi',
|
||||
class: 'server-connected',
|
||||
message: locales('server_connected'),
|
||||
id: 'ipc_state'
|
||||
})
|
||||
|
|
|
|||
|
|
@ -150,6 +150,7 @@ var StateManager = class StateManager {
|
|||
this.set(state, send)
|
||||
notifications.add({
|
||||
icon: 'sliders-h',
|
||||
class: 'state-recall',
|
||||
message: locales('state_recallsuccess')
|
||||
})
|
||||
} catch(e) {
|
||||
|
|
|
|||
|
|
@ -251,6 +251,7 @@ module.exports = {
|
|||
ipc.send('notify', {
|
||||
icon: 'save',
|
||||
locale: 'remotesave_success',
|
||||
class: 'session-save',
|
||||
message: ' ('+ path.basename(data.path) +')'
|
||||
}, clientId)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue