From 4147b6590458a4984e8ef022ec0c8ef39614f579 Mon Sep 17 00:00:00 2001 From: Thomas Ballmann Date: Sun, 15 Mar 2020 22:28:46 +0100 Subject: [PATCH] app ui / ux reworked #1 --- app/package.json | 1 + app/src/App.vue | 165 +++++++----------------- app/src/api/device.js | 12 +- app/src/api/weather.js | 196 +++++++++++++++++++++++++++++ app/src/assets/app.css | 6 +- app/src/components/DeviceCard.vue | 71 +++++++++++ app/src/components/ScreenCard.vue | 100 +++++++++++++++ app/src/components/WeatherCard.vue | 121 ++++++++++++++++++ app/src/main.js | 5 + app/src/plugins/vuetify.js | 124 +++++++++++++++++- app/src/views/Dashboard.vue | 37 +++--- app/src/views/Wifi.vue | 19 +-- app/yarn.lock | 12 ++ 13 files changed, 708 insertions(+), 161 deletions(-) create mode 100644 app/src/api/weather.js create mode 100644 app/src/components/DeviceCard.vue create mode 100644 app/src/components/ScreenCard.vue create mode 100644 app/src/components/WeatherCard.vue diff --git a/app/package.json b/app/package.json index 5c7198e..f734d85 100644 --- a/app/package.json +++ b/app/package.json @@ -24,6 +24,7 @@ "sass": "^1.19.0", "sass-loader": "^8.0.0", "vue-cli-plugin-vuetify": "~2.0.4", + "vue-moment": "^4.1.0", "vue-router": "^3.1.5", "vue-svg-loader": "^0.16.0", "vue-template-compiler": "^2.6.11", diff --git a/app/src/App.vue b/app/src/App.vue index 3b2088f..6d06c2d 100644 --- a/app/src/App.vue +++ b/app/src/App.vue @@ -1,5 +1,5 @@