Add tabsheet on administration pages.

Step 3: Tabsheet for configuration & history
        Change css tabsheet to do like p0w0 for all themes


git-svn-id: http://piwigo.org/svn/trunk@1881 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rub
2007-03-08 22:14:14 +00:00
parent eab3d5e20e
commit f266c3b4cb
13 changed files with 124 additions and 30 deletions
+1 -8
View File
@@ -15,7 +15,6 @@
<dd>
<ul>
<li><a href="{U_CONFIG_GENERAL}">{lang:general}</a></li>
<li><a href="{U_CONFIG_COMMENTS}">{lang:comments}</a></li>
<li><a href="{U_CONFIG_DISPLAY}">{lang:conf_default}</a></li>
</ul>
</dd>
@@ -60,13 +59,7 @@
<dt>{lang:special_admin_menu}</dt>
<dd>
<ul>
<li>
{lang:history}
<ul>
<li><a href="{U_HISTORY_STAT}">{lang:Statistics}</a></li>
<li><a href="{U_HISTORY_SEARCH}">{lang:Search}</a></li>
</ul>
</li>
<li><a href="{U_HISTORY_STAT}">{lang:history}</a></li>
<li><a href="{U_MAINTENANCE}">{lang:Maintenance}</a></li>
<li><a href="{U_ADVANCED_FEATURE}">{lang:Advanced_features}</a></li>
<!-- BEGIN web_services -->
+2 -7
View File
@@ -3,15 +3,14 @@
<ul class="categoryActions">
<li><a href="{U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}"><img src="{themeconf:icon_dir}/help.png" class="button" alt="(?)"></a></li>
</ul>
<h2>{lang:title_configuration}</h2>
<h2>{lang:title_configuration} {TABSHEET_TITLE}</h2>
{TABSHEET}
</div>
<form method="post" action="{F_ACTION}" class="properties">
<!-- BEGIN general -->
<fieldset id="generalConf">
<legend>{lang:conf_general_title}</legend>
<ul>
<li>
<span class="property">
@@ -91,8 +90,6 @@
<!-- BEGIN comments -->
<fieldset id="commentsConf">
<legend>{lang:conf_comments_title}</legend>
<ul>
<li>
<label>
@@ -135,8 +132,6 @@
<!-- END comments -->
<!-- BEGIN default -->
<fieldset id="commentsConf">
<legend>{lang:conf_default_title}</legend>
<ul>
<li>
<span class="property">
+5 -1
View File
@@ -160,6 +160,7 @@ FIELDSET#generalConf TEXTAREA.description {
margin-left: auto; margin-right: auto;
text-decoration : none;
background: transparent;
border-bottom: 1px solid #fff;
}
.tabsheet li {
@@ -167,10 +168,13 @@ FIELDSET#generalConf TEXTAREA.description {
text-align: center;
margin: 0 6px;
color: white;
font-size: 120%;
font-size: 110%;
font-weight: bold;
padding: 4px 8px;
border: 1px solid #fff;
border-radius: 6px 6px 0px 0px; /* round corners with CSS3 compliant browsers */
-moz-border-radius: 6px 6px 0px 0px; /* round corners with CSS3 compliant browsers */
padding: 5px 2em 2px 2em;
}
/* Tabsheet */
+2 -1
View File
@@ -10,7 +10,8 @@
</a>
</li>
</ul>
<h2>{lang:History}</h2>
<h2>{lang:History} {TABSHEET_TITLE}</h2>
{TABSHEET}
</div>
<form class="filter" method="post" name="filter" action="{F_ACTION}">
+15 -1
View File
@@ -1,5 +1,19 @@
<!-- $Id$ -->
<h2>{lang:title_history}</h2>
<div class="titrePage">
<ul class="categoryActions">
<li>
<a
href="{U_HELP}"
onclick="popuphelp(this.href); return false;"
title="{lang:Help}"
>
<img src="{themeconf:icon_dir}/help.png" class="button" alt="(?)">
</a>
</li>
</ul>
<h2>{lang:History} {TABSHEET_TITLE}</h2>
{TABSHEET}
</div>
<h3>{L_STAT_TITLE}</h3>
+4 -4
View File
@@ -277,14 +277,14 @@ input.submit:active {
.qsearch { font-size: 80%; font-style: italic; }
* { outline: none; }
.tabsheet { border-bottom: 1px solid #369; }
.tabsheet {
border-bottom: 1px solid #369;
}
.tabsheet li {
background: #369;
color: white;
border: 1px solid #fff;
border-radius: 6px 6px 0px 0px; /* round corners with CSS3 compliant browsers */
-moz-border-radius: 6px 6px 0px 0px; /* round corners with CSS3 compliant browsers */
padding: 5px 2em 2px 2em;
}
.tabsheet a {