27b34c1
@@ -42,6 +42,7 @@
admin = flask_admin.Admin(app, 'Blocker Bug Tracking Admin',
base_template='admin_layout.html',
+ template_mode='bootstrap3',
index_view=AdminIndexViewSqla())
@@ -1,8 +1,3 @@
- /* line 1, ../../../sass/admin_layout.scss */
- input {
- width: 530px;
- }
-
/* line 5, ../../../sass/admin_layout.scss */
.select2-container {
width: 545px !important;
@@ -1,7 +1,3 @@
}
\ No newline at end of file
rebased onto 27b34c1
I know this is probably out of context for the PR, but looking at the template for the admin interface https://pagure.io/fedora-qa/blockerbugs/blob/develop/f/blockerbugs/templates/admin_layout.html it {% extends 'admin/base.html' %}, but there is no admin/base.html file in the repo. That looks wrong :)
{% extends 'admin/base.html' %}
admin/base.html
That html file is part of python3-flask-admin, so I guess it uses it from there.
$ rpm -ql python3-flask-admin | grep base.html /usr/lib/python3.7/site-packages/flask_admin/templates/bootstrap2/admin/base.html /usr/lib/python3.7/site-packages/flask_admin/templates/bootstrap3/admin/base.html ....
ah, makes sense. Thanks for the clarification.
LGTM!
Pull-Request has been merged by frantisekz