mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Include bootstrap in editor
This commit is contained in:
parent
aeda64a890
commit
f2cc85a3bc
2 changed files with 11 additions and 4 deletions
|
@ -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();")
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue