From d64b906dac3bf331fde028845e80aeef105c2105 Mon Sep 17 00:00:00 2001 From: Spythere Date: Wed, 21 Dec 2022 15:45:03 +0100 Subject: [PATCH] =?UTF-8?q?Wska=C5=BAnik=20aktywnych=20filtr=C3=B3w=20dzie?= =?UTF-8?q?nnika=20RJ?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/JournalView/JournalOptions.vue | 8 ++- src/styles/filters_options.scss | 9 +++ src/views/JournalTimetables.vue | 55 ++++++++++--------- 3 files changed, 44 insertions(+), 28 deletions(-) diff --git a/src/components/JournalView/JournalOptions.vue b/src/components/JournalView/JournalOptions.vue index 925da7f..8f4064e 100644 --- a/src/components/JournalView/JournalOptions.vue +++ b/src/components/JournalView/JournalOptions.vue @@ -2,9 +2,10 @@
- @@ -116,6 +117,11 @@ export default defineComponent({ type: Number as PropType, default: DataStatus.Initialized, }, + + currentOptionsActive: { + type: Boolean, + default: false + } }, data() { diff --git a/src/styles/filters_options.scss b/src/styles/filters_options.scss index ed1f0f4..3e8cbd6 100644 --- a/src/styles/filters_options.scss +++ b/src/styles/filters_options.scss @@ -6,6 +6,15 @@ margin-bottom: 0.5em; } +.filter-button .active-indicator { + width: 7px; + height: 7px; + background-color: lightgreen; + border-radius: 50%; + + margin-left: 10px; +} + h1.option-title { position: relative; font-size: 1.1em; diff --git a/src/views/JournalTimetables.vue b/src/views/JournalTimetables.vue index 907c082..0d6c815 100644 --- a/src/views/JournalTimetables.vue +++ b/src/views/JournalTimetables.vue @@ -4,10 +4,11 @@
@@ -48,7 +49,7 @@