-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Usability: Dark/Light mode switch added, Fixes: DB not available - lo…
…g human error instead of an exception, Technical: Upgrade to Vuetify 1.5.7
- Loading branch information
Showing
6 changed files
with
23 additions
and
11 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<!-- Copyright © 2018-2019 Stanislav Valasek <[email protected]> --> | ||
|
||
<template> | ||
<v-app> | ||
<v-app :dark="goDark"> | ||
<v-snackbar v-model="notification" :color="notificationType" :left="true" :timeout="5000"> | ||
{{ notificationText }} | ||
</v-snackbar> | ||
|
@@ -21,7 +21,10 @@ | |
<v-divider class="menuSettings" /> | ||
|
||
<v-list-tile class="menuSettings"> | ||
<v-switch v-model="weekUnlocked" :disabled="isCurrentWeek===true" label="Enable editing of this week" color="error" hide-details class="body-1" /> | ||
<v-switch v-model="weekUnlocked" :disabled="isCurrentWeek===true" label="Enable editing of this week" color="info" hide-details class="body-1" /> | ||
</v-list-tile> | ||
<v-list-tile class="menuSettings"> | ||
<v-switch v-model="goDark" label="Enable dark mode" color="info" hide-details class="body-1" /> | ||
</v-list-tile> | ||
</v-list> | ||
</v-navigation-drawer> | ||
|
@@ -69,6 +72,7 @@ | |
data () { | ||
return { | ||
goDark: false, | ||
drawer: true, | ||
items: [ | ||
{ title: 'Report my work', icon: 'work_outline', route: 'report' }, | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters