From 74f664e2ba424a109fedd8d15283f5ff6009dfd2 Mon Sep 17 00:00:00 2001 From: Katharina Will Date: Mon, 8 Apr 2019 13:09:16 +0200 Subject: [PATCH] Implemented view of rankinglist --- frontend/src/layouts/MyLayout.vue | 3 +- frontend/src/pages/Overview.vue | 26 ++++----- frontend/src/pages/ranking.vue | 95 +++++++++++++++++++++++++++++++ frontend/src/router/routes.js | 5 ++ 4 files changed, 112 insertions(+), 17 deletions(-) create mode 100644 frontend/src/pages/ranking.vue diff --git a/frontend/src/layouts/MyLayout.vue b/frontend/src/layouts/MyLayout.vue index 82e09e3..c262338 100644 --- a/frontend/src/layouts/MyLayout.vue +++ b/frontend/src/layouts/MyLayout.vue @@ -59,11 +59,10 @@ diff --git a/frontend/src/pages/Overview.vue b/frontend/src/pages/Overview.vue index 5295f00..c45872f 100644 --- a/frontend/src/pages/Overview.vue +++ b/frontend/src/pages/Overview.vue @@ -12,26 +12,15 @@ narrow-indicator switch-indicator > - +
- - - - - - - - - {{ cache.description.substring(0,80) }} ... - - + + + + + + +
@@ -76,7 +72,7 @@ export default { data() { return { - tab: 'map', + tab: 'list', hheight: 71.0, fheight: 36.0, //37 //header: {h: '0px', w: 0} diff --git a/frontend/src/pages/ranking.vue b/frontend/src/pages/ranking.vue new file mode 100644 index 0000000..3635da6 --- /dev/null +++ b/frontend/src/pages/ranking.vue @@ -0,0 +1,95 @@ + + + + diff --git a/frontend/src/router/routes.js b/frontend/src/router/routes.js index a0724a0..62e6125 100644 --- a/frontend/src/router/routes.js +++ b/frontend/src/router/routes.js @@ -20,6 +20,11 @@ const routes = [ component: () => import("layouts/MyLayout.vue"), children: [{ path: "", component: () => import("pages/CacheView.vue") }] }, + { + path: "/ranking/", + component: () => import("layouts/MyLayout.vue"), + children: [{path: "", component: () => import("pages/ranking.vue")}] + }, { path: "/login/", component: () => import("layouts/MyLayout.vue"),