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
8237af19
Commit
8237af19
authored
Dec 13, 2014
by
Paul Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bs2 - fix gap between actions and model-list, prevent styling all horizontal forms
parent
51730591
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
3 deletions
+29
-3
admin.css
flask_admin/static/admin/css/bootstrap2/admin.css
+28
-2
lib.html
flask_admin/templates/bootstrap2/admin/lib.html
+1
-1
No files found.
flask_admin/static/admin/css/bootstrap2/admin.css
View file @
8237af19
...
@@ -40,6 +40,15 @@ table.filters {
...
@@ -40,6 +40,15 @@ table.filters {
border-spacing
:
4px
;
border-spacing
:
4px
;
}
}
table
.filters
:not
(
:empty
)
{
margin
:
12px
0px
20px
0px
;
}
table
.filters
tr
td
{
padding-right
:
5px
;
padding-bottom
:
3px
;
}
.filters
input
.filters
input
{
{
margin-bottom
:
0
;
margin-bottom
:
0
;
...
@@ -94,13 +103,13 @@ table.filters {
...
@@ -94,13 +103,13 @@ table.filters {
}
}
/* Forms */
/* Forms */
.
form-horizontal
.control-label
{
.
admin-form
.control-label
{
width
:
100px
;
width
:
100px
;
text-align
:
left
;
text-align
:
left
;
margin-left
:
4px
;
margin-left
:
4px
;
}
}
.
form-horizontal
.controls
{
.
admin-form
.controls
{
margin-left
:
110px
;
margin-left
:
110px
;
}
}
...
@@ -112,3 +121,20 @@ table.filters {
...
@@ -112,3 +121,20 @@ table.filters {
.list-checkbox-column
{
.list-checkbox-column
{
width
:
14px
;
width
:
14px
;
}
}
/* Fix gap between actions and table */
.model-list
{
position
:
relative
;
margin-top
:
-1px
;
z-index
:
999
;
}
.actions-nav
{
margin-bottom
:
0
;
margin-left
:
4px
;
margin-right
:
4px
;
}
#filter_form
{
margin-bottom
:
0
;
}
\ No newline at end of file
flask_admin/templates/bootstrap2/admin/lib.html
View file @
8237af19
...
@@ -143,7 +143,7 @@
...
@@ -143,7 +143,7 @@
{% endmacro %}
{% endmacro %}
{% macro form_tag(form=None) %}
{% macro form_tag(form=None) %}
<form
action=
""
method=
"POST"
class=
"form-horizontal"
enctype=
"multipart/form-data"
>
<form
action=
""
method=
"POST"
class=
"
admin-form
form-horizontal"
enctype=
"multipart/form-data"
>
<fieldset>
<fieldset>
{{ caller() }}
{{ caller() }}
</fieldset>
</fieldset>
...
...
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