Adding skin : Espace
authorx2003bruneau <x2003bruneau>
Sun, 3 Oct 2004 13:29:34 +0000 (13:29 +0000)
committerx2003bruneau <x2003bruneau>
Sun, 3 Oct 2004 13:29:34 +0000 (13:29 +0000)
htdocs/css/espace.css [new file with mode: 0644]
htdocs/images/sk_espace_ban.jpg [new file with mode: 0644]
htdocs/images/sk_espace_lesX.gif [new file with mode: 0644]
htdocs/images/sk_espace_logo.gif [new file with mode: 0644]
htdocs/images/sk_espace_menu.jpg [new file with mode: 0644]
htdocs/images/sk_espace_titre.jpg [new file with mode: 0644]
templates/skin/espace.tpl [new file with mode: 0644]

diff --git a/htdocs/css/espace.css b/htdocs/css/espace.css
new file mode 100644 (file)
index 0000000..2af4ed7
--- /dev/null
@@ -0,0 +1,134 @@
+/***************************************************************************
+ *  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                *
+ ***************************************************************************/
+
+a:link, a:visited, a:active, a:hover {
+    color: #0f2c57;
+    background: inherit;
+}
+/*******************************************************************************
+    1   Styles par défauts
+        [ balises sans attributs ou classes sans contexte ]
+*******************************************************************************/
+
+/*body {
+    background: #99afc1;
+    color: #000000;
+}*/
+
+/*******************************************************************************
+    2   Styles <p>, <div>, <span>, <li>
+        [ styles classiques d'effets de texte ]
+*******************************************************************************/
+
+div.rubrique {
+    color: #eeeeee;
+    background-color: #000000;
+    background-image: url( "../images/sk_espace_titre.jpg");
+    background-repeat: no-repeat;
+}
+
+/*******************************************************************************
+    3   Tableaux bicolores + classes utiles
+        [ Tableaux à lignes alternées, en taille normale, ou tiny ]
+*******************************************************************************/
+
+table.tinybicol, table.bicol {
+    background: #eeeeff;
+    border: 1px solid #2f006f;
+    border-collapse: collapse;
+}
+
+table.tinybicol tr, table.bicol tr { }
+table.tinybicol tr.pair, table.bicol tr.pair      { background: #ddddff; }
+table.tinybicol th, table.bicol th {
+    background-color: #2f006f;
+}
+
+/*******************************************************************************
+    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-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_espace_menu.jpg");
+/*border-top: 1px solid #003399;*/
+    border-bottom: none;
+}
+
+#body-menu .menu_item {
+    border-right: none;
+/*    padding-left: 0px;
+    text-align: left;*/
+}
+
+/* vim: set et ts=4 sts=4 sw=4: */
+/* $Id: espace.css,v 1.1 2004-10-03 13:29:45 x2003bruneau Exp $ */
diff --git a/htdocs/images/sk_espace_ban.jpg b/htdocs/images/sk_espace_ban.jpg
new file mode 100644 (file)
index 0000000..7dc79a1
Binary files /dev/null and b/htdocs/images/sk_espace_ban.jpg differ
diff --git a/htdocs/images/sk_espace_lesX.gif b/htdocs/images/sk_espace_lesX.gif
new file mode 100644 (file)
index 0000000..e02dcfb
Binary files /dev/null and b/htdocs/images/sk_espace_lesX.gif differ
diff --git a/htdocs/images/sk_espace_logo.gif b/htdocs/images/sk_espace_logo.gif
new file mode 100644 (file)
index 0000000..94d7373
Binary files /dev/null and b/htdocs/images/sk_espace_logo.gif differ
diff --git a/htdocs/images/sk_espace_menu.jpg b/htdocs/images/sk_espace_menu.jpg
new file mode 100644 (file)
index 0000000..7d3dced
Binary files /dev/null and b/htdocs/images/sk_espace_menu.jpg differ
diff --git a/htdocs/images/sk_espace_titre.jpg b/htdocs/images/sk_espace_titre.jpg
new file mode 100644 (file)
index 0000000..fc3749d
Binary files /dev/null and b/htdocs/images/sk_espace_titre.jpg differ
diff --git a/templates/skin/espace.tpl b/templates/skin/espace.tpl
new file mode 100644 (file)
index 0000000..8202cf4
--- /dev/null
@@ -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: espace.tpl,v 1.1 2004-10-03 13:29:34 x2003bruneau Exp $
+ ***************************************************************************}
+
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
+    {include file=skin/common.header.tpl}
+    <link rel="stylesheet" type="text/css" href="{"css/default.css"|url}" media="screen" />
+    <link rel="stylesheet" type="text/css" href="{"css/espace.css"|url}" media="screen" />
+    {if $xorg_head}
+    {include file=$xorg_head}
+    {/if}
+    {include file=skin/common.bandeau.head.tpl}
+  </head>
+  <body>
+    {include file=skin/common.devel.tpl}
+
+    {if $smarty.session.suid}
+    <table id="suid" cellpadding="0" cellspacing="0">
+      <tr>
+        <td>
+          {dynamic}
+          {$smarty.session.suid} ({$smarty.session.forlife})
+          {/dynamic}
+          [<a href="{"exit.php"|url}">exit</a>]
+        </td>
+      </tr>
+    </table>
+    {/if}
+
+  {if $simple}
+
+    <div id="content">
+      {include file=$xorg_tpl}
+    </div>
+
+  {else}
+
+    {include file=skin/common.bandeau.tpl}
+
+    <table id="body" cellpadding="0" cellspacing="0">
+      <tr>
+        <td id="body-logo">
+          <img src="{"images/sk_espace_logo.gif"|url}" alt="[ LOGO ]" />
+        </td>
+        <td id="body-top">
+          <img src="{"images/sk_espace_ban.jpg"|url}" alt="[ Polytechnique.org ]" />
+          <table>
+            <tr>
+              <td class="date-heure">
+                <script type="text/javascript">
+                  <!--
+                  document.write(getNow());
+                  //-->
+                </script>
+              </td>
+              <td class="inscrits">{insert name="getNbIns"} polytechniciens sur le web</td>
+            </tr>
+          </table>
+          <img src="{"images/sk_espace_lesX.gif"|url}" alt="[LES X SUR LE WEB]" />
+        </td>
+      </tr>
+      <tr>
+        <td id="body-menu">
+          {include_php file=menu.conf.php}
+          {foreach key=menu_title item=menu_list from=$menu}
+          {if $menu_title}
+          <div class="menu_title">{$menu_title}</div>
+          {/if}
+          {foreach key=menu_item item=menu_url from=$menu_list}
+          <div class="menu_item"><a href="{$menu_url|url}">{$menu_item}</a></div>
+          {/foreach}
+          {/foreach}
+          {perms level=admin}
+          <table class="bicol" style="font-weight:normal;text-align:center; border-left:0px; border-right:0px; margin-top:0.5em; width:100%; margin-left: 0; font-size: smaller;">
+            <tr><th>Valid</th></tr>
+            <tr class="impair">
+              <td><a href="{"admin/valider.php"|url}">{insert name="mkStats"}</a></td>
+            </tr>
+          </table>
+          {/perms}
+        </td>
+        <td id="content">
+          {include file=$xorg_tpl}
+        </td>
+      </tr>
+      <tr>
+        <td id="body-bottom" colspan="2">
+          {include file=skin/common.footer.tpl}
+        </td>
+      </tr>
+    </table>
+  {/if}
+  </body>
+</html>
+{* vim:set et sw=2 sts=2 sws=2: *}