From c7b0e1e2a2dbd02c558379ee20f79b540db38e7c Mon Sep 17 00:00:00 2001 From: advplyr Date: Sun, 7 Nov 2021 19:52:13 -0600 Subject: [PATCH] Add: Stats page in config #167 --- client/components/app/Appbar.vue | 8 +- client/components/app/ConfigSideNav.vue | 4 + client/package.json | 2 +- client/pages/config/stats.vue | 138 ++++++++++++++++++++++++ client/tailwind.config.js | 6 +- package.json | 2 +- 6 files changed, 155 insertions(+), 5 deletions(-) create mode 100644 client/pages/config/stats.vue diff --git a/client/components/app/Appbar.vue b/client/components/app/Appbar.vue index 47bea87f..81f0cafd 100644 --- a/client/components/app/Appbar.vue +++ b/client/components/app/Appbar.vue @@ -15,11 +15,15 @@ logo_dev - + + equalizer + + + upload - + settings diff --git a/client/components/app/ConfigSideNav.vue b/client/components/app/ConfigSideNav.vue index bb52a781..b0370bc9 100644 --- a/client/components/app/ConfigSideNav.vue +++ b/client/components/app/ConfigSideNav.vue @@ -23,6 +23,10 @@

Log

+ +

Stats

+
+

v{{ $config.version }}

diff --git a/client/package.json b/client/package.json index 8cad2fc1..3debb175 100644 --- a/client/package.json +++ b/client/package.json @@ -1,6 +1,6 @@ { "name": "audiobookshelf-client", - "version": "1.6.11", + "version": "1.6.12", "description": "Audiobook manager and player", "main": "index.js", "scripts": { diff --git a/client/pages/config/stats.vue b/client/pages/config/stats.vue new file mode 100644 index 00000000..e8f6a5e1 --- /dev/null +++ b/client/pages/config/stats.vue @@ -0,0 +1,138 @@ + + + \ No newline at end of file diff --git a/client/tailwind.config.js b/client/tailwind.config.js index 5ce7bc29..53644f92 100644 --- a/client/tailwind.config.js +++ b/client/tailwind.config.js @@ -15,7 +15,11 @@ module.exports = { theme: { extend: { height: { - '7.5': '1.75rem' + '7.5': '1.75rem', + '18': '4.5rem' + }, + width: { + '18': '4.5rem' }, maxWidth: { '6': '1.5rem', diff --git a/package.json b/package.json index b126d8b5..5516a093 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "audiobookshelf", - "version": "1.6.11", + "version": "1.6.12", "description": "Self-hosted audiobook server for managing and playing audiobooks", "main": "index.js", "scripts": {