From: x2003bruneau Date: Sun, 3 Oct 2004 11:54:41 +0000 (+0000) Subject: new skin : spectral X-Git-Tag: xorg/old~1454 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=6d20d1a050b486ef14a70f45a5a270f7d18939e6;p=platal.git new skin : spectral --- diff --git a/htdocs/css/default.css b/htdocs/css/default.css index 4a06005..32f4a9e 100644 --- a/htdocs/css/default.css +++ b/htdocs/css/default.css @@ -65,7 +65,7 @@ p.error, span.error, p.erreur, span.erreur { div.rubrique { color: #555555; - background: url('/images/sk_default_titre.gif'); + background: url('../images/sk_default_titre.gif'); background-repeat: no-repeat; text-indent: 0.2em; @@ -579,4 +579,4 @@ div.spacer { clear: both; } } /* vim: set et ts=4 sts=4 sw=4: */ -/* $Id: default.css,v 1.43 2004-09-10 23:52:13 x2000habouzit Exp $ */ +/* $Id: default.css,v 1.44 2004-10-03 11:57:08 x2003bruneau Exp $ */ diff --git a/htdocs/css/spectral.css b/htdocs/css/spectral.css new file mode 100644 index 0000000..0a00554 --- /dev/null +++ b/htdocs/css/spectral.css @@ -0,0 +1,129 @@ +/*************************************************************************** + * 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: #99afc1; + color: #000000; +}*/ + +/******************************************************************************* + 2 Styles

,

, ,
  • + [ styles classiques d'effets de texte ] +*******************************************************************************/ + +div.rubrique { + color: #eeeeee; + background-color: #444444; + background-image: url( "../images/sk_spectral_titre.jpg"); + background-repeat: repeat-x; +} + +/******************************************************************************* + 3 Tableaux bicolores + classes utiles + [ Tableaux à lignes alternées, en taille normale, ou tiny ] +*******************************************************************************/ + +table.tinybicol, table.bicol { + background: #ccddff; + border: 1px solid #0067fe; + border-collapse: collapse; +} + +table.tinybicol tr, table.bicol tr { } +table.tinybicol tr.pair, table.bicol tr.pair { background: #ddffcc; } +table.tinybicol th, table.bicol th { + background-color: #0067fe; +} + +/******************************************************************************* + 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 #305070; + background: #80a0c0; + color: inherit; +} + +div.contact div.long { + background: #99b9d0; + 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-bottom: 1px solid #003399; + border-right: 1px solid #305070; + border-left: none; + border-top: none; +} + +#body-top { + border-bottom: 1px solid #003399; +} + +#body-bottom { + border-top: 1px solid #003399; +} + +#body-menu { + border-right: 1px solid #003399; +} + +#body-menu .menu_title { + color : #000000; + background-color: #ffffff; + background-image: url("../images/sk_spectral_menu.jpg"); + border-top: 1px solid #003399; + border-bottom: 1px solid #003399; +} + +#body-menu .menu_item { + padding-left: 0px; + text-align: left; +} + +/* vim: set et ts=4 sts=4 sw=4: */ +/* $Id: spectral.css,v 1.1 2004-10-03 11:57:08 x2003bruneau Exp $ */ diff --git a/htdocs/images/sk_spectral_ban.jpg b/htdocs/images/sk_spectral_ban.jpg new file mode 100644 index 0000000..0e72b71 Binary files /dev/null and b/htdocs/images/sk_spectral_ban.jpg differ diff --git a/htdocs/images/sk_spectral_lesX.jpg b/htdocs/images/sk_spectral_lesX.jpg new file mode 100644 index 0000000..1426bf0 Binary files /dev/null and b/htdocs/images/sk_spectral_lesX.jpg differ diff --git a/htdocs/images/sk_spectral_logo.gif b/htdocs/images/sk_spectral_logo.gif new file mode 100644 index 0000000..e50d9e5 Binary files /dev/null and b/htdocs/images/sk_spectral_logo.gif differ diff --git a/htdocs/images/sk_spectral_menu.jpg b/htdocs/images/sk_spectral_menu.jpg new file mode 100644 index 0000000..05d5946 Binary files /dev/null and b/htdocs/images/sk_spectral_menu.jpg differ diff --git a/htdocs/images/sk_spectral_titre.jpg b/htdocs/images/sk_spectral_titre.jpg new file mode 100644 index 0000000..77d3ea4 Binary files /dev/null and b/htdocs/images/sk_spectral_titre.jpg differ diff --git a/templates/skin/spectral.tpl b/templates/skin/spectral.tpl new file mode 100644 index 0000000..cf8d30b --- /dev/null +++ b/templates/skin/spectral.tpl @@ -0,0 +1,116 @@ +{*************************************************************************** + * 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: spectral.tpl,v 1.1 2004-10-03 11:54:41 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
    + [LES X 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: *}