]> git.immae.eu Git - github/bastienwirtz/homer.git/commitdiff
Optionnal connectivity check
authorBastien Wirtz <bastien.wirtz@gmail.com>
Wed, 10 Jun 2020 02:24:43 +0000 (19:24 -0700)
committerBastien Wirtz <bastien.wirtz@gmail.com>
Wed, 10 Jun 2020 04:55:29 +0000 (21:55 -0700)
src/App.vue
src/assets/app.scss
src/assets/defaults.yml

index 440ffa088e5b5e4b70248b973b931d8b574d0e3c..62156d2ce9a87658a4145808d4bf355ea7cb75be 100644 (file)
 
     <section id="main-section" class="section">
       <div v-cloak class="container">
-        <ConnectivityChecker @network:status-update="offline = $event" />
+        <ConnectivityChecker
+          v-if="config.connectivityCheck"
+          @network:status-update="offline = $event"
+        />
         <div v-if="!offline">
           <!-- Optional messages -->
           <Message :item="config.message" />
index 001e3a4d395adb37ea8fbbb6ba2e1d95477fc62e..ab067e6941f586d185dd13c45a1f18642ed94abd 100644 (file)
@@ -322,11 +322,11 @@ body {
     text-align: center;
     margin: 35px 0;
 
-    svg {
+    i {
       font-size: 2rem;
     }
 
-    svg.fa-redo-alt {
+    i.fa-redo-alt {
       font-size: 1.3rem;
       line-height: 1rem;
       vertical-align: middle;
index a699d28e336bc712e860311c884250350383aaca..b2960c9e626cbc66c6f0dd76d74603790b2e0ceb 100644 (file)
@@ -7,6 +7,8 @@ subtitle: "Homer"
 header: true
 footer: '<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.
 
+connectivityCheck: true
+
 theme: default
 colors:
   light: