aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/App.vue
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2020-06-27 16:02:52 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2021-05-08 20:13:28 +0200
commite0a72b7dfbaac977798cbe02a840e5f400291198 (patch)
tree5273a1d7bf76689a1719772ee4351273e48af1b3 /src/App.vue
parent796a16c8da1e40aef418559ade2252a5275708c8 (diff)
downloadhomer-e0a72b7dfbaac977798cbe02a840e5f400291198.tar.gz
homer-e0a72b7dfbaac977798cbe02a840e5f400291198.tar.zst
homer-e0a72b7dfbaac977798cbe02a840e5f400291198.zip
Add some local changes
Diffstat (limited to 'src/App.vue')
-rw-r--r--src/App.vue20
1 files changed, 6 insertions, 14 deletions
diff --git a/src/App.vue b/src/App.vue
index 17c3214..747d279 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -10,7 +10,7 @@
10 > 10 >
11 <DynamicTheme :themes="config.colors" /> 11 <DynamicTheme :themes="config.colors" />
12 <div id="bighead"> 12 <div id="bighead">
13 <section v-if="config.header" class="first-line"> 13 <section v-if="config.header" class="first-line is-hidden-touch">
14 <div v-cloak class="container"> 14 <div v-cloak class="container">
15 <div class="logo"> 15 <div class="logo">
16 <img v-if="config.logo" :src="config.logo" alt="dashboard logo" /> 16 <img v-if="config.logo" :src="config.logo" alt="dashboard logo" />
@@ -27,6 +27,8 @@
27 :open="showMenu" 27 :open="showMenu"
28 :links="config.links" 28 :links="config.links"
29 @navbar:toggle="showMenu = !showMenu" 29 @navbar:toggle="showMenu = !showMenu"
30 :navigateToFirstService="navigateToFirstService"
31 :filterServices="filterServices"
30 > 32 >
31 <DarkMode @updated="isDark = $event" /> 33 <DarkMode @updated="isDark = $event" />
32 34
@@ -36,14 +38,6 @@
36 icon="fa-list" 38 icon="fa-list"
37 iconAlt="fa-columns" 39 iconAlt="fa-columns"
38 /> 40 />
39
40 <SearchInput
41 class="navbar-item is-inline-block-mobile"
42 @input="filterServices"
43 @search:focus="showMenu = true"
44 @search:open="navigateToFirstService"
45 @search:cancel="filterServices"
46 />
47 </Navbar> 41 </Navbar>
48 </div> 42 </div>
49 43
@@ -68,7 +62,7 @@
68 v-for="item in group.items" 62 v-for="item in group.items"
69 :key="item.name" 63 :key="item.name"
70 v-bind:item="item" 64 v-bind:item="item"
71 :class="['column', `is-${12 / config.columns}`]" 65 class="column is-half-tablet is-one-third-widescreen is-half-desktop"
72 /> 66 />
73 </template> 67 </template>
74 </div> 68 </div>
@@ -79,7 +73,7 @@
79 class="columns is-multiline layout-vertical" 73 class="columns is-multiline layout-vertical"
80 > 74 >
81 <div 75 <div
82 :class="['column', `is-${12 / config.columns}`]" 76 class="column is-half-tablet is-one-third-widescreen is-half-desktop"
83 v-for="group in services" 77 v-for="group in services"
84 :key="group.name" 78 :key="group.name"
85 > 79 >
@@ -118,7 +112,6 @@ import Navbar from "./components/Navbar.vue";
118import ConnectivityChecker from "./components/ConnectivityChecker.vue"; 112import ConnectivityChecker from "./components/ConnectivityChecker.vue";
119import Service from "./components/Service.vue"; 113import Service from "./components/Service.vue";
120import Message from "./components/Message.vue"; 114import Message from "./components/Message.vue";
121import SearchInput from "./components/SearchInput.vue";
122import SettingToggle from "./components/SettingToggle.vue"; 115import SettingToggle from "./components/SettingToggle.vue";
123import DarkMode from "./components/DarkMode.vue"; 116import DarkMode from "./components/DarkMode.vue";
124import DynamicTheme from "./components/DynamicTheme.vue"; 117import DynamicTheme from "./components/DynamicTheme.vue";
@@ -132,7 +125,6 @@ export default {
132 ConnectivityChecker, 125 ConnectivityChecker,
133 Service, 126 Service,
134 Message, 127 Message,
135 SearchInput,
136 SettingToggle, 128 SettingToggle,
137 DarkMode, 129 DarkMode,
138 DynamicTheme, 130 DynamicTheme,
@@ -143,7 +135,7 @@ export default {
143 services: null, 135 services: null,
144 offline: false, 136 offline: false,
145 filter: "", 137 filter: "",
146 vlayout: true, 138 vlayout: false,
147 isDark: null, 139 isDark: null,
148 showMenu: false, 140 showMenu: false,
149 }; 141 };