From: x2003bruneau Date: Sun, 3 Oct 2004 15:27:00 +0000 (+0000) Subject: Adding skin : HumLinux X-Git-Tag: xorg/old~1451 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=2ff110b3ac3d36c3006d240aa4630894381cd2e1;p=platal.git Adding skin : HumLinux Still a problem with the background --- diff --git a/htdocs/css/espace.css b/htdocs/css/espace.css index 2af4ed7..914e945 100644 --- a/htdocs/css/espace.css +++ b/htdocs/css/espace.css @@ -71,16 +71,16 @@ table.tinybicol th, table.bicol th { [ Styles liés à l'affichage de contacts ] *******************************************************************************/ -/*div.contact-list div.contact { +div.contact-list div.contact { border-top: 1px solid #305070; - background: #80a0c0; + background: #ccddff; color: inherit; } div.contact div.long { - background: #99b9d0; + background: #ffffff; color: inherit; -}*/ +} /******************************************************************************* 6 Profil @@ -131,4 +131,4 @@ div.contact div.long { } /* vim: set et ts=4 sts=4 sw=4: */ -/* $Id: espace.css,v 1.1 2004-10-03 13:29:45 x2003bruneau Exp $ */ +/* $Id: espace.css,v 1.2 2004-10-03 15:27:06 x2003bruneau Exp $ */ diff --git a/htdocs/css/humlinux.css b/htdocs/css/humlinux.css new file mode 100644 index 0000000..524962f --- /dev/null +++ b/htdocs/css/humlinux.css @@ -0,0 +1,117 @@ +/*************************************************************************** + * Copyright (C) 2003-2004 Polytechnique.org * + * http://opensource.polytechnique.org/ * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the Free Software * + * Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * + ***************************************************************************/ + +/******************************************************************************* + 1 Styles par défauts + [ balises sans attributs ou classes sans contexte ] +*******************************************************************************/ + +body { + background-image: url("../images/sk_humlinux_background.jpg"); + background-repeat: repeat-y; + background-position: top; +} + +/******************************************************************************* + 2 Styles

,

, ,
  • + [ styles classiques d'effets de texte ] +*******************************************************************************/ + +div.rubrique { + color: #000000; + background-color: #dddddd; + background-image: url( "../images/sk_humlinux_titre.jpg"); + background-repeat: no-repeat; +} + +/******************************************************************************* + 3 Tableaux bicolores + classes utiles + [ Tableaux à lignes alternées, en taille normale, ou tiny ] +*******************************************************************************/ + +/******************************************************************************* + 4 Tableau de choix de skins + [ Styles pour les tableaux de types de ceux des skins ] +*******************************************************************************/ + +/******************************************************************************* + 5 Contacts + [ Styles liés à l'affichage de contacts ] +*******************************************************************************/ + +div.contact-list div.contact { + border-top: 1px solid #000000; + background: #eeeeee; + color: inherit; +} + +div.contact div.long { + background: #dddddd; + color: inherit; +} + +/******************************************************************************* + 6 Profil + [ onglets des profils ] +*******************************************************************************/ + +/******************************************************************************* + 7 fiche.php + [ cas de la fiche ] +*******************************************************************************/ + +/******************************************************************************* + A SKIN + [ choix de classes faites par le skinneur +*******************************************************************************/ + +#body-logo { + border-top: none; + border-bottom: none; + border-right: none; + border-left: none; +} + +#body-top { + border-bottom: 2px solid #777777; +} + +#body-bottom { + border-top: 1px solid #777777; +} + +#body-menu { + border-right: none; +} + +#body-menu .menu_title { + color : #ffffff; + background-color: #dddddd; + background-image: url("../images/sk_humlinux_menu.jpg"); + border-top: none; + border-bottom: none; +} + +#body-menu .menu_item { + border-right: none; +} + +/* vim: set et ts=4 sts=4 sw=4: */ +/* $Id: humlinux.css,v 1.1 2004-10-03 15:27:06 x2003bruneau Exp $ */ diff --git a/htdocs/css/spectral.css b/htdocs/css/spectral.css index 0a00554..617919f 100644 --- a/htdocs/css/spectral.css +++ b/htdocs/css/spectral.css @@ -67,16 +67,16 @@ table.tinybicol th, table.bicol th { [ Styles liés à l'affichage de contacts ] *******************************************************************************/ -/*div.contact-list div.contact { +div.contact-list div.contact { border-top: 1px solid #305070; - background: #80a0c0; + background: #ccddff; color: inherit; } div.contact div.long { - background: #99b9d0; + background: #0067fe; color: inherit; -}*/ +} /******************************************************************************* 6 Profil @@ -126,4 +126,4 @@ div.contact div.long { } /* vim: set et ts=4 sts=4 sw=4: */ -/* $Id: spectral.css,v 1.1 2004-10-03 11:57:08 x2003bruneau Exp $ */ +/* $Id: spectral.css,v 1.2 2004-10-03 15:27:06 x2003bruneau Exp $ */ diff --git a/htdocs/images/sk_humlinux_background.jpg b/htdocs/images/sk_humlinux_background.jpg new file mode 100644 index 0000000..bdb9275 Binary files /dev/null and b/htdocs/images/sk_humlinux_background.jpg differ diff --git a/htdocs/images/sk_humlinux_ban.gif b/htdocs/images/sk_humlinux_ban.gif new file mode 100644 index 0000000..7540466 Binary files /dev/null and b/htdocs/images/sk_humlinux_ban.gif differ diff --git a/htdocs/images/sk_humlinux_logo.gif b/htdocs/images/sk_humlinux_logo.gif new file mode 100644 index 0000000..843cd8c Binary files /dev/null and b/htdocs/images/sk_humlinux_logo.gif differ diff --git a/htdocs/images/sk_humlinux_menu.jpg b/htdocs/images/sk_humlinux_menu.jpg new file mode 100644 index 0000000..c7840fa Binary files /dev/null and b/htdocs/images/sk_humlinux_menu.jpg differ diff --git a/templates/skin/humlinux.tpl b/templates/skin/humlinux.tpl new file mode 100644 index 0000000..c5f0478 --- /dev/null +++ b/templates/skin/humlinux.tpl @@ -0,0 +1,115 @@ +{*************************************************************************** + * Copyright (C) 2003-2004 Polytechnique.org * + * http://opensource.polytechnique.org/ * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the Free Software * + * Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * + *************************************************************************** + $Id: humlinux.tpl,v 1.1 2004-10-03 15:27:00 x2003bruneau Exp $ + ***************************************************************************} + + + + + + {include file=skin/common.header.tpl} + + + {if $xorg_head} + {include file=$xorg_head} + {/if} + {include file=skin/common.bandeau.head.tpl} + + + {include file=skin/common.devel.tpl} + + {if $smarty.session.suid} + + + + +
    + {dynamic} + {$smarty.session.suid} ({$smarty.session.forlife}) + {/dynamic} + [exit] +
    + {/if} + + {if $simple} + +
    + {include file=$xorg_tpl} +
    + + {else} + + {include file=skin/common.bandeau.tpl} + + + + + + + + + + + + + +
    + [ Polytechnique.org ] + + + + + +
    + + {insert name="getNbIns"} polytechniciens sur le web
    +
    + {include_php file=menu.conf.php} + {foreach key=menu_title item=menu_list from=$menu} + {if $menu_title} + + {/if} + {foreach key=menu_item item=menu_url from=$menu_list} + + {/foreach} + {/foreach} + {perms level=admin} + + + + + +
    Valid
    {insert name="mkStats"}
    + {/perms} +
    + {include file=$xorg_tpl} +
    + {include file=skin/common.footer.tpl} +
    + {/if} + + +{* vim:set et sw=2 sts=2 sws=2: *}