From 26db0473e98d87b6f58f83d95ed53c492ce7dbc8 Mon Sep 17 00:00:00 2001 From: Haris Razis Date: Mon, 11 Jan 2021 15:03:06 +0200 Subject: [PATCH] General code refactor Removed useless code | formated files --- .gitignore | 2 ++ .idea/runConfigurations/dev_client.xml | 12 ----------- .idea/runConfigurations/dev_server.xml | 12 ----------- .idea/runConfigurations/run_client.xml | 12 ----------- .idea/runConfigurations/run_server.xml | 12 ----------- server/routes/athletes.js | 30 ++++++-------------------- server/routes/user.js | 2 -- web/babel.config.js | 6 +++--- web/public/index.html | 6 +++--- web/src/components/Navbar.vue | 16 ++++++-------- web/src/slims-vuex.d.ts | 2 +- web/src/store/modules/athletes.ts | 10 ++++----- web/src/store/modules/backend.ts | 2 +- web/src/views/Athletes.vue | 6 ++---- web/src/views/DashboardHome.vue | 7 +++--- web/src/views/Login.vue | 2 +- 16 files changed, 36 insertions(+), 103 deletions(-) delete mode 100644 .idea/runConfigurations/dev_client.xml delete mode 100644 .idea/runConfigurations/dev_server.xml delete mode 100644 .idea/runConfigurations/run_client.xml delete mode 100644 .idea/runConfigurations/run_server.xml diff --git a/.gitignore b/.gitignore index 41b4a3d..a036818 100644 --- a/.gitignore +++ b/.gitignore @@ -106,5 +106,7 @@ dist .idea/workspace.xml .DS_Store + /dist + mongo_example_swarmlab.js \ No newline at end of file diff --git a/.idea/runConfigurations/dev_client.xml b/.idea/runConfigurations/dev_client.xml deleted file mode 100644 index 128a3db..0000000 --- a/.idea/runConfigurations/dev_client.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - diff --git a/web/src/views/DashboardHome.vue b/web/src/views/DashboardHome.vue index 8ce17c5..6fe56e0 100644 --- a/web/src/views/DashboardHome.vue +++ b/web/src/views/DashboardHome.vue @@ -25,16 +25,17 @@

System status

-

All systems operational

+

All systems operational

+

Something does not seem right

-

...tiles

+

App Info

Bottom tile

-
+
diff --git a/web/src/views/Login.vue b/web/src/views/Login.vue index 1befeda..5051389 100644 --- a/web/src/views/Login.vue +++ b/web/src/views/Login.vue @@ -29,7 +29,7 @@

-
+
{{ msg }}