From 65988fe0b4dc2aeaf9e3af3d102bada062b6021a Mon Sep 17 00:00:00 2001 From: patdenice Date: Wed, 6 Apr 2011 16:01:21 +0000 Subject: feature:2250 Add warning icon and tiptip git-svn-id: http://piwigo.org/svn/trunk@10113 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/clear/icon/warning.png | Bin 0 -> 680 bytes admin/themes/default/icon/warning.png | Bin 0 -> 680 bytes admin/themes/default/template/plugins_list.tpl | 9 ++++++++- admin/themes/default/theme.css | 6 ++++++ 4 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 admin/themes/clear/icon/warning.png create mode 100644 admin/themes/default/icon/warning.png (limited to 'admin') diff --git a/admin/themes/clear/icon/warning.png b/admin/themes/clear/icon/warning.png new file mode 100644 index 000000000..060b57707 Binary files /dev/null and b/admin/themes/clear/icon/warning.png differ diff --git a/admin/themes/default/icon/warning.png b/admin/themes/default/icon/warning.png new file mode 100644 index 000000000..060b57707 Binary files /dev/null and b/admin/themes/default/icon/warning.png differ diff --git a/admin/themes/default/template/plugins_list.tpl b/admin/themes/default/template/plugins_list.tpl index 19931a3bb..618104ca5 100644 --- a/admin/themes/default/template/plugins_list.tpl +++ b/admin/themes/default/template/plugins_list.tpl @@ -8,6 +8,11 @@ jQuery(document).ready(function() { jQuery('.incompatible').click(function() { return confirm(incompatible_msg); }); + jQuery('.warning').tipTip({ + 'delay' : 0, + 'fadeIn' : 200, + 'fadeOut' : 200 + }); }); {/literal}{/footer_script} @@ -42,7 +47,9 @@ jQuery(document).ready(function() {
- + diff --git a/admin/themes/default/theme.css b/admin/themes/default/theme.css index 13c499411..bb645c256 100644 --- a/admin/themes/default/theme.css +++ b/admin/themes/default/theme.css @@ -1043,3 +1043,9 @@ LEGEND { #batchManagerGlobal .removeFilter span {display:none} #batchManagerGlobal #applyFilterBlock {margin-top:20px;} #batchManagerGlobal .useFilterCheckbox {display:none} + +.warning { + background:url(icon/warning.png) no-repeat top left; + width: 130px; + padding-left: 20px; +} -- cgit v1.2.3
{$plugin.NAME} + {$plugin.NAME} + {$plugin.DESC}