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
46d64f69
Commit
46d64f69
authored
Jul 14, 2018
by
Ryan Beymer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flask-admin/flask-admin#1486 - fix column sizing
parent
8e11da2c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
73 additions
and
71 deletions
+73
-71
list.html
flask_admin/templates/bootstrap4/admin/file/list.html
+72
-70
list.html
flask_admin/templates/bootstrap4/admin/model/list.html
+1
-1
No files found.
flask_admin/templates/bootstrap4/admin/file/list.html
View file @
46d64f69
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
{% block file_list_table %}
{% block file_list_table %}
<div
class=
"table-responsive"
>
<div
class=
"table-responsive"
>
<table
class=
"table table-
striped table-bordered model-list
"
>
<table
class=
"table table-
hover
"
>
<thead>
<thead>
<tr>
<tr>
{% block list_header scoped %}
{% block list_header scoped %}
...
@@ -55,6 +55,7 @@
...
@@ -55,6 +55,7 @@
{% endblock %}
{% endblock %}
</tr>
</tr>
</thead>
</thead>
<tbody>
{% for name, path, is_dir, size, date in items %}
{% for name, path, is_dir, size, date in items %}
<tr>
<tr>
{% block list_row scoped %}
{% block list_row scoped %}
...
@@ -134,6 +135,7 @@
...
@@ -134,6 +135,7 @@
{% endblock %}
{% endblock %}
</tr>
</tr>
{% endfor %}
{% endfor %}
</tbody>
</table>
</table>
</div>
</div>
{% endblock %}
{% endblock %}
...
...
flask_admin/templates/bootstrap4/admin/model/list.html
View file @
46d64f69
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
{% endif %}
{% endif %}
{% block list_row_actions_header %}
{% block list_row_actions_header %}
{% if admin_view.column_display_actions %}
{% if admin_view.column_display_actions %}
<th
class=
"col-md-1"
>
</th>
<th>
</th>
{% endif %}
{% endif %}
{% endblock %}
{% endblock %}
{% for c, name in list_columns %}
{% for c, name in list_columns %}
...
...
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