Include bootstrap in editor

This commit is contained in:
Henrik Giesel 2021-02-27 16:34:22 +01:00
parent aeda64a890
commit f2cc85a3bc
2 changed files with 11 additions and 4 deletions

View file

@ -222,8 +222,15 @@ class Editor:
# then load page # then load page
self.web.stdHtml( self.web.stdHtml(
_html % (bgcol, topbuts, tr(TR.EDITING_SHOW_DUPLICATES)), _html % (bgcol, topbuts, tr(TR.EDITING_SHOW_DUPLICATES)),
css=["css/editor.css"], css=[
js=["js/vendor/jquery.min.js", "js/editor.js"], "css/vendor/bootstrap.min.css",
"css/editor.css",
],
js=[
"js/vendor/jquery.min.js",
"js/vendor/bootstrap.bundle.min.js",
"js/editor.js",
],
context=self, context=self,
) )
self.web.eval("preventButtonFocus();") self.web.eval("preventButtonFocus();")

View file

@ -1,8 +1,8 @@
/* Copyright: Ankitects Pty Ltd and contributors /* Copyright: Ankitects Pty Ltd and contributors
* License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */ * License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */
html { body {
background: var(--bg-color); background-color: var(--bg-color);
} }
#fields { #fields {