git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-606
padding-right: 7px;
}
+table { border-collapse: collapse; }
+
table.links {
width: 100%;
margin: 0.4em 0em;
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
***************************************************************************/
<h1>Administration des groupes X.net</h1>
-<table cellspacing="0" cellpadding="0">
+<table cellspacing="0" cellpadding="0" class='large'>
{foreach from=$assos item=a key=i name=all}
{if $i is even}<tr>{/if}
<td><a href='?del={$a.diminutif}'><img src='{rel}/images/del.png' alt='delete' /></a></td>
{/foreach}
</p>
-<table summary="membres du groupe" style="width: 100%">
+<table summary="membres du groupe" class="{if $admin}large{else}tiny{/if}">
<tr>
- <th>prénom et nom</th>
- <th>promotion</th>
- <th>fiche X.org / carte / lui écrire</th>
+ <th>Prénom NOM</th>
+ <th>Promo</th>
+ <th>Infos</th>
{if $admin}
- <th></th>
- <th>admin</th>
- <th>éditer un profil</th>
- <th>désinscrire</th>
+ <th>Éditer</th>
+ <th>suppr.</th>
{/if}
</tr>
{iterate from=$ann item=m}
- <tr>
+ <tr {if $m.admin}style="background:#d0c198;"{/if}>
<td>{if $m.femme}•{/if}{$m.prenom} {$m.nom}</td>
<td>{$m.promo}</td>
<td>
{/if}
</td>
{if $admin}
- <td></td>
- <td>{if $m.admin}×{else} {/if}</td>
<td><a href="membres-edit.php?edit={$m.email}"><img src="{rel}/images/profil.png" alt="Edition du profil" /></a></td>
<td><a href="membres-edit.php?del={$m.email}"><img src="{rel}/images/del.png" alt="Suppression de {$m.prenom} {$m.nom}" /></a></td>
{/if}
<h1>{$asso.nom} : Accueil</h1>
-<table cellpadding="0" cellspacing="0">
+<table cellpadding="0" cellspacing="0" class='tiny'>
{if $asso.site}
<tr>
<td class="titre">
{/if}
<tr>
- <td class="titre">
+ <td class="titre" colspan="2">
<strong>TODO: INSCRIPTION</strong>
</td>
</tr>
<h1>{$asso.nom} : Éditer l'accueil</h1>
<form method="post" action="{$smarty.server.PHP_SELF}" enctype="multipart/form-data">
- <table cellpadding="0" cellspacing="0">
- {perms level=admin}
+ {perms level=admin}
+ <table cellpadding="0" cellspacing="0" class='tiny'>
<tr>
<td class="titre">
Nom:
</tr>
<tr>
<td class="titre">
- Nom de Domaine:
+ Domaine DNS:
</td>
<td>
<input type="text" size="40" value="{$asso.mail_domain}" name="mail_domain" />
<select name="dom">
<option value=""></option>
{iterate from=$dom item=d}
- <option value="{$d.id}" {if $d.id eq $asso.id}selected="selected"{/if}>{$d.nom} [{$d.cat}]</option>
+ <option value="{$d.id}" {if $d.id eq $asso.dom}selected="selected"{/if}>{$d.nom} [{$d.cat}]</option>
{/iterate}
</select>
</td>
</tr>
- <tr>
- <td colspan="2"> </td>
- </tr>
- {/perms}
-
+ </table>
+ <p></p>
+ {/perms}
+ <table cellpadding="0" cellspacing="0" class='tiny'>
<tr>
<td class="titre">
Logo:
</tr>
<tr>
- <td class="titre">
+ <td class="titre" colspan="2">
<strong>TODO: INSCRIPTION</strong>
</td>
</tr>
<a href="alias-create.php">un alias</a> qui, lui, est capable de regrouper plusieurs listes.
</p>
<form action='{$smarty.server.PHP_SELF}' method='post'>
- <table>
+ <table class="large">
<tr>
<th colspan='2'>Caractéristiques de la Liste</th>
</tr>
<tr>
<td><strong>Propriétés :</strong></td>
<td>
- <table style='width: 100%'>
+ <table style='width: 100%' class="normal">
<tr>
<td>visibilité :</td>
<td>
croix verte te permet de t'inscrire, après accord des responsables si l'inscription est modérée.
</p>
-<table cellpadding="0" cellspacing="0" style="width: 100%;">
+<table cellpadding="0" cellspacing="0" class='large'>
<tr>
<th>Liste</th>
<th>Description</th>
<h2>Voici les alias existants pour le groupe {$asso.nom} :</h2>
{if $alias->total()}
-<p>
-{iterate from=$alias item=a}
-{if $may_update}
-<a href='mailto:{$a.alias}'><img src='{rel}/images/mail.png' alt='[mail]' /></a>
-<a href="alias-admin.php?liste={$a.alias}">{$a.alias}</a>
-<a href="?del_alias={$a.alias}"><img src='{rel}/images/del.png' alt='[supprimer]' /></a><br />
-{else}
-<a href='mailto:{$a.alias}'><img src='{rel}/images/mail.png' alt='[mail]' /> {$a.alias}</a><br />
-{/if}
-{/iterate}
-</p>
+<table cellspacing="0" cellpadding="0" class='large'>
+ <tr>
+ <th{if $may_update} colspan='3'{/if}>Alias</th>
+ </tr>
+ {iterate from=$alias item=a}
+ <tr>
+ {if $may_update}
+ <td class="center"><a href='mailto:{$a.alias}'><img src='{rel}/images/mail.png' alt='[mail]' /></a></td>
+ <td><a href="alias-admin.php?liste={$a.alias}">{$a.alias}</a></td>
+ <td class="center"><a href="?del_alias={$a.alias}"><img src='{rel}/images/del.png' alt='[supprimer]' /></a></td>
+ {else}
+ <td><a href='mailto:{$a.alias}'><img src='{rel}/images/mail.png' alt='[mail]' /> {$a.alias}</a></td>
+ {/if}
+ </tr>
+ {/iterate}
+</table>
{else}
<p>Aucun alias pour ce groupe</p>
{/if}
</h2>
<form method="post" action="{$smarty.server.REQUEST_URI}">
- <table cellpadding="0" cellspacing="0">
+ <table cellpadding="0" cellspacing="0" class='tiny'>
<tr>
<td class="titre">
- Permissions :
+ Permissions:
</td>
<td>
<select name="is_admin">
<h2>Abonnement aux listes</h2>
- <table cellpadding="0" cellspacing="0">
+ <table cellpadding="0" cellspacing="0" class='large'>
<tr>
<th> </th>
<th>Liste</th>
<h2>Abonnement aux alias</h2>
- <table cellpadding="0" cellspacing="0">
+ <table cellpadding="0" cellspacing="0" class='large'>
<tr>
<th> </th>
<th>Alias</th>
+++ /dev/null
-{***************************************************************************
- * 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 *
- ***************************************************************************}
-
-<h1> Ajout d'un membre extérieur</h1>
-<form method="post" action="{$smarty.server.PHP_SELF}">
- <table>
- <tr>
- <td>Nom :</td>
- <td><input type="text" name="nom" value="{$smarty.request.nom}" size="40" maxlength="255" /></td>
- </tr>
- <tr>
- <td>Prénom :</td>
- <td><input type="text" name="prenom" value="{$smarty.request.prenom}" size="40" maxlength="40" /></td>
- </tr>
- <tr>
- <td>Email :</td>
- <td><input type="text" name="email" value="{$smarty.request.email}" size="40" maxlength="60" /></td>
- </tr>
- <tr>
- <td colspan="2" align="center">
- <input type="submit" name="addext" value="Ajouter" />
- <input type="hidden" name="id" value="{$smarty.request.id}" />
- </td>
- </tr>
- </table>
-</form>
-
-{* vim:set et sw=2 sts=2 sws=2: *}
+++ /dev/null
-{***************************************************************************
- * 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 *
- ***************************************************************************}
-
-<h1> Ajout d'un membre polytechnicien</h1>
-<form method="post" action="{$smarty.server.PHP_SELF}">
- <p class="descr">
- Identifiant X.org <small>(prenom.nom)</small> :
- <input type="text" name="username" value="{$smarty.request.username}" size="40" maxlength="100" />
- </p>
- <p class="descr">
- Permissions sur ce groupe :
- </p>
- <select name="is_admin">
- <option value="0">Membre</option>
- <option value="1">Administrateur</option>
- </select>
- <div class="center">
- <input type="submit" name="addx" value="Ajouter" />
- </div>
-</form>
-
-{* vim:set et sw=2 sts=2 sws=2: *}