feature:2250
Add warning icon and tiptip git-svn-id: http://piwigo.org/svn/trunk@10113 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
0ab5e51a15
commit
65988fe0b4
4 changed files with 14 additions and 1 deletions
BIN
admin/themes/clear/icon/warning.png
Normal file
BIN
admin/themes/clear/icon/warning.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 680 B |
BIN
admin/themes/default/icon/warning.png
Normal file
BIN
admin/themes/default/icon/warning.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 680 B |
|
@ -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() {
|
|||
<div class="pluginBox">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="pluginBoxNameCell">{$plugin.NAME}</td>
|
||||
<td class="pluginBoxNameCell{if $plugin.INCOMPATIBLE} warning" title="{'WARNING! This plugin does not seem to be compatible with this version of Piwigo.'|@translate|@escape:'html'}{/if}">
|
||||
{$plugin.NAME}
|
||||
</td>
|
||||
<td>{$plugin.DESC}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue