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
self.web.stdHtml(
_html % (bgcol, topbuts, tr(TR.EDITING_SHOW_DUPLICATES)),
css=["css/editor.css"],
js=["js/vendor/jquery.min.js", "js/editor.js"],
css=[
"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,
)
self.web.eval("preventButtonFocus();")

View file

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