mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
issue #987 new header/menubar/footer for admin pages
only works fine for "day" mode, not for "night" mode yet
This commit is contained in:
@@ -38,6 +38,10 @@ jQuery(document).ready(function() {
|
||||
jQuery("."+boxType+" .eiw-icon").css("margin-right", "20px");
|
||||
}
|
||||
}
|
||||
|
||||
var page_title = jQuery('h2').html();
|
||||
jQuery('h1').html(page_title);
|
||||
jQuery('h2, .titrePage').hide();
|
||||
});
|
||||
{/footer_script}
|
||||
|
||||
@@ -45,7 +49,7 @@ jQuery(document).ready(function() {
|
||||
<div id="adminHome"><a href="{$U_ADMIN}"><i class="icon-television"></i> {'Dashboard'|@translate}</a></div>
|
||||
|
||||
<dl>
|
||||
<dt><i class="icon-picture"> </i><span>{'Photos'|@translate} </span></dt>
|
||||
<dt><i class="icon-picture"> </i><span>{'Photos'|@translate} </span><i class="icon-down-open open-menu"></i></dt>
|
||||
<dd>
|
||||
<ul>
|
||||
<li><a href="{$U_ADD_PHOTOS}"><i class="icon-plus-circled"></i>{'Add'|@translate}</a></li>
|
||||
@@ -63,7 +67,7 @@ jQuery(document).ready(function() {
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><i class="icon-sitemap"> </i><span>{'Albums'|@translate} </span></dt>
|
||||
<dt><i class="icon-sitemap"> </i><span>{'Albums'|@translate} </span><i class="icon-down-open open-menu"></i></dt>
|
||||
<dd>
|
||||
<ul>
|
||||
<li><a href="{$U_CATEGORIES}"><i class="icon-folder-open"></i>{'Manage'|@translate}</a></li>
|
||||
@@ -72,7 +76,7 @@ jQuery(document).ready(function() {
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><i class="icon-users"> </i><span>{'Users'|@translate} </span></dt>
|
||||
<dt><i class="icon-users"> </i><span>{'Users'|@translate} </span><i class="icon-down-open open-menu"></i></dt>
|
||||
<dd>
|
||||
<ul>
|
||||
<li><a href="{$U_USERS}"><i class="icon-user-add"></i>{'Manage'|@translate}</a></li>
|
||||
@@ -82,7 +86,7 @@ jQuery(document).ready(function() {
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><i class="icon-puzzle"> </i><span>{'Plugins'|@translate} </span></dt>
|
||||
<dt><i class="icon-puzzle"> </i><span>{'Plugins'|@translate} </span><i class="icon-down-open open-menu"></i></dt>
|
||||
<dd>
|
||||
<ul>
|
||||
<li><a href="{$U_PLUGINS}"><i class="icon-equalizer"></i>{'Manage'|@translate}</a></li>
|
||||
@@ -98,7 +102,7 @@ jQuery(document).ready(function() {
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><i class="icon-wrench"> </i><span>{'Tools'|@translate} </span></dt>
|
||||
<dt><i class="icon-wrench"> </i><span>{'Tools'|@translate} </span><i class="icon-down-open open-menu"></i></dt>
|
||||
<dd>
|
||||
<ul>
|
||||
{if $ENABLE_SYNCHRONIZATION}
|
||||
@@ -118,7 +122,7 @@ jQuery(document).ready(function() {
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><i class="icon-cog"> </i><span>{'Configuration'|@translate} </span></dt>
|
||||
<dt><i class="icon-cog"> </i><span>{'Configuration'|@translate} </span><i class="icon-down-open open-menu"></i></dt>
|
||||
<dd>
|
||||
<ul>
|
||||
<li><a href="{$U_CONFIG_GENERAL}"><i class="icon-cog-alt"></i>{'Options'|@translate}</a></li>
|
||||
@@ -133,6 +137,8 @@ jQuery(document).ready(function() {
|
||||
|
||||
<div id="content" class="content">
|
||||
|
||||
<h1>Piwigo Administration Page</h1>
|
||||
|
||||
{if isset($TABSHEET)}
|
||||
{$TABSHEET}
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user