From aced878bc603cf2311ce9f4e5c1c921b0a316a26 Mon Sep 17 00:00:00 2001 From: cheetah Date: Fri, 25 Nov 2022 00:31:57 +0000 Subject: [PATCH] improved ui --- html/index.html | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/html/index.html b/html/index.html index 6099a2f..d8dd5d9 100644 --- a/html/index.html +++ b/html/index.html @@ -13,25 +13,25 @@
- - Telegram Bot Configuration - + Telegram Bot Configuration + + Bot Settings - Notification Configuration + Notification Configuration - +

Targets:

Add @@ -57,10 +57,10 @@ Add - + - + mdi-delete @@ -104,6 +104,7 @@ http: { root: '/' }, data() { return { + EXPERTMODE: false, configTab: null, pagerTypes: [ {k: 'Simple', v: 'simple'}, @@ -128,6 +129,7 @@ {k: 'LoRaWAN TTNv3', v: 'lorawan'}, ], configData: { + "bottoken": "", "pager": { "url": "", }, @@ -165,10 +167,15 @@ this.configData.deliveryModes[ index ].params.routing.connectors.push(["connectorName","connectorParam"]) }, addRegionCMD() { - this.configData.regions.push({ + this.configData.deliveryModes.push({ name: "", - active: true, - dwdID: "", + params: { + "type": "simple", + "routing": { + "device": "generic", + "connectors": [] + } + }, }) }, }