source: trunk/admin/template/goto/header.tpl @ 5098

Last change on this file since 5098 was 5098, checked in by plg, 14 years ago

feature 1491: administration panel header/footer. Graphicaly outside the
administration theme. The header includes the gallery title with a link to
gallery, a theme changer, an explicit "visit gallery" link, a logout link.
The footer includes links to piwigo.org (homepage, documentation, forum) and
the contact webmaster link.

Due to new header/footer, I've removed the "Links" section in the menubar.

The new footer sticks to the bottom of the browser window.

I've slightly "rounded" grum tabs to look like the menubar borders.

Graphical illustration (top left and bottom left leaves) were removed to
improve readability. They make things beautiful on gallery side, they
decrease usability on admin side.

Piwigo logo was removed to save space on administration footer. It would be
nice to have a small logo to place bottom left in the footer next to
"Powered by Piwigo".

Links>Administration link was replaced by a big link box just above the
menubar.

The H2 was outside the #content box, nearly invisible on top right corner.
Now it is 1) easy to read 2) inside #content.

feature 1490: ability to switch from goto/roma to goto/clear with a single
click in administration header.

The global organisation of the page is quite heavily changed. The global
layout is:

body#theAdminPage
body#theAdminPage > #the_page
body#theAdminPage > #the_page > #pwgHead
body#theAdminPage > #the_page > #pwgMain
body#theAdminPage > #the_page > #pwgMain > #menubar
body#theAdminPage > #the_page > #pwgMain > #content
body#theAdminPage > #the_page > #footer

  • Property svn:eol-style set to LF
File size: 2.9 KB
Line 
1{*
2
3          Warning : This is the admin pages header only
4          don't confuse with the public page header
5
6*}
7<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
8"http://www.w3.org/TR/html4/strict.dtd">
9<html lang="{$lang_info.code}" dir="{$lang_info.direction}">
10<head>
11<meta http-equiv="Content-Type" content="text/html; charset={$CONTENT_ENCODING}">
12<meta name="generator" content="Piwigo (aka PWG), see piwigo.org">
13<title>{$GALLERY_TITLE} :: {$PAGE_TITLE}</title>
14<link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}template-common/favicon.ico">
15
16<link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/template/{$themeconf.template}/layout.css">
17<!--[if lt IE 7]>
18  <link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/template/{$themeconf.template}/fix-ie5-ie6.css">
19<![endif]-->
20<link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/template/{$themeconf.template}/default-colors.css">
21<link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/template/{$themeconf.template}/theme/{$themeconf.theme}/theme.css">
22{known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js" now=1} {*jQuery is always available by default*}
23{$themeconf.local_head}
24<script type="text/javascript" src="{$ROOT_URL}template-common/scripts.js"></script>
25<!--[if lt IE 7]>
26<style>
27  {* only because we need {$ROOT_URL} otherwise use fix-ie5-ie6.css *}
28  BODY {ldelim} behavior:url("{$ROOT_URL}template-common/csshover.htc"); }
29  A IMG, .button, .icon {ldelim}
30    behavior:url("{$ROOT_URL}template-common/tooltipfix.htc");
31  }
32  FORM {ldelim} behavior: url("{$ROOT_URL}template-common/inputfix.htc"); }
33</style>
34<script type="text/javascript" src="{$ROOT_URL}template-common/pngfix.js"></script>
35<![endif]-->
36
37{if not empty($head_elements)}
38{foreach from=$head_elements item=elt}
39{$elt}
40{/foreach}
41{/if}
42
43</head>
44
45<body id="{$BODY_ID}">
46
47<div id="the_page">
48
49<div id="pwgHead">
50  <h1>
51    <a href="{$U_RETURN}" title="Visit Gallery">
52      <img src="admin/template/goto/icon/home.png" alt="{'Home'|@translate}">
53      {$GALLERY_TITLE}
54    </a>
55  </h1>
56
57  <div id="headActions">
58    Hello {$USERNAME} :
59    <a href="{$U_RETURN}" title="Visit Gallery">Visit Gallery</a> |
60    <a href="{$U_CHANGE_THEME}" title="Switch to clear theme for administration">Change Theme</a> |
61    <a href="{$U_LOGOUT}">{'Logout'|@translate}</a>
62    <a href="{$U_FAQ}" title="{'Instructions'|@translate}" id="instructions"><img style="padding-left:10px;" src="{$ROOT_URL}admin/template/goto/icon/help.png" class="button" alt="(?)"></a>
63  </div>
64</div>
65
66<div style="clear:both;"></div>
67
68{if not empty($header_msgs)}
69<div class="header_msgs">
70  {foreach from=$header_msgs item=elt}
71  {$elt}
72  {/foreach}
73</div>
74{/if}
75
76<div id="theHeader">{*$PAGE_BANNER*}</div>
77
78{if not empty($header_notes)}
79<div class="header_notes">
80  {foreach from=$header_notes item=elt}
81  {$elt}
82  {/foreach}
83</div>
84{/if}
85
86<div id="pwgMain">
Note: See TracBrowser for help on using the repository browser.