aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--app.js12
-rw-r--r--config.yml12
2 files changed, 12 insertions, 12 deletions
diff --git a/app.js b/app.js
index def0be7..40830da 100644
--- a/app.js
+++ b/app.js
@@ -9,14 +9,14 @@ const app = new Vue({
9 }, 9 },
10 created: function () { 10 created: function () {
11 let that = this; 11 let that = this;
12 12
13 this.isDark = 'overrideDark' in localStorage ? 13 this.isDark = 'overrideDark' in localStorage ?
14 JSON.parse(localStorage.overrideDark) : matchMedia("(prefers-color-scheme: dark)").matches; 14 JSON.parse(localStorage.overrideDark) : matchMedia("(prefers-color-scheme: dark)").matches;
15 15
16 if ('vlayout' in localStorage) { 16 if ('vlayout' in localStorage) {
17 this.vlayout = JSON.parse(localStorage.vlayout) 17 this.vlayout = JSON.parse(localStorage.vlayout)
18 } 18 }
19 19
20 this.checkOffline(); 20 this.checkOffline();
21 that.getConfig().then(function (config) { 21 that.getConfig().then(function (config) {
22 that.config = config; 22 that.config = config;
@@ -58,8 +58,8 @@ const app = new Vue({
58 }, 58 },
59 toggleLayout: function() { 59 toggleLayout: function() {
60 this.vlayout = !this.vlayout; 60 this.vlayout = !this.vlayout;
61 localStorage.vlayout = this.vlayout; 61 localStorage.vlayout = this.vlayout;
62 }, 62 },
63 } 63 }
64}); 64});
65 65
@@ -95,6 +95,6 @@ Vue.component('service', {
95 95
96if ('serviceWorker' in navigator) { 96if ('serviceWorker' in navigator) {
97 window.addEventListener('load', function () { 97 window.addEventListener('load', function () {
98 navigator.serviceWorker.register('/worker.js'); 98 navigator.serviceWorker.register('worker.js');
99 }); 99 });
100} 100}
diff --git a/config.yml b/config.yml
index 8060119..2adddb1 100644
--- a/config.yml
+++ b/config.yml
@@ -31,12 +31,12 @@ services:
31 icon: "fas fa-code-branch" 31 icon: "fas fa-code-branch"
32 items: 32 items:
33 - name: "Jenkins" 33 - name: "Jenkins"
34 logo: "/assets/tools/jenkins.png" 34 logo: "assets/tools/jenkins.png"
35 subtitle: "Continuous integration server" 35 subtitle: "Continuous integration server"
36 tag: "CI" 36 tag: "CI"
37 url: "#" 37 url: "#"
38 - name: "RabbitMQ Management" 38 - name: "RabbitMQ Management"
39 logo: "/assets/tools/rabbitmq.png" 39 logo: "assets/tools/rabbitmq.png"
40 subtitle: "Manage & monitor RabbitMQ server" 40 subtitle: "Manage & monitor RabbitMQ server"
41 tag: "haproxy" 41 tag: "haproxy"
42 # Optional tagstyle 42 # Optional tagstyle
@@ -47,21 +47,21 @@ services:
47 icon: "fas fa-heartbeat" 47 icon: "fas fa-heartbeat"
48 items: 48 items:
49 - name: "M/Monit" 49 - name: "M/Monit"
50 logo: "/assets/tools/monit.png" 50 logo: "assets/tools/monit.png"
51 subtitle: "Monitor & manage all monit enabled hosts" 51 subtitle: "Monitor & manage all monit enabled hosts"
52 tag: "monit" 52 tag: "monit"
53 url: "#" 53 url: "#"
54 - name: "Grafana" 54 - name: "Grafana"
55 logo: "/assets/tools/grafana.png" 55 logo: "assets/tools/grafana.png"
56 subtitle: "Metric analytics & dashboards" 56 subtitle: "Metric analytics & dashboards"
57 url: "#" 57 url: "#"
58 - name: "Kibana" 58 - name: "Kibana"
59 logo: "/assets/tools/elastic.png" 59 logo: "assets/tools/elastic.png"
60 subtitle: "Explore & visualize logs" 60 subtitle: "Explore & visualize logs"
61 tag: "elk" 61 tag: "elk"
62 url: "#" 62 url: "#"
63 - name: "Website monitoring" 63 - name: "Website monitoring"
64 logo: "/assets/tools/pingdom.png" 64 logo: "assets/tools/pingdom.png"
65 subtitle: "Pingdom public reports overview" 65 subtitle: "Pingdom public reports overview"
66 tag: "CI" 66 tag: "CI"
67 url: "#" 67 url: "#"