aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2011-09-01 14:01:52 +0000
committerplegall <plg@piwigo.org>2011-09-01 14:01:52 +0000
commit0aed5501195b6969bc8b7d18ed4fbe2f3a8bc5db (patch)
tree50b91670b477b4a7611f13aed98b408f3347aaf8 /admin/themes/default
parentee7768f536c5802dd5d3874f808b3c2c45b4e08e (diff)
plugin manager: replace the top left "Display Compact/Complete" select box by a
simpler link "show details" or "hide details" on top right. git-svn-id: http://piwigo.org/svn/trunk@12029 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default')
-rw-r--r--admin/themes/default/template/plugins_installed.tpl24
-rw-r--r--admin/themes/default/theme.css2
2 files changed, 13 insertions, 13 deletions
diff --git a/admin/themes/default/template/plugins_installed.tpl b/admin/themes/default/template/plugins_installed.tpl
index a27000cec..b10be0401 100644
--- a/admin/themes/default/template/plugins_installed.tpl
+++ b/admin/themes/default/template/plugins_installed.tpl
@@ -49,7 +49,7 @@ jQuery(document).ready(function() {
success: function(data) {
for (i=0;i<data.length;i++) {
{/literal}
- {if $plugin_display == 'complete'}
+ {if $show_details}
jQuery('#'+data[i]+' .pluginBoxNameCell').prepend('<a class="warning" title="'+incompatible_msg+'"></a>')
{else}
jQuery('#'+data[i]+' .pluginMiniBoxNameCell').prepend('<span class="warning" title="'+incompatible_msg+'"></span>')
@@ -87,19 +87,17 @@ jQuery(document).ready(function() {
{/footer_script}
<div class="titrePage">
- <span class="sort">
- <form action="" method="get" name="change_display">
- <input type="hidden" name="page" value="plugins"/>
- {'Display'|@translate} :
- <select name="plugin_display" onchange="this.form.submit();">
- <option value="compact" {if $plugin_diplay=='compact'}selected="selected"{/if}>{'Compact'|@translate}</option>
- <option value="complete" {if $plugin_display=='complete'}selected="selected"{/if}>{'Complete'|@translate}</option>
- </select>
- </form>
- </span>
<h2>{'Plugins'|@translate}</h2>
</div>
+<div class="showDetails">
+ {if $show_details}
+ <a href="{$base_url}&amp;show_details=0">{'hide details'|@translate}</a>
+ {else}
+ <a href="{$base_url}&amp;show_details=1">{'show details'|@translate}</a>
+ {/if}
+</div>
+
{if isset($plugins)}
{assign var='field_name' value='null'} {* <!-- 'counter' for fieldset management --> *}
@@ -134,7 +132,7 @@ jQuery(document).ready(function() {
{/if}
{/if}
- {if $plugin_display == 'complete'}
+ {if $show_details}
<div id="{$plugin.ID}" class="pluginBox {$plugin.STATE}">
<table>
<tr>
@@ -175,7 +173,7 @@ jQuery(document).ready(function() {
</table>
</div> {*<!-- pluginBox -->*}
- {elseif $plugin_display == 'compact'}
+ {else}
{if not empty($plugin.VISIT_URL)}
{assign var='version' value="<a class='externalLink' href='"|cat:$plugin.VISIT_URL|cat:"'>"|cat:$plugin.VERSION|cat:"</a>"}
{else}
diff --git a/admin/themes/default/theme.css b/admin/themes/default/theme.css
index 7b798dc59..f8bf70be1 100644
--- a/admin/themes/default/theme.css
+++ b/admin/themes/default/theme.css
@@ -926,6 +926,7 @@ h2:lang(en) { text-transform:capitalize; }
.warning:before {content:url(icon/warning.png);vertical-align:top;}
.deactivate_all {text-align:right;font-size:0.95em;}
+.showDetails {text-align:right; margin-bottom:-15px; margin-top:-10px; padding-right:1em;}
.languageBoxes {min-height:0;text-align:left;}
.languageBox {display:inline-table; text-align:center; width:200px; height:40px; margin:5px; -moz-border-radius:5px;border-radius:5px; overflow:hidden; }
@@ -1076,3 +1077,4 @@ p#uploadModeInfos {text-align:left;margin-top:1em;font-size:90%;color:#999;}
#uploadProgress {width:650px; margin:10px auto;font-size:90%;}
#progressbar {border:1px solid #ccc; background-color:#eee;}
.ui-progressbar-value { background-image: url(images/pbar-ani.gif); height:10px;margin:-1px;border:1px solid #E78F08;}
+