From 09509367aaa51e01869d92ea1b7ba1d4528d6146 Mon Sep 17 00:00:00 2001 From: Wim Brand Date: Mon, 2 Sep 2019 23:20:36 +0200 Subject: [PATCH] Fix close buttons --- res/static/script/Toolbar.js | 14 ++++++++------ res/template/admin.html | 14 ++++++++------ res/template/file_viewer.html | 4 ++-- 3 files changed, 18 insertions(+), 14 deletions(-) diff --git a/res/static/script/Toolbar.js b/res/static/script/Toolbar.js index efc4ebb..bcca60e 100644 --- a/res/static/script/Toolbar.js +++ b/res/static/script/Toolbar.js @@ -279,16 +279,18 @@ var DetailsWindow = { datasets: [ { label: "Downloads", - backgroundColor: "rgba(100, 255, 100, .1)", - borderColor: "rgba(100, 255, 100, .8)", - borderWidth: 1, + backgroundColor: "rgba(64, 255, 64, .05)", + borderColor: "rgba(128, 255, 128, 1)", + borderWidth: 1.5, + lineTension: 0.1, fill: true, yAxisID: "y_bandwidth", }, { label: "Views", - backgroundColor: "rgba(128, 128, 255, .1)", - borderColor: "rgba(128, 128, 255, .8)", - borderWidth: 1, + backgroundColor: "rgba(64, 64, 255, .1)", + borderColor: "rgba(128, 128, 255, 1)", + borderWidth: 1.5, + lineTension: 0.1, fill: true, yAxisID: "y_views", } diff --git a/res/template/admin.html b/res/template/admin.html index cb4984c..2b47162 100644 --- a/res/template/admin.html +++ b/res/template/admin.html @@ -47,16 +47,18 @@ datasets: [ { label: "Bandwidth", - backgroundColor: "rgba(100, 255, 100, .1)", - borderColor: "rgba(100, 255, 100, .8)", - borderWidth: 1, + backgroundColor: "rgba(64, 255, 64, .05)", + borderColor: "rgba(128, 255, 128, 1)", + borderWidth: 1.5, + lineTension: 0.1, fill: true, yAxisID: "y_bandwidth" }, { label: "Views", - backgroundColor: "rgba(128, 128, 255, .2)", - borderColor: "rgba(128, 128, 255, .8)", - borderWidth: 1, + backgroundColor: "rgba(64, 64, 255, .1)", + borderColor: "rgba(128, 128, 255, 1)", + borderWidth: 1.5, + lineTension: 0.1, fill: true, yAxisID: "y_views" } diff --git a/res/template/file_viewer.html b/res/template/file_viewer.html index 78fe12e..86c8615 100644 --- a/res/template/file_viewer.html +++ b/res/template/file_viewer.html @@ -32,7 +32,7 @@ {{.Title}}
- +
@@ -106,7 +106,7 @@