Move plugins list CSS to admin default-layout.css.

Layout bug corrected with IE.

git-svn-id: http://piwigo.org/svn/trunk@2619 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
patdenice
2008-09-28 11:29:09 +00:00
parent 68d06d6d49
commit 7bc97f00a4
2 changed files with 16 additions and 13 deletions

View File

@@ -39,6 +39,21 @@ TABLE#detailedStats {
width: 99%;
}
/* Plugins tables */
TABLE.table2 TR TD.pluginState {
padding-left: 16px;
}
TABLE.table2 TR TD.active {
background: url(icon/plugin_active.gif) no-repeat center left;
background-color: inherit; /* IE need it */
}
TABLE.table2 TR TD.inactive {
background: url(icon/plugin_inactive.gif) no-repeat center left;
background-color: inherit; /* IE need it */
}
/* categoryOrdering */
SELECT.categoryList {
width: 100%;

View File

@@ -19,19 +19,7 @@
<td>{'Actions'|@translate}</td>
</tr>
</thead>
{html_head} {*add the style to html head for strict standard compliance*}
<style type="text/css">
TABLE.table2 TR TD.pluginState {ldelim}
padding-left:16px;
}
TABLE.table2 TR TD.active {ldelim}
background: url({$ROOT_URL}{$themeconf.admin_icon_dir}/plugin_active.gif) no-repeat center left
}
TABLE.table2 TR TD.inactive {ldelim}
background: url({$ROOT_URL}{$themeconf.admin_icon_dir}/plugin_inactive.gif) no-repeat center left
}
</style>
{/html_head}
{foreach from=$plugins item=plugin name=plugins_loop}
<tr class="{if $smarty.foreach.plugins_loop.index is odd}row1{else}row2{/if}">
<td class="pluginState{if not empty($plugin.STATE)} {$plugin.STATE}{/if}">