From 03e940acdc7707714bdc02abdc776fc190e47b9d Mon Sep 17 00:00:00 2001 From: Thiemann96 Date: Tue, 11 Feb 2020 14:42:26 +0100 Subject: [PATCH] added button and text to config page --- src/assets/i18n/en.json | 4 +++ src/pages/configuration/configuration.html | 29 ++++++---------------- src/pages/configuration/configuration.ts | 3 +++ 3 files changed, 15 insertions(+), 21 deletions(-) diff --git a/src/assets/i18n/en.json b/src/assets/i18n/en.json index bdc63af..8e64bc8 100644 --- a/src/assets/i18n/en.json +++ b/src/assets/i18n/en.json @@ -97,5 +97,9 @@ "DONE": "Done!", "ERROR": "Error!" } + }, + "CONFIG":{ + "TITLE":"Initial configuration", + "BUTTON":"Upload standard senseBox Sketch!" } } diff --git a/src/pages/configuration/configuration.html b/src/pages/configuration/configuration.html index a1c6168..af3eb9c 100644 --- a/src/pages/configuration/configuration.html +++ b/src/pages/configuration/configuration.html @@ -14,29 +14,16 @@ - {{ 'ABOUT.BLOCKLY.TITLE' | translate }} + {{ 'CONFIG.TITLE' | translate }} -

-

-
-
-
- - - - - {{ 'ABOUT.OPENSOURCE.TITLE' | translate }} - - -

ABOUT.OPENSOURCE.TEXT

- -
+ +
diff --git a/src/pages/configuration/configuration.ts b/src/pages/configuration/configuration.ts index 9866b86..9b405ff 100644 --- a/src/pages/configuration/configuration.ts +++ b/src/pages/configuration/configuration.ts @@ -18,6 +18,9 @@ export class ConfigurationPage { constructor(public navCtrl: NavController, public navParams: NavParams) { } + uploadStandardSketch(){ + } + ionViewDidLoad() { console.log('ionViewDidLoad ConfigPage'); }