From 925080f6a08a1f1515143db1bd6aef8109f5fb67 Mon Sep 17 00:00:00 2001 From: Zephyrrus Date: Thu, 7 Jan 2021 23:55:37 +0200 Subject: chore: refactor stats generator to use an enum for types fix: saved data not being converted to JSON automatically when using SQLite (and possibly MSSQL) feat: display when a stat was generated in the section's header fix: not being able to click through the footer (sorry IE11 users, you still won't be able to click through it) fix: add is-mobile to columns so they don't stack on top of each other feat: add text next to the NSFW toggle and make it look like the elements around it (begone round iOS edges) --- src/site/components/album/AlbumDetails.vue | 8 +++++++- src/site/components/footer/Footer.vue | 6 ++++++ src/site/components/sidebar/Sidebar.vue | 2 +- src/site/components/statistics/byte.vue | 2 +- src/site/components/statistics/byteUsage.vue | 2 +- src/site/components/statistics/detailed.vue | 17 +++++++++++++++-- src/site/components/statistics/generic.vue | 2 +- src/site/components/statistics/time.vue | 2 +- src/site/pages/dashboard/admin/statistics.vue | 7 +++++-- src/site/pages/dashboard/albums/index.vue | 2 +- 10 files changed, 39 insertions(+), 11 deletions(-) (limited to 'src/site') diff --git a/src/site/components/album/AlbumDetails.vue b/src/site/components/album/AlbumDetails.vue index 81819b2..da472b0 100644 --- a/src/site/components/album/AlbumDetails.vue +++ b/src/site/components/album/AlbumDetails.vue @@ -101,7 +101,13 @@
+ :rounded="false" + type="is-warning" + class="has-text-light" + left-label + @input="toggleNsfw()"> + NSFW +