aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2020-06-09 19:24:43 -0700
committerBastien Wirtz <bastien.wirtz@gmail.com>2020-06-09 21:55:29 -0700
commite9113b48cec284b041e4130e6afe932913f52d36 (patch)
tree41323e3ec1c515524de5c40b9939f95c9a13dca3 /src
parent1a42e30a1752be5ab0fba5b224fad5686f12499e (diff)
downloadhomer-e9113b48cec284b041e4130e6afe932913f52d36.tar.gz
homer-e9113b48cec284b041e4130e6afe932913f52d36.tar.zst
homer-e9113b48cec284b041e4130e6afe932913f52d36.zip
Optionnal connectivity check
Diffstat (limited to 'src')
-rw-r--r--src/App.vue5
-rw-r--r--src/assets/app.scss4
-rw-r--r--src/assets/defaults.yml2
3 files changed, 8 insertions, 3 deletions
diff --git a/src/App.vue b/src/App.vue
index 440ffa0..62156d2 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -49,7 +49,10 @@
49 49
50 <section id="main-section" class="section"> 50 <section id="main-section" class="section">
51 <div v-cloak class="container"> 51 <div v-cloak class="container">
52 <ConnectivityChecker @network:status-update="offline = $event" /> 52 <ConnectivityChecker
53 v-if="config.connectivityCheck"
54 @network:status-update="offline = $event"
55 />
53 <div v-if="!offline"> 56 <div v-if="!offline">
54 <!-- Optional messages --> 57 <!-- Optional messages -->
55 <Message :item="config.message" /> 58 <Message :item="config.message" />
diff --git a/src/assets/app.scss b/src/assets/app.scss
index 001e3a4..ab067e6 100644
--- a/src/assets/app.scss
+++ b/src/assets/app.scss
@@ -322,11 +322,11 @@ body {
322 text-align: center; 322 text-align: center;
323 margin: 35px 0; 323 margin: 35px 0;
324 324
325 svg { 325 i {
326 font-size: 2rem; 326 font-size: 2rem;
327 } 327 }
328 328
329 svg.fa-redo-alt { 329 i.fa-redo-alt {
330 font-size: 1.3rem; 330 font-size: 1.3rem;
331 line-height: 1rem; 331 line-height: 1rem;
332 vertical-align: middle; 332 vertical-align: middle;
diff --git a/src/assets/defaults.yml b/src/assets/defaults.yml
index a699d28..b2960c9 100644
--- a/src/assets/defaults.yml
+++ b/src/assets/defaults.yml
@@ -7,6 +7,8 @@ subtitle: "Homer"
7header: true 7header: true
8footer: '<p>Created with <span class="has-text-danger">❤️</span> with <a href="https://bulma.io/">bulma</a>, <a href="https://vuejs.org/">vuejs</a> & <a href="https://fontawesome.com/">font awesome</a> // Fork me on <a href="https://github.com/bastienwirtz/homer"><i class="fab fa-github-alt"></i></a></p>' # set false if you want to hide it. 8footer: '<p>Created with <span class="has-text-danger">❤️</span> with <a href="https://bulma.io/">bulma</a>, <a href="https://vuejs.org/">vuejs</a> & <a href="https://fontawesome.com/">font awesome</a> // Fork me on <a href="https://github.com/bastienwirtz/homer"><i class="fab fa-github-alt"></i></a></p>' # set false if you want to hide it.
9 9
10connectivityCheck: true
11
10theme: default 12theme: default
11colors: 13colors:
12 light: 14 light: