Optionnal connectivity check

This commit is contained in:
Bastien Wirtz 2020-06-09 19:24:43 -07:00
parent 1a42e30a17
commit e9113b48ce
3 changed files with 8 additions and 3 deletions

View File

@ -49,7 +49,10 @@
<section id="main-section" class="section"> <section id="main-section" class="section">
<div v-cloak class="container"> <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"> <div v-if="!offline">
<!-- Optional messages --> <!-- Optional messages -->
<Message :item="config.message" /> <Message :item="config.message" />

View File

@ -322,11 +322,11 @@ body {
text-align: center; text-align: center;
margin: 35px 0; margin: 35px 0;
svg { i {
font-size: 2rem; font-size: 2rem;
} }
svg.fa-redo-alt { i.fa-redo-alt {
font-size: 1.3rem; font-size: 1.3rem;
line-height: 1rem; line-height: 1rem;
vertical-align: middle; vertical-align: middle;

View File

@ -7,6 +7,8 @@ subtitle: "Homer"
header: true 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. 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 theme: default
colors: colors:
light: light: