From 139b11e4cc13024e96e25eeeaab3a8dac8b60396 Mon Sep 17 00:00:00 2001 From: Christian Hofmaier Date: Mon, 15 Apr 2019 15:35:47 +0000 Subject: [eventmanager] integrate WoL utility - add column to db - add checkbox to frontend - implement scheduler --- webapp/src/components/EventModuleEdit.vue | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'webapp') diff --git a/webapp/src/components/EventModuleEdit.vue b/webapp/src/components/EventModuleEdit.vue index 9075faa..025ecfb 100644 --- a/webapp/src/components/EventModuleEdit.vue +++ b/webapp/src/components/EventModuleEdit.vue @@ -47,6 +47,7 @@ "thursday": "Thursday", "tuesday": "Tuesday", "uuid": "UUID", + "wakeonlan": "Wake On Lan", "wednesday": "Wednesday", "week": "Week" }, @@ -97,6 +98,7 @@ "thursday": "Donnerstag", "tuesday": "Dienstag", "uuid": "UUID", + "wakeonlan": "Wake On Lan", "wednesday": "Mittwoch", "week": "Woche" } @@ -173,13 +175,20 @@ auto-grow > - + + + + @@ -411,6 +420,7 @@ export default { name: '', description: '', important: false, + wakeonlan: false, config: [], times: {}, groups: [], @@ -457,6 +467,7 @@ export default { this.name = value.info.name || '' this.description = value.info.description || '' this.important = value.info.important || false + this.wakeonlan = value.info.wakeonlan || false this.config = value.info.config ? [value.info.config] : [] @@ -587,6 +598,7 @@ export default { blacklistClients: this.blacklistClients.map(x => x.id), config: this.config.map(x => x.id), important: this.important, + wakeonlan: this.wakeonlan, times: JSON.stringify(this.times) }) this.$store.dispatch('events/loadEvents') -- cgit v1.2.3-55-g7522