aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/admin
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-03-06 23:02:02 +0000
committerrub <rub@piwigo.org>2007-03-06 23:02:02 +0000
commitfd50890049fadad1348d4339f4f97ffbf9a5add5 (patch)
tree50bd9e42cea65603eafaecff7796f559874ce154 /template/yoga/admin
parentf797f8c7a179c79b1aabdd4c020efb6329699b8e (diff)
Add tabsheet on administration pages.
Step 1: Refactoring tabsheet on NBM and introduce generic method to add tabsheet.tpl On next commit, use of this new method in order to reduce # of link menu. CSS friend don't hesitate to modify tabsheet css. git-svn-id: http://piwigo.org/svn/trunk@1874 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/yoga/admin/default-layout.css26
-rw-r--r--template/yoga/admin/notification_by_mail.tpl10
-rw-r--r--template/yoga/admin/tabsheet.tpl6
3 files changed, 33 insertions, 9 deletions
diff --git a/template/yoga/admin/default-layout.css b/template/yoga/admin/default-layout.css
index fda57c497..7d6f50502 100644
--- a/template/yoga/admin/default-layout.css
+++ b/template/yoga/admin/default-layout.css
@@ -149,4 +149,28 @@ FIELDSET#generalConf TEXTAREA.description {
height: 10px;
background-color: #66f;
border: 1px solid black;
-} \ No newline at end of file
+}
+
+/* Tabsheet */
+.tabsheet {
+ display: table;
+ list-style-type: none;
+ list-style-image: none; /* for firefox */
+ white-space: nowrap;
+ margin-left: auto; margin-right: auto;
+ text-decoration : none;
+ background: transparent;
+}
+
+.tabsheet li {
+ float: left;
+ text-align: center;
+ margin: 0 6px;
+ color: white;
+ font-size: 120%;
+ font-weight: bold;
+ padding: 4px 8px;
+ border: 1px solid #fff;
+}
+
+/* Tabsheet */
diff --git a/template/yoga/admin/notification_by_mail.tpl b/template/yoga/admin/notification_by_mail.tpl
index 16f66d42d..da7fa808e 100644
--- a/template/yoga/admin/notification_by_mail.tpl
+++ b/template/yoga/admin/notification_by_mail.tpl
@@ -3,14 +3,8 @@
<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:nbm_send_mail_to_users} [{U_TABSHEET_TITLE}]</h2>
- <!-- BEGIN header_link -->
- <h3>
- <a href="{header_link.PARAM_MODE}">{lang:nbm_param_mode}</a> |
- <a href="{header_link.SUBSCRIBE_MODE}">{lang:nbm_subscribe_mode}</a> |
- <a href="{header_link.SEND_MODE}">{lang:nbm_send_mode}</a>
- </h3>
- <!-- END header_link -->
+ <h2>{lang:nbm_send_mail_to_users} {TABSHEET_TITLE}</h2>
+ {TABSHEET}
</div>
<form method="post" name="notification_by_mail" id="notification_by_mail" action="{F_ACTION}">
diff --git a/template/yoga/admin/tabsheet.tpl b/template/yoga/admin/tabsheet.tpl
new file mode 100644
index 000000000..257cfd13e
--- /dev/null
+++ b/template/yoga/admin/tabsheet.tpl
@@ -0,0 +1,6 @@
+<!-- $Id$ -->
+<ul class="tabsheet">
+<!-- BEGIN tab -->
+ <li class="{tab.CLASSNAME}"><a href="{tab.URL}">{tab.CAPTION}</a></li>
+<!-- END tab -->
+</ul>