From 7a72715117110a6abc00b04e055e6037daac8bec Mon Sep 17 00:00:00 2001 From: Katharina Will Date: Sat, 23 Mar 2019 17:24:02 +0100 Subject: [PATCH] Designed pages CacheView and Login --- frontend/quasar.conf.js | 10 +- frontend/src/layouts/MyLayout.vue | 4 +- frontend/src/pages/CacheView.vue | 199 ++++++++++++++++++++++++++++++ frontend/src/pages/Login.vue | 52 ++++++++ frontend/src/router/routes.js | 10 ++ 5 files changed, 272 insertions(+), 3 deletions(-) diff --git a/frontend/quasar.conf.js b/frontend/quasar.conf.js index 3f82b10..00b6c98 100644 --- a/frontend/quasar.conf.js +++ b/frontend/quasar.conf.js @@ -46,7 +46,15 @@ module.exports = function (ctx) { 'QCardSection', 'QCardActions', 'QCheckbox', - 'QSeparator' + 'QSeparator', + 'QTabs', + 'QTab', + 'QRouteTab', + 'QTabPanels', + 'QTabPanel', + 'QInput', + 'QFab', + 'QFabAction' ], directives: [ diff --git a/frontend/src/layouts/MyLayout.vue b/frontend/src/layouts/MyLayout.vue index da749d4..80c2afb 100644 --- a/frontend/src/layouts/MyLayout.vue +++ b/frontend/src/layouts/MyLayout.vue @@ -1,6 +1,6 @@ + + diff --git a/frontend/src/pages/Login.vue b/frontend/src/pages/Login.vue index e69de29..8b5ee79 100644 --- a/frontend/src/pages/Login.vue +++ b/frontend/src/pages/Login.vue @@ -0,0 +1,52 @@ + + + diff --git a/frontend/src/router/routes.js b/frontend/src/router/routes.js index 8571b3d..2a9eed2 100644 --- a/frontend/src/router/routes.js +++ b/frontend/src/router/routes.js @@ -8,6 +8,16 @@ const routes = [ path: "/dashboard/", component: () => import("layouts/MyLayout.vue"), children: [{ path: "", component: () => import("pages/Dashboard.vue") }] + }, + { + path: "/cacheview/", + component: () => import("layouts/MyLayout.vue"), + children: [{ path: "", component: () => import("pages/CacheView.vue") }] + }, + { + path: "/login/", + component: () => import("layouts/MyLayout.vue"), + children: [{ path: "", component: () => import("pages/Login.vue") }] } ];