From 1219afb96d119c1c3ac3086a6e905ce55b0b0228 Mon Sep 17 00:00:00 2001 From: "Pierre Habouzit (MadCoder" Date: Thu, 28 Apr 2005 13:13:48 +0000 Subject: [PATCH] some cleaning, and css improvements wrt tables that now look really nicer git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-606 --- htdocs.net/css/xnet.css | 20 +++++++++++++++ templates/xnet/admin.tpl | 2 +- templates/xnet/groupe/annuaire.tpl | 18 +++++-------- templates/xnet/groupe/asso.tpl | 4 +-- templates/xnet/groupe/edit.tpl | 19 +++++++------- templates/xnet/groupe/listes-create.tpl | 4 +-- templates/xnet/groupe/listes.tpl | 29 ++++++++++++--------- templates/xnet/groupe/membres-edit.tpl | 8 +++--- templates/xnet/include/membre_ext.tpl | 45 --------------------------------- templates/xnet/include/membre_x.tpl | 39 ---------------------------- 10 files changed, 62 insertions(+), 126 deletions(-) delete mode 100644 templates/xnet/include/membre_ext.tpl delete mode 100644 templates/xnet/include/membre_x.tpl diff --git a/htdocs.net/css/xnet.css b/htdocs.net/css/xnet.css index 5cd8c06..32ec87c 100644 --- a/htdocs.net/css/xnet.css +++ b/htdocs.net/css/xnet.css @@ -150,6 +150,8 @@ p.descr { padding-right: 7px; } +table { border-collapse: collapse; } + table.links { width: 100%; margin: 0.4em 0em; @@ -167,8 +169,26 @@ table.links a { table td.titre { font-weight: bold; + 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.normal td { border: none; } + +table.tiny td, table.tinybicol td, table.large td, table.bicol td { + border: 1px solid gray; + padding: 2px; +} +table.tiny th, table.tinybicol th, table.large th, table.bicol th { + border: 1px solid gray; + border-top-width: 2px; + border-bottom-width: 2px; + padding: 2px; } +th { background: #d0c198; } + /*************************************************************************** * Special pages ***************************************************************************/ diff --git a/templates/xnet/admin.tpl b/templates/xnet/admin.tpl index 90c6ffb..e290124 100644 --- a/templates/xnet/admin.tpl +++ b/templates/xnet/admin.tpl @@ -46,7 +46,7 @@

Administration des groupes X.net

- +
{foreach from=$assos item=a key=i name=all} {if $i is even}{/if} diff --git a/templates/xnet/groupe/annuaire.tpl b/templates/xnet/groupe/annuaire.tpl index 45f0d50..1c24c82 100644 --- a/templates/xnet/groupe/annuaire.tpl +++ b/templates/xnet/groupe/annuaire.tpl @@ -45,20 +45,18 @@ Fonctionnalit {/foreach}

-
delete
+
- - - + + + {if $admin} - - - - + + {/if} {iterate from=$ann item=m} - + {if $admin} - - {/if} diff --git a/templates/xnet/groupe/asso.tpl b/templates/xnet/groupe/asso.tpl index 0b0b9f7..4c118e4 100644 --- a/templates/xnet/groupe/asso.tpl +++ b/templates/xnet/groupe/asso.tpl @@ -26,7 +26,7 @@

{$asso.nom} : Accueil

-
prénom et nompromotionfiche X.org / carte / lui écrirePrénom NOMPromoInfosadminéditer un profildésinscrireÉditersuppr.
{if $m.femme}•{/if}{$m.prenom} {$m.nom} {$m.promo} @@ -71,8 +69,6 @@ Fonctionnalit {/if} {if $m.admin}×{else} {/if} Edition du profil Suppression de {$m.prenom} {$m.nom}
+
{if $asso.site} - diff --git a/templates/xnet/groupe/edit.tpl b/templates/xnet/groupe/edit.tpl index 919aed6..c760301 100644 --- a/templates/xnet/groupe/edit.tpl +++ b/templates/xnet/groupe/edit.tpl @@ -23,8 +23,8 @@

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

-
@@ -64,7 +64,7 @@ {/if}
+ TODO: INSCRIPTION
- {perms level=admin} + {perms level=admin} +
- - - - {/perms} - +
Nom: @@ -43,7 +43,7 @@
- Nom de Domaine: + Domaine DNS: @@ -70,16 +70,15 @@
 
+

+ {/perms} + - diff --git a/templates/xnet/groupe/listes-create.tpl b/templates/xnet/groupe/listes-create.tpl index acff263..090dde2 100644 --- a/templates/xnet/groupe/listes-create.tpl +++ b/templates/xnet/groupe/listes-create.tpl @@ -32,7 +32,7 @@ Si tu as besoin de cette fonctionnalit un alias qui, lui, est capable de regrouper plusieurs listes.

-
Logo: @@ -126,7 +125,7 @@
+ TODO: INSCRIPTION
+
@@ -51,7 +51,7 @@ Si tu as besoin de cette fonctionnalit
Caractéristiques de la Liste
Propriétés : - +
visibilité : diff --git a/templates/xnet/groupe/listes.tpl b/templates/xnet/groupe/listes.tpl index 5eaf953..86ec22b 100644 --- a/templates/xnet/groupe/listes.tpl +++ b/templates/xnet/groupe/listes.tpl @@ -47,7 +47,7 @@ la liste. Dans le premier cas, une croix rouge te permet de te d croix verte te permet de t'inscrire, après accord des responsables si l'inscription est modérée.

- +
@@ -92,17 +92,22 @@ t'emp

Voici les alias existants pour le groupe {$asso.nom} :

{if $alias->total()} -

-{iterate from=$alias item=a} -{if $may_update} -[mail] -{$a.alias} -[supprimer]
-{else} -[mail] {$a.alias}
-{/if} -{/iterate} -

+
Liste Description
+ + Alias + + {iterate from=$alias item=a} + + {if $may_update} + + + + {else} + + {/if} + + {/iterate} +
[mail]{$a.alias}[supprimer][mail] {$a.alias}
{else}

Aucun alias pour ce groupe

{/if} diff --git a/templates/xnet/groupe/membres-edit.tpl b/templates/xnet/groupe/membres-edit.tpl index e2425e8..859e987 100644 --- a/templates/xnet/groupe/membres-edit.tpl +++ b/templates/xnet/groupe/membres-edit.tpl @@ -31,10 +31,10 @@ - +
- Permissions : + Permissions: +
@@ -99,7 +99,7 @@

Abonnement aux alias

-
  Liste
+
diff --git a/templates/xnet/include/membre_ext.tpl b/templates/xnet/include/membre_ext.tpl deleted file mode 100644 index 5463db8..0000000 --- a/templates/xnet/include/membre_ext.tpl +++ /dev/null @@ -1,45 +0,0 @@ -{*************************************************************************** - * 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 * - ***************************************************************************} - -

Ajout d'un membre extérieur

- -
  Alias
- - - - - - - - - - - - - - - -
Nom :
Prénom :
Email :
- - -
- - -{* vim:set et sw=2 sts=2 sws=2: *} diff --git a/templates/xnet/include/membre_x.tpl b/templates/xnet/include/membre_x.tpl deleted file mode 100644 index 766dd46..0000000 --- a/templates/xnet/include/membre_x.tpl +++ /dev/null @@ -1,39 +0,0 @@ -{*************************************************************************** - * 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 * - ***************************************************************************} - -

Ajout d'un membre polytechnicien

-
-

- Identifiant X.org (prenom.nom) : - -

-

- Permissions sur ce groupe : -

- -
- -
-
- -{* vim:set et sw=2 sts=2 sws=2: *} -- 2.1.4