mirror of
https://github.com/bastienwirtz/homer.git
synced 2024-12-26 16:48:51 +01:00
Optionnal connectivity check
This commit is contained in:
parent
1a42e30a17
commit
e9113b48ce
@ -49,7 +49,10 @@
|
||||
|
||||
<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" />
|
||||
|
@ -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;
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user