From 8eccf7e0d2a9e88e817f02fbc0fbe3daefba2975 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Fri, 2 Nov 2007 23:53:01 +0100 Subject: [PATCH] Skin layout improvements. -> remove breadcrumb (it didn't contains any 'new' information) -> move the 'change my permission' form in the menu -> place plwizard's tab on the top of the 'body' part Signed-off-by: Florent Bruneau --- htdocs/css/xnet.css | 8 +------ templates/xnet/skin.tpl | 58 ++++++++++++------------------------------------- 2 files changed, 15 insertions(+), 51 deletions(-) diff --git a/htdocs/css/xnet.css b/htdocs/css/xnet.css index ce841ef..aa70c6e 100644 --- a/htdocs/css/xnet.css +++ b/htdocs/css/xnet.css @@ -188,12 +188,6 @@ td#menu { * CLASSES ***************************************************************************/ -.breadcrumb { - font-weight: bold; - font-size: 90%; - padding: 0.5em 0em 0em 0.2em; -} - .erreur { color: red !important; } .error { color: red !important; } .center { text-align: center; } @@ -392,8 +386,8 @@ td.infos { ***************************************************************************/ .wizard { + margin-top: 0px; margin-left: -1em; - margin-top: -0.5em; } .wizard .wiz_header { diff --git a/templates/xnet/skin.tpl b/templates/xnet/skin.tpl index 54974af..cd78540 100644 --- a/templates/xnet/skin.tpl +++ b/templates/xnet/skin.tpl @@ -123,7 +123,7 @@ {if $menu && !$simple} - + {foreach from=$menu key=title item=submenu} {if $title neq 'no_title'}

{$title}

{/if} {foreach from=$submenu key=tit item=url} @@ -134,52 +134,22 @@ {/if} {/foreach} {/foreach} - - {if $asso && ($is_admin || - ($smarty.session.suid && ($smarty.session.suid.perms->hasFlag('admin') || - $smarty.session.suid.may_update[$asso.id])))} -
-
-
- voir le site en tant que... - - -
-
-
- {/if} - X.net » - {if $asso} - {$asso.cat|cat_pp} » - {if $asso.dom} - {$asso.domnom} » - {/if} - {$asso.nom} - {elseif $cat} - {$cat|cat_pp} » - {if $dom || !$doms} - {if $cat eq 'promotions'} - Choix de la promotion - {else} - Choix de l'Asso + ($smarty.session.suid && ($smarty.session.suid.perms->hasFlag('admin') || + $smarty.session.suid.may_update[$asso.id])))} +

Voir le site comme...

+
+ +
{/if} - - {include file="skin/common.content.tpl"} @@ -260,6 +230,6 @@ {/if} - + {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} -- 2.1.4