aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2020-06-09 21:54:13 -0700
committerBastien Wirtz <bastien.wirtz@gmail.com>2020-06-09 21:55:29 -0700
commit9e4fe0d2274b00106e6a46a11242dcac1c10e8a1 (patch)
treebcabec9fcc38c063fb0c8de8dfb781463b95b7e0
parente9113b48cec284b041e4130e6afe932913f52d36 (diff)
downloadhomer-9e4fe0d2274b00106e6a46a11242dcac1c10e8a1.tar.gz
homer-9e4fe0d2274b00106e6a46a11242dcac1c10e8a1.tar.zst
homer-9e4fe0d2274b00106e6a46a11242dcac1c10e8a1.zip
Customizable number of columns130585124
-rw-r--r--README.md3
-rw-r--r--src/App.vue4
-rw-r--r--src/assets/defaults.yml1
3 files changed, 6 insertions, 2 deletions
diff --git a/README.md b/README.md
index c3a6f07..8818e32 100644
--- a/README.md
+++ b/README.md
@@ -98,6 +98,9 @@ logo: "assets/homer.png"
98header: true # Set to false to hide the header 98header: true # Set to false to hide the header
99footer: '<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. 99footer: '<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.
100 100
101columns: "3" # "auto" or number (must be a factor of 12: 1, 2, 3, 4, 6, 12)
102connectivityCheck: true # whether you want to display a message when the apps are not accessible anymore (VPN disconnected for example)
103
101# Optional theming 104# Optional theming
102theme: default # 'default' or one of the theme available in 'src/assets/themes'. 105theme: default # 'default' or one of the theme available in 'src/assets/themes'.
103 106
diff --git a/src/App.vue b/src/App.vue
index 62156d2..17c3214 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -68,7 +68,7 @@
68 v-for="item in group.items" 68 v-for="item in group.items"
69 :key="item.name" 69 :key="item.name"
70 v-bind:item="item" 70 v-bind:item="item"
71 class="column is-one-third-widescreen" 71 :class="['column', `is-${12 / config.columns}`]"
72 /> 72 />
73 </template> 73 </template>
74 </div> 74 </div>
@@ -79,7 +79,7 @@
79 class="columns is-multiline layout-vertical" 79 class="columns is-multiline layout-vertical"
80 > 80 >
81 <div 81 <div
82 class="column is-one-third-widescreen" 82 :class="['column', `is-${12 / config.columns}`]"
83 v-for="group in services" 83 v-for="group in services"
84 :key="group.name" 84 :key="group.name"
85 > 85 >
diff --git a/src/assets/defaults.yml b/src/assets/defaults.yml
index b2960c9..99f5ed5 100644
--- a/src/assets/defaults.yml
+++ b/src/assets/defaults.yml
@@ -7,6 +7,7 @@ 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
10columns: 3
10connectivityCheck: true 11connectivityCheck: true
11 12
12theme: default 13theme: default