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
24a5704d
Commit
24a5704d
authored
Nov 28, 2013
by
Davide Silvestri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed examples/layout; modified filters links and margins for filters table
parent
5ad16b1e
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
11 deletions
+27
-11
layout.css
examples/layout/static/layout.css
+9
-1
list.html
examples/layout/templates/list.html
+8
-8
admin.css
flask_admin/static/admin/css/admin.css
+9
-1
filters.js
flask_admin/static/admin/js/filters.js
+1
-1
No files found.
examples/layout/static/layout.css
View file @
24a5704d
...
...
@@ -5,7 +5,15 @@ body {
#content
{
background
:
white
;
border
:
1px
solid
#CCC
;
padding
:
5px
20px
30px
35px
;
padding
:
15px
20px
30px
35px
;
}
#content
.row
{
margin-left
:
0px
;
}
#brand
{
display
:
inline
;
}
html
,
body
,
.container
,
.row
,
.col-md-2
,
.col-md-10
,
#content
{
...
...
examples/layout/templates/list.html
View file @
24a5704d
flask_admin/static/admin/css/admin.css
View file @
24a5704d
...
...
@@ -42,7 +42,7 @@ form.navbar-form div.input-append {
table
.filters
{
border-collapse
:
none
;
border-spacing
:
4px
;
margin
:
12px
0
;
margin
:
12px
0
px
20px
0px
;
}
...
...
@@ -169,3 +169,11 @@ a.btn-link {
border-radius
:
4px
;
border-color
:
#95bee2
;
}
a
.btn-filter
,
a
.btn-filter
:hover
{
border-radius
:
4px
;
border-color
:
#adadad
;
color
:
#333
;
background-color
:
#ebebeb
;
max-height
:
32px
;
}
\ No newline at end of file
flask_admin/static/admin/js/filters.js
View file @
24a5704d
...
...
@@ -29,7 +29,7 @@ var AdminFilters = function(element, filters_element, operations, options, types
// Filter list
$el
.
append
(
$
(
'<td/>'
).
append
(
$
(
'<a href="#" class="btn btn-
link
remove-filter" />'
)
$
(
'<a href="#" class="btn btn-
filter
remove-filter" />'
)
.
append
(
$
(
'<span class="close-icon">×</span>'
))
.
append
(
' '
)
.
append
(
name
)
...
...
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