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
0029353c
Commit
0029353c
authored
Dec 28, 2014
by
Paul Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simplify css for clear search icon
parent
b32808c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
layout.html
flask_admin/templates/bootstrap3/admin/model/layout.html
+5
-7
No files found.
flask_admin/templates/bootstrap3/admin/model/layout.html
View file @
0029353c
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<div
class=
"pull-right"
>
<div
class=
"pull-right"
>
<button
type=
"submit"
class=
"btn btn-primary"
style=
"display: none"
>
{{ _gettext('Apply') }}
</button>
<button
type=
"submit"
class=
"btn btn-primary"
style=
"display: none"
>
{{ _gettext('Apply') }}
</button>
{% if active_filters %}
{% if active_filters %}
<a
href=
"{{ clear_search_url }}"
class=
"btn btn-
link
"
>
{{ _gettext('Reset Filters') }}
</a>
<a
href=
"{{ clear_search_url }}"
class=
"btn btn-
default
"
>
{{ _gettext('Reset Filters') }}
</a>
{% endif %}
{% endif %}
</div>
</div>
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
<div
class=
"clearfix"
></div>
<div
class=
"clearfix"
></div>
{% endmacro %}
{% endmacro %}
{% macro search_form(input_class="
span
2") %}
{% macro search_form(input_class="
col-md-
2") %}
<form
method=
"GET"
action=
"{{ return_url }}"
class=
"navbar-form navbar-left"
role=
"search"
>
<form
method=
"GET"
action=
"{{ return_url }}"
class=
"navbar-form navbar-left"
role=
"search"
>
{% if sort_column is not none %}
{% if sort_column is not none %}
<input
type=
"hidden"
name=
"sort"
value=
"{{ sort_column }}"
>
<input
type=
"hidden"
name=
"sort"
value=
"{{ sort_column }}"
>
...
@@ -34,11 +34,9 @@
...
@@ -34,11 +34,9 @@
<input
type=
"hidden"
name=
"desc"
value=
"{{ sort_desc }}"
>
<input
type=
"hidden"
name=
"desc"
value=
"{{ sort_desc }}"
>
{% endif %}
{% endif %}
{% if search %}
{% if search %}
<div
class=
"input-append form-group"
>
<div
class=
"input-group"
>
<input
type=
"text"
name=
"search"
value=
"{{ search }}"
class=
"{{ input_class }} form-control"
placeholder=
"{{ _gettext('Search') }}"
>
<input
type=
"text"
name=
"search"
value=
"{{ search }}"
class=
"{{ input_class }} form-control"
placeholder=
"{{ _gettext('Search') }}"
>
<a
href=
"{{ clear_search_url }}"
class=
"clear add-on"
>
<a
href=
"{{ clear_search_url }}"
class=
"input-group-addon clear"
><span
class=
"glyphicon glyphicon-remove"
></span></a>
<span
class=
"glyphicon glyphicon-remove"
></span>
</a>
</div>
</div>
{% else %}
{% else %}
<div
class=
"form-group"
>
<div
class=
"form-group"
>
...
...
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