mirror of
https://github.com/bastienwirtz/homer.git
synced 2024-11-07 08:44:00 +01:00
Customizable number of columns
This commit is contained in:
parent
e9113b48ce
commit
9e4fe0d227
@ -98,6 +98,9 @@ logo: "assets/homer.png"
|
||||
header: true # Set to false to hide the header
|
||||
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.
|
||||
|
||||
columns: "3" # "auto" or number (must be a factor of 12: 1, 2, 3, 4, 6, 12)
|
||||
connectivityCheck: true # whether you want to display a message when the apps are not accessible anymore (VPN disconnected for example)
|
||||
|
||||
# Optional theming
|
||||
theme: default # 'default' or one of the theme available in 'src/assets/themes'.
|
||||
|
||||
|
@ -68,7 +68,7 @@
|
||||
v-for="item in group.items"
|
||||
:key="item.name"
|
||||
v-bind:item="item"
|
||||
class="column is-one-third-widescreen"
|
||||
:class="['column', `is-${12 / config.columns}`]"
|
||||
/>
|
||||
</template>
|
||||
</div>
|
||||
@ -79,7 +79,7 @@
|
||||
class="columns is-multiline layout-vertical"
|
||||
>
|
||||
<div
|
||||
class="column is-one-third-widescreen"
|
||||
:class="['column', `is-${12 / config.columns}`]"
|
||||
v-for="group in services"
|
||||
:key="group.name"
|
||||
>
|
||||
|
@ -7,6 +7,7 @@ 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.
|
||||
|
||||
columns: 3
|
||||
connectivityCheck: true
|
||||
|
||||
theme: default
|
||||
|
Loading…
Reference in New Issue
Block a user