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
90215888
Commit
90215888
authored
Jan 15, 2013
by
Artem Serga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#7 - Refine column's tooltip presentation
parent
3820ae87
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
list.html
flask_admin/templates/admin/model/list.html
+5
-2
No files found.
flask_admin/templates/admin/model/list.html
View file @
90215888
...
@@ -123,7 +123,7 @@
...
@@ -123,7 +123,7 @@
{% else %}
{% else %}
{{ name }}
{{ name }}
{% endif %}
{% endif %}
{% if
c in admin_view.column_descriptions
%}
{% if
admin_view.column_descriptions.get(c)
%}
<a
class=
"icon-question-sign"
<a
class=
"icon-question-sign"
title=
"{{ admin_view.column_descriptions[c] }}"
title=
"{{ admin_view.column_descriptions[c] }}"
href=
"#"
data-role=
"tooltip"
href=
"#"
data-role=
"tooltip"
...
@@ -183,7 +183,10 @@
...
@@ -183,7 +183,10 @@
<script
language=
"javascript"
>
<script
language=
"javascript"
>
(
function
(
$
)
{
(
function
(
$
)
{
$
(
'[data-role=tooltip]'
).
tooltip
();
$
(
'[data-role=tooltip]'
).
tooltip
({
html
:
true
,
placement
:
'bottom'
});
{
%
if
filter_groups
is
not
none
and
filter_data
is
not
none
%
}
{
%
if
filter_groups
is
not
none
and
filter_data
is
not
none
%
}
var
filter
=
new
AdminFilters
(
var
filter
=
new
AdminFilters
(
'#filter_form'
,
'.field-filters'
,
'#filter_form'
,
'.field-filters'
,
...
...
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