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
5e0ccca8
Commit
5e0ccca8
authored
Dec 16, 2012
by
Artem Serga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#1 - Refine selector for tooltip
parent
253af1dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
list.html
flask_admin/templates/admin/model/list.html
+11
-6
No files found.
flask_admin/templates/admin/model/list.html
View file @
5e0ccca8
...
...
@@ -124,7 +124,10 @@
{{ name }}
{% endif %}
{% if c in admin_view.column_descriptions %}
<a
class=
"icon-question-sign js-tooltip"
title=
"{{ admin_view.column_descriptions[c] }}"
href=
"#"
></a>
<a
class=
"icon-question-sign"
title=
"{{ admin_view.column_descriptions[c] }}"
href=
"#"
data-role=
"tooltip"
></a>
{% endif %}
</th>
{% set column = column + 1 %}
...
...
@@ -180,12 +183,14 @@
<script
language=
"javascript"
>
(
function
(
$
)
{
$
(
'
.js-tooltip
'
).
tooltip
();
$
(
'
[data-role=tooltip]
'
).
tooltip
();
{
%
if
filter_groups
is
not
none
and
filter_data
is
not
none
%
}
var
filter
=
new
AdminFilters
(
'#filter_form'
,
'.field-filters'
,
{{
admin_view
.
_filter_dict
|
tojson
|
safe
}},
{{
filter_data
|
tojson
|
safe
}},
{{
filter_types
|
tojson
|
safe
}});
var
filter
=
new
AdminFilters
(
'#filter_form'
,
'.field-filters'
,
{{
admin_view
.
_filter_dict
|
tojson
|
safe
}},
{{
filter_data
|
tojson
|
safe
}},
{{
filter_types
|
tojson
|
safe
}}
);
{
%
endif
%
}
})(
jQuery
);
</script>
...
...
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