From cba7bf8586f59a049f79aba586db201ac6f3530b Mon Sep 17 00:00:00 2001 From: Pitu Date: Sun, 13 Oct 2019 02:53:45 +0900 Subject: This commit adds a bunch of features for admins: * banning IP * see files from other users if you are admin * be able to see details of an uploaded file and it's user * improved display of thumbnails for non-image files --- src/site/pages/dashboard/admin/file/_id.vue | 170 ++++++++++++++++++++++++++++ 1 file changed, 170 insertions(+) create mode 100644 src/site/pages/dashboard/admin/file/_id.vue (limited to 'src/site/pages/dashboard/admin/file') diff --git a/src/site/pages/dashboard/admin/file/_id.vue b/src/site/pages/dashboard/admin/file/_id.vue new file mode 100644 index 0000000..6718b32 --- /dev/null +++ b/src/site/pages/dashboard/admin/file/_id.vue @@ -0,0 +1,170 @@ + + + + -- cgit v1.2.3 From ac037c773ef5f15372c6999445a2efe00034c0c0 Mon Sep 17 00:00:00 2001 From: Zephyrrus Date: Mon, 29 Jun 2020 20:02:47 +0300 Subject: fix: Remove hero and hero body and use sections and containers instead Hero is meant to be used as a full-width banner to showcare or present somethign, not to contain the entire content of the webpage --- src/site/pages/dashboard/admin/file/_id.vue | 174 ++++++++++++++-------------- 1 file changed, 86 insertions(+), 88 deletions(-) (limited to 'src/site/pages/dashboard/admin/file') diff --git a/src/site/pages/dashboard/admin/file/_id.vue b/src/site/pages/dashboard/admin/file/_id.vue index 6718b32..5821292 100644 --- a/src/site/pages/dashboard/admin/file/_id.vue +++ b/src/site/pages/dashboard/admin/file/_id.vue @@ -2,97 +2,95 @@ .underline { text-decoration: underline; } -- cgit v1.2.3 From fb2c27086f570fec60f4d52dcc9ca80e53186293 Mon Sep 17 00:00:00 2001 From: Pitu Date: Thu, 24 Dec 2020 23:45:16 +0900 Subject: Fix ESLint rules once and for all --- src/site/pages/dashboard/admin/file/_id.vue | 1 + 1 file changed, 1 insertion(+) (limited to 'src/site/pages/dashboard/admin/file') diff --git a/src/site/pages/dashboard/admin/file/_id.vue b/src/site/pages/dashboard/admin/file/_id.vue index d54bf54..135d066 100644 --- a/src/site/pages/dashboard/admin/file/_id.vue +++ b/src/site/pages/dashboard/admin/file/_id.vue @@ -168,6 +168,7 @@ export default { const i = Math.floor(Math.log(bytes) / Math.log(k)); + // eslint-disable-next-line no-mixed-operators return `${parseFloat((bytes / k ** i).toFixed(dm))} ${sizes[i]}`; } } -- cgit v1.2.3