From: x2003bruneau Date: Mon, 24 Jul 2006 14:01:37 +0000 (+0000) Subject: Rework xnet skin : X-Git-Tag: xorg/0.9.11~281 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=49848fd79d1f227525ca127dc106ec6fc7ebf5a4;p=platal.git Rework xnet skin : * smaller menu and texts * group icon in title bar git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@627 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/htdocs.net/css/xnet.css b/htdocs.net/css/xnet.css index 894dd7f..28710f7 100644 --- a/htdocs.net/css/xnet.css +++ b/htdocs.net/css/xnet.css @@ -31,7 +31,11 @@ table, body { font-family: "Bitstream vera sans","Verdana",sans-serif; } -input,textarea,select,option,tt,pre { +input,textarea,select,option { + font-size: 9pt; +} + +tt,pre { font-size: 10pt; } @@ -41,8 +45,8 @@ a img { border: none; } img { vertical-align: middle; } td { vertical-align: top; } -h1 { font-size: 150%; } -h2 { font-size: 130%; } +h1 { font-size: 130%; } +h2 { font-size: 115%; } /*************************************************************************** * DEBUG @@ -71,10 +75,20 @@ table#layout { margin-right: auto; } -tr#top td { +#top { + width: 765px; +} + +#top td { + padding: 0; + margin: 0; vertical-align: middle; } +#top td.logo { + text-align: right; +} + td#credits { text-align: center; font-size: 90%; @@ -106,23 +120,24 @@ td#search { } td#menu { - width: 150px; + width: 130px; padding-right: 1em; font-family: "Trebuchet MS", "Arial",sans-serif; font-weight: bold; } #menu h1 { - padding: 0.5em 0em 0.6em 0em; - font-size: 90%; + padding: 0.5em 0em 0.8em 0em; + font-size: 85%; text-align: center; + width: 130px; background: url('../images/barre.png') bottom left no-repeat; } #menu a { display: block; padding: 0.2em 0em 0.2em 15px; - font-size: 90%; + font-size: 85%; background: url('../images/puce.png') no-repeat center left; } @@ -172,8 +187,18 @@ table td.titre { white-space: nowrap; } -table.tiny, table.tinybicol { width: 70%; margin-left: 15%; border: 2px solid gray; } -table.large, table.bicol { width: 96%; margin-left: 2%; border: 2px solid gray; } +table.tiny, table.tinybicol { + width: 70%; + margin-left: 15%; + border: 2px solid gray; + font-size: 85%; +} +table.large, table.bicol { + width: 96%; + margin-left: 2%; + border: 2px solid gray; + font-size: 85%; +} table.tiny td, table.tinybicol td, table.large td, table.bicol td { border: 1px solid gray; diff --git a/htdocs.net/images/bandeau.jpg b/htdocs.net/images/bandeau.jpg new file mode 100644 index 0000000..a4d803d Binary files /dev/null and b/htdocs.net/images/bandeau.jpg differ diff --git a/htdocs.net/images/fin_logo.jpg b/htdocs.net/images/fin_logo.jpg new file mode 100644 index 0000000..435165c Binary files /dev/null and b/htdocs.net/images/fin_logo.jpg differ diff --git a/htdocs.net/images/texte_binets.jpg b/htdocs.net/images/texte_binets.jpg index cb1ba39..467c7fc 100644 Binary files a/htdocs.net/images/texte_binets.jpg and b/htdocs.net/images/texte_binets.jpg differ diff --git a/htdocs.net/images/texte_evenements.jpg b/htdocs.net/images/texte_evenements.jpg index e7dd082..ec962d7 100644 Binary files a/htdocs.net/images/texte_evenements.jpg and b/htdocs.net/images/texte_evenements.jpg differ diff --git a/htdocs.net/images/texte_groupesx.jpg b/htdocs.net/images/texte_groupesx.jpg index c8df5df..b6118b5 100644 Binary files a/htdocs.net/images/texte_groupesx.jpg and b/htdocs.net/images/texte_groupesx.jpg differ diff --git a/htdocs.net/images/texte_institutions.jpg b/htdocs.net/images/texte_institutions.jpg index f803676..3473c4d 100644 Binary files a/htdocs.net/images/texte_institutions.jpg and b/htdocs.net/images/texte_institutions.jpg differ diff --git a/htdocs.net/images/texte_plan.jpg b/htdocs.net/images/texte_plan.jpg index df9ce65..7c3dfae 100644 Binary files a/htdocs.net/images/texte_plan.jpg and b/htdocs.net/images/texte_plan.jpg differ diff --git a/htdocs.net/images/texte_promotions.jpg b/htdocs.net/images/texte_promotions.jpg index 94f1a89..2684aa9 100644 Binary files a/htdocs.net/images/texte_promotions.jpg and b/htdocs.net/images/texte_promotions.jpg differ diff --git a/htdocs.net/images/texte_recherche.jpg b/htdocs.net/images/texte_recherche.jpg index ba826d3..28d1d85 100644 Binary files a/htdocs.net/images/texte_recherche.jpg and b/htdocs.net/images/texte_recherche.jpg differ diff --git a/templates/xnet/groupe/asso.tpl b/templates/xnet/groupe/asso.tpl index c1e6737..f144b0d 100644 --- a/templates/xnet/groupe/asso.tpl +++ b/templates/xnet/groupe/asso.tpl @@ -20,12 +20,6 @@ {* *} {**************************************************************************} -{if $asso.site} -LOGO -{else} -LOGO -{/if} -

{$asso.nom} : Accueil

diff --git a/templates/xnet/groupe/edit.tpl b/templates/xnet/groupe/edit.tpl index e41e827..1a2add4 100644 --- a/templates/xnet/groupe/edit.tpl +++ b/templates/xnet/groupe/edit.tpl @@ -20,8 +20,6 @@ {* *} {**************************************************************************} -LOGO -

{$asso.nom} : Éditer l'accueil

diff --git a/templates/xnet/skin.tpl b/templates/xnet/skin.tpl index 3ba34e0..de34b78 100644 --- a/templates/xnet/skin.tpl +++ b/templates/xnet/skin.tpl @@ -59,15 +59,36 @@
{if $xnet_type} - - - + {else} @@ -75,12 +96,12 @@ - - + {/if} {if $menu} @@ -93,7 +114,7 @@ {/foreach} {/foreach} - {else} - - + -
- Logo Assos - - Logo {$xnet_type} -
- {$xnet_type} + + + + + + + + + +
+ Logo Assos + + Logo {$xnet_type} + + Fin logo + + bandeau + + {if $asso} + {if $asso.site} + LOGO + {else} + LOGO + {/if} + {/if} +
LOGO Assos + LOGO X.Org titre_du_site
----------
----------
+
+ {include file="skin/common.content.tpl"}
----------
----------
+ @@ -137,10 +158,10 @@ {/if} - + - - + - {foreach from=$listes item=l} - -