Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
flask-admin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
flask-admin
Commits
eb227fc3
Unverified
Commit
eb227fc3
authored
Sep 22, 2020
by
Serge S. Koval
Committed by
GitHub
Sep 22, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2024 from TitaniumHocker/master
Fixed bs4 modal details/edit view markup
parents
192c6c69
7287ed90
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
details.html
...dmin/templates/bootstrap4/admin/model/modals/details.html
+5
-5
edit.html
...k_admin/templates/bootstrap4/admin/model/modals/edit.html
+1
-1
No files found.
flask_admin/templates/bootstrap4/admin/model/modals/details.html
View file @
eb227fc3
...
...
@@ -3,17 +3,17 @@
{% block body %}
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-label=
"Close"
><span
aria-hidden=
"true"
>
×
</span></button>
{% block header_text %}
<h3>
{{ _gettext('View Record') + ' #' + request.args.get('id') }}
</h3>
{% endblock %}
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-label=
"Close"
><span
aria-hidden=
"true"
>
×
</span></button>
</div>
<div
class=
"modal-body"
>
{% block details_search %}
<div
class=
"
input-group
fa_filter_container col-lg-6"
>
<
span
class=
"input-group-addon"
>
{{ _gettext('Filter') }}
</span
>
<input
id=
"fa_filter"
type=
"text"
class=
"form-control"
>
<div
class=
"
form-inline
fa_filter_container col-lg-6"
>
<
label
for=
"fa_filter"
>
{{ _gettext('Filter') }}
</label
>
<input
id=
"fa_filter"
type=
"text"
class=
"
ml-3
form-control"
>
</div>
{% endblock %}
...
...
@@ -36,5 +36,5 @@
{% block tail %}
<script
src=
"{{ admin_static.url(filename='admin/js/details_filter.js', v='1.0.0') }}"
></script>
<script
src=
"{{ admin_static.url(filename='admin/js/bs
3
_modal.js', v='1.0.0') }}"
></script>
<script
src=
"{{ admin_static.url(filename='admin/js/bs
4
_modal.js', v='1.0.0') }}"
></script>
{% endblock %}
flask_admin/templates/bootstrap4/admin/model/modals/edit.html
View file @
eb227fc3
...
...
@@ -27,5 +27,5 @@
{% endblock %}
{% block tail %}
<script
src=
"{{ admin_static.url(filename='admin/js/bs
3
_modal.js', v='1.0.0') }}"
></script>
<script
src=
"{{ admin_static.url(filename='admin/js/bs
4
_modal.js', v='1.0.0') }}"
></script>
{% endblock %}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment