+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
\ No newline at end of file
+ .panel .panel-heading {
+ color: white;
+ }
+}
+
diff --git a/frontend/src/components/map/HereMap.vue b/frontend/src/components/map/HereMap.vue
index 0d25b25..f195ea5 100644
--- a/frontend/src/components/map/HereMap.vue
+++ b/frontend/src/components/map/HereMap.vue
@@ -1,75 +1,69 @@
-/*
-*
-* Created by: Martin Gajdos
-* Date: 26. 10. 2020
-*
-* Description:
-*
-*/
+/* * * Created by: Martin Gajdos * Date: 26. 10. 2020 * * Description: * */
-
+
\ No newline at end of file
+#map {
+ width: 60vw;
+ min-width: 360px;
+ text-align: center;
+ margin: 5% auto;
+ background-color: #ccc;
+}
+
diff --git a/frontend/src/httpClient.js b/frontend/src/httpClient.js
new file mode 100644
index 0000000..8426ca7
--- /dev/null
+++ b/frontend/src/httpClient.js
@@ -0,0 +1,10 @@
+import axios from "axios";
+
+const httpClient = axios.create({
+ baseURL: process.env.VUE_APP_BACKEND_URL,
+ headers: {
+ "Content-Type": "application/json",
+ }
+});
+
+export default httpClient;
diff --git a/frontend/src/locales/en.json b/frontend/src/locales/en.json
index 494becc..2d675e4 100644
--- a/frontend/src/locales/en.json
+++ b/frontend/src/locales/en.json
@@ -2,5 +2,6 @@
"language": "EN",
"ukf": "My UKF",
"login": "Log in",
- "ukfNitra": "UKF in Nitra"
+ "ukfNitra": "UKF in Nitra",
+ "addEvent": "Add event"
}
diff --git a/frontend/src/locales/sk.json b/frontend/src/locales/sk.json
index 5b1ea6e..2a79249 100644
--- a/frontend/src/locales/sk.json
+++ b/frontend/src/locales/sk.json
@@ -2,5 +2,6 @@
"language": "SK",
"ukf": "Moja UKF",
"login": "Prihlásiť sa",
- "ukfNitra": "UKF v Nitre"
+ "ukfNitra": "UKF v Nitre",
+ "addEvent": "Pridať event"
}
diff --git a/frontend/src/router.js b/frontend/src/router.js
index 6089a00..23f05a0 100644
--- a/frontend/src/router.js
+++ b/frontend/src/router.js
@@ -1,6 +1,7 @@
import Vue from "vue";
import Router from "vue-router";
import Home from "./views/Home.vue";
+import ManageEvent from "./views/ManageEvent.vue";
Vue.use(Router);
@@ -12,6 +13,11 @@ export default new Router({
path: "/",
name: "home",
component: Home
+ },
+ {
+ path: "/pridat",
+ name: "addEvent",
+ component: ManageEvent
}
]
});
diff --git a/frontend/src/views/Home.vue b/frontend/src/views/Home.vue
index 3567c9e..884b8b7 100644
--- a/frontend/src/views/Home.vue
+++ b/frontend/src/views/Home.vue
@@ -1,16 +1,18 @@
+
diff --git a/frontend/src/views/ManageEvent.vue b/frontend/src/views/ManageEvent.vue
new file mode 100644
index 0000000..105237f
--- /dev/null
+++ b/frontend/src/views/ManageEvent.vue
@@ -0,0 +1,405 @@
+
+
+
+
+
Vytvorenie novej udalosti
+
+
+
+
+
+
+
+
+