diff --git a/edit.html b/edit.html index 84768688..c74a4b66 100644 --- a/edit.html +++ b/edit.html @@ -230,44 +230,6 @@ - - diff --git a/edit/settings.html b/edit/settings.html new file mode 100644 index 00000000..054beece --- /dev/null +++ b/edit/settings.html @@ -0,0 +1,35 @@ +
+
+ +
+
+ + + +
+ + +
+
+ + + +
+
diff --git a/edit/settings.js b/edit/settings.js index 29d0e176..6e6d0b9a 100644 --- a/edit/settings.js +++ b/edit/settings.js @@ -7,9 +7,10 @@ /* exported StyleSettings */ 'use strict'; -function StyleSettings() { +async function StyleSettings() { const AUTOSAVE_DELAY = 500; // same as config-dialog.js const SS_ID = 'styleSettings'; + await t.fetchTemplate('/edit/settings.html', SS_ID); const {style} = editor; const ui = t.template[SS_ID].cloneNode(true); const elAuto = $('[id="config.autosave"]', ui); diff --git a/install-usercss.html b/install-usercss.html index 87f9a9cf..246720c7 100644 --- a/install-usercss.html +++ b/install-usercss.html @@ -11,13 +11,12 @@ - - - + + @@ -25,66 +24,59 @@ -
-