diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2019-10-07 22:32:30 -0700 |
---|---|---|
committer | Bastien Wirtz <bastien.wirtz@gmail.com> | 2019-10-07 22:32:30 -0700 |
commit | d6adb2db1b20fcd3e1ad50bfab8324d0ab2f714f (patch) | |
tree | 270cd4c8535286257a831b3a44cbaa0438bf7a1b /index.html | |
parent | 1312fe5d1a44657ced6b2b92a870cacab1311d99 (diff) | |
download | homer-d6adb2db1b20fcd3e1ad50bfab8324d0ab2f714f.tar.gz homer-d6adb2db1b20fcd3e1ad50bfab8324d0ab2f714f.tar.zst homer-d6adb2db1b20fcd3e1ad50bfab8324d0ab2f714f.zip |
Implementing settings persistence.
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -14,10 +14,7 @@ | |||
14 | </head> | 14 | </head> |
15 | 15 | ||
16 | <body> | 16 | <body> |
17 | <div id="app" v-if="config" :class="{ | 17 | <div id="app" v-if="config" :class="[isDark ? 'is-dark' : 'is-light']"> |
18 | 'is-dark': overrideDark === true, | ||
19 | 'is-light': overrideDark === false | ||
20 | }"> | ||
21 | <div id="bighead"> | 18 | <div id="bighead"> |
22 | <section class="first-line"> | 19 | <section class="first-line"> |
23 | <div v-cloak class="container"> | 20 | <div v-cloak class="container"> |
@@ -47,7 +44,7 @@ | |||
47 | aria-label="Toggle dark mode" | 44 | aria-label="Toggle dark mode" |
48 | ><i class="fas fa-adjust"></i> | 45 | ><i class="fas fa-adjust"></i> |
49 | </a> | 46 | </a> |
50 | <a v-on:click="vlayout = !vlayout" class="icon-button navbar-item"><i | 47 | <a v-on:click="toggleLayout()" class="icon-button navbar-item"><i |
51 | :class="['fas', vlayout ? 'fa-list' : 'fa-columns']"></i></a> | 48 | :class="['fas', vlayout ? 'fa-list' : 'fa-columns']"></i></a> |
52 | <div class="search-bar"> | 49 | <div class="search-bar"> |
53 | <label for="search" class="search-label"></label> | 50 | <label for="search" class="search-label"></label> |