mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 09:13:02 +02:00
fixes #1250 pluginBox ThemeBox fixed
pluginbox dropdown hover is now like theme, from grey to black, doesn t show delete option on themebox not deactivated anymore
This commit is contained in:
@@ -296,7 +296,7 @@ jQuery(".pluginMiniBox").each(function(index){
|
||||
<div class="pluginContent">
|
||||
<div class="PluginOptionsIcons">
|
||||
{if $plugin.STATE == 'active' || $plugin.STATE == 'inactive'}
|
||||
<a class="icon-ellipsis-vert showOptions" ></a>
|
||||
<a class="icon-ellipsis-vert showOptions showInfo" ></a>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
|
||||
@@ -118,10 +118,12 @@ $(window).bind("load", function() {
|
||||
<div class="showInfo-dropdown-content">
|
||||
{$theme.DESC|@escape:'html'}
|
||||
</div>
|
||||
{if $theme.DELETABLE}
|
||||
<a class="dropdown-option icon-trash delete-plugin-button delete-theme-button" href="{$delete_baseurl}{$theme.ID}">{'Delete'|@translate}</a>
|
||||
{else}
|
||||
<span class="dropdown-option icon-trash delete-plugin-button"title="{$theme.DELETE_TOOLTIP}">{'Delete'|@translate}</span>
|
||||
{if $theme.STATE != "active"}
|
||||
{if $theme.DELETABLE}
|
||||
<a class="dropdown-option icon-trash delete-plugin-button delete-theme-button" href="{$delete_baseurl}{$theme.ID}">{'Delete'|@translate}</a>
|
||||
{else}
|
||||
<span class="dropdown-option icon-trash delete-plugin-button"title="{$theme.DELETE_TOOLTIP}">{'Delete'|@translate}</span>
|
||||
{/if}
|
||||
{/if}
|
||||
{if $theme.DEACTIVABLE}
|
||||
<a href="{$deactivate_baseurl}{$theme.ID}" class="showInfo-dropdown-action tiptip icon-cancel-circled" title="{'Forbid this theme to users'|@translate}">{'Deactivate'|@translate}</a>
|
||||
|
||||
@@ -1978,7 +1978,7 @@ h2:lang(en) { text-transform:capitalize; }
|
||||
margin-left: 0;
|
||||
box-shadow: 0px 0px 5px #acacac;
|
||||
}
|
||||
.pluginMiniBox a:hover { color: white ;}
|
||||
.PluginOptionsBlock a:hover { color: white ;}
|
||||
.pluginContent {
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
|
||||
Reference in New Issue
Block a user