diff --git a/static/css/mainStyle.css b/static/css/mainStyle.css index 7f7291a..47a3d40 100644 --- a/static/css/mainStyle.css +++ b/static/css/mainStyle.css @@ -16,6 +16,12 @@ body { overflow-x: auto; overflow-y: hidden; } + + .full .clr-field button { + width: 100%; + height: 100%; + border-radius: 5px; + } .b-example-divider { flex-shrink: 0; diff --git a/static/js/interface.js b/static/js/interface.js index 2419f23..9e61b55 100644 --- a/static/js/interface.js +++ b/static/js/interface.js @@ -51,11 +51,10 @@ $(document).ready(function () { $("#colors1").append( '' + '' + - '' + + '' + '' + '' ); - $('.colorPicky').colorpicker(); }); @@ -63,42 +62,23 @@ $(document).ready(function () { $("#colors2").append( '' + '' + - '' + + '' + '' + '' ); - $('.colorPicky').colorpicker(); }); - $("#copyColors").click(function CopyTextColors(event) { - event.target.innerHTML = '
' - saveOption("/api/v1/set/text/colors?copy=true", function finishCopyColors(event) { - setTimeout(function () { - document.getElementById("copyColors").innerHTML = "Copy from progressbar colors" - }, 500) - - }) - }); - - - $("input[name='btnradio2']").click(function (event) { - console.debug() - const darkid = parseInt(event.currentTarget.id.replace("Mbtnradio", "")) - if (darkid == 1) { - DarkReader.disable() - } else if (darkid == 2) { - DarkReader.enable() - } else { - DarkReader.auto() - } - Cookies.set("interfaceColor", darkid) - }); + // Restore settings saveOption("/api/v1/data", function (event, xmlHttp) { const tableEntry = ' #VALUE#\ - \ + \ +
\ + \ +
\ + \ \ +
+
+

Full size thumbnail

+
+ +
+


Raw server reponse

@@ -436,7 +443,13 @@ +