# HG changeset patch # User Sascha L. Teichmann # Date 1537540178 -7200 # Node ID d1b60ad2f50d0effb173cedd68658b728840e261 # Parent c0bba602b60e2d332857355331b192f4b1a4e197# Parent bb07885676095fb45427ce9659ec446bf56a451f Merged default into octree branch. diff -r c0bba602b60e -r d1b60ad2f50d client/package.json --- a/client/package.json Fri Sep 21 14:47:44 2018 +0200 +++ b/client/package.json Fri Sep 21 16:29:38 2018 +0200 @@ -25,6 +25,7 @@ "purgecss-webpack-plugin": "^1.2.1", "v-tooltip": "^2.0.0-rc.33", "vue": "^2.5.16", + "vue-highlightjs": "^1.3.3", "vue-router": "^3.0.1", "vuex": "^3.0.1" }, diff -r c0bba602b60e -r d1b60ad2f50d client/src/App.vue --- a/client/src/App.vue Fri Sep 21 14:47:44 2018 +0200 +++ b/client/src/App.vue Fri Sep 21 16:29:38 2018 +0200 @@ -17,7 +17,7 @@
- +
diff -r c0bba602b60e -r d1b60ad2f50d client/src/application/Main.vue --- a/client/src/application/Main.vue Fri Sep 21 14:47:44 2018 +0200 +++ b/client/src/application/Main.vue Fri Sep 21 16:29:38 2018 +0200 @@ -71,6 +71,9 @@ }, updated() { if (!document.querySelector(".profile")) return; + const clientHeight = document.querySelector(".profile").clientHeight; + const clientWidth = document.querySelector(".profile").clientWidth; + if (!clientHeight || !clientWidth) return; this.height = document.querySelector(".profile").clientHeight - 25; this.width = document.querySelector(".profile").clientWidth - 100; }, diff -r c0bba602b60e -r d1b60ad2f50d client/src/application/Sidebar.vue --- a/client/src/application/Sidebar.vue Fri Sep 21 14:47:44 2018 +0200 +++ b/client/src/application/Sidebar.vue Fri Sep 21 16:29:38 2018 +0200 @@ -10,6 +10,9 @@ Users + + Systeminformation +
diff -r c0bba602b60e -r d1b60ad2f50d client/src/application/Topbar.vue --- a/client/src/application/Topbar.vue Fri Sep 21 14:47:44 2018 +0200 +++ b/client/src/application/Topbar.vue Fri Sep 21 16:29:38 2018 +0200 @@ -3,7 +3,7 @@
-
+
@@ -11,11 +11,11 @@
-
+
- +
@@ -92,7 +92,7 @@ }, data() { return { - searchbarCollapsed: false + searchbarCollapsed: true }; }, computed: { diff -r c0bba602b60e -r d1b60ad2f50d client/src/application/assets/application.scss --- a/client/src/application/assets/application.scss Fri Sep 21 14:47:44 2018 +0200 +++ b/client/src/application/assets/application.scss Fri Sep 21 16:29:38 2018 +0200 @@ -1,23 +1,23 @@ -$offset: 1rem; -$small-offset: 0.5rem; -$x-small-offset: 0.25rem; +$basic-shadow-light: 1px 1px 12px 1px rgba(235, 235, 235, 0.75); +$basic-shadow: 1px 3px 8px 2px rgba(220, 220, 220, 0.75); +$border-radius: 5px; +$icon-height: 2rem; +$icon-width: 2rem; $large-offset: 2rem; -$x-large-offset: 3rem; -$basic-shadow: 1px 3px 8px 2px rgba(220, 220, 220, 0.75); -$basic-shadow-light: 1px 1px 12px 1px rgba(235, 235, 235, 0.75); -$transition: 0.5s; +$layerselect-height: 20rem; +$layerselect-width: 20rem; +$offset: 1rem; +$searchbar-width: 50vw; +$sidebar-height: 16rem; +$sidebar-width: 15rem; +$slight-transparent: 0.96; +$small-offset: 0.5rem; +$smaller: 0.9rem; $transition-fast: 0.3s; $transition-slow: 3s; -$smaller: 0.9rem; -$border-radius: 5px; -$sidebar-width: 15rem; -$sidebar-height: 13rem; -$icon-height: 2rem; -$icon-width: 2rem; -$layerselect-height: 20rem; -$layerselect-width: 20rem; -$slight-transparent: 0.96; -$searchbar-width: 50vw; +$transition: 0.5s; +$x-large-offset: 3rem; +$x-small-offset: 0.25rem; .debug { border: 1px solid red; diff -r c0bba602b60e -r d1b60ad2f50d client/src/logs/logs.vue --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/client/src/logs/logs.vue Fri Sep 21 16:29:38 2018 +0200 @@ -0,0 +1,186 @@ + + + + + diff -r c0bba602b60e -r d1b60ad2f50d client/src/main.js --- a/client/src/main.js Fri Sep 21 14:47:44 2018 +0200 +++ b/client/src/main.js Fri Sep 21 16:29:38 2018 +0200 @@ -11,7 +11,10 @@ import "../node_modules/animate.css/animate.min.css"; import "../node_modules/ol/ol.css"; import "../node_modules/cxlt-vue2-toastr/dist/css/cxlt-vue2-toastr.css"; +import "../node_modules/highlight.js/styles/paraiso-dark.css"; import VTooltip from "v-tooltip"; +import VueHighlightJS from "vue-highlightjs"; +Vue.use(VueHighlightJS); Vue.use(VTooltip); diff -r c0bba602b60e -r d1b60ad2f50d client/src/map/Maplayer.vue --- a/client/src/map/Maplayer.vue Fri Sep 21 14:47:44 2018 +0200 +++ b/client/src/map/Maplayer.vue Fri Sep 21 16:29:38 2018 +0200 @@ -14,14 +14,18 @@