From 8782c6c3d7e2f23ef8f24f5728cfc3168a1e0821 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Fri, 29 May 2020 13:41:30 +0200 Subject: webserver 1.8: webbox: Own checkbox images, because browsers use funny symbols otherwise --- plugins/webbox/html/checkbox-checked.png | Bin 0 -> 270 bytes plugins/webbox/html/checkbox.png | Bin 0 -> 256 bytes plugins/webbox/html/webbox.css | 2 +- plugins/webbox/html/webbox.js | 28 ++++++++++++++++++---------- 4 files changed, 19 insertions(+), 11 deletions(-) create mode 100644 plugins/webbox/html/checkbox-checked.png create mode 100644 plugins/webbox/html/checkbox.png (limited to 'plugins') diff --git a/plugins/webbox/html/checkbox-checked.png b/plugins/webbox/html/checkbox-checked.png new file mode 100644 index 0000000..4fb51cd Binary files /dev/null and b/plugins/webbox/html/checkbox-checked.png differ diff --git a/plugins/webbox/html/checkbox.png b/plugins/webbox/html/checkbox.png new file mode 100644 index 0000000..545a928 Binary files /dev/null and b/plugins/webbox/html/checkbox.png differ diff --git a/plugins/webbox/html/webbox.css b/plugins/webbox/html/webbox.css index dbb151c..dac1d64 100644 --- a/plugins/webbox/html/webbox.css +++ b/plugins/webbox/html/webbox.css @@ -204,7 +204,7 @@ table.list td { } table.list td.selector { - width: 20px; + width: 36px; } table.list td.type { diff --git a/plugins/webbox/html/webbox.js b/plugins/webbox/html/webbox.js index cad32b1..963491d 100644 --- a/plugins/webbox/html/webbox.js +++ b/plugins/webbox/html/webbox.js @@ -80,10 +80,11 @@ function loadContents(dir) { type = ""; } - var selector = ""; + var selector = "☐"; + selector += " onclick=\"toggleSelection('" + filename + "')\">