some changes in survey module
[platal.git] / templates / stats / coupure.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2007 Polytechnique.org                             *}
4 {*  http://opensource.polytechnique.org/                                  *}
5 {*                                                                        *}
6 {*  This program is free software; you can redistribute it and/or modify  *}
7 {*  it under the terms of the GNU General Public License as published by  *}
8 {*  the Free Software Foundation; either version 2 of the License, or     *}
9 {*  (at your option) any later version.                                   *}
10 {*                                                                        *}
11 {*  This program is distributed in the hope that it will be useful,       *}
12 {*  but WITHOUT ANY WARRANTY; without even the implied warranty of        *}
13 {*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *}
14 {*  GNU General Public License for more details.                          *}
15 {*                                                                        *}
16 {*  You should have received a copy of the GNU General Public License     *}
17 {*  along with this program; if not, write to the Free Software           *}
18 {*  Foundation, Inc.,                                                     *}
19 {*  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA               *}
20 {*                                                                        *}
21 {**************************************************************************}
22
23 <h1>Coupures de Polytechnique.org</h1>
24
25 {if $cp}
26 <table class="bicol" summary="Ruptures de service">
27   <tr>
28     <th colspan="2">détails de l'interruption de service</th>
29   </tr>
30   <tr class="pair">
31     <td class="titre">début</td>
32     <td>{$cp.debut|date_format:"%x %X"}</td>
33   </tr>
34   <tr class="pair">
35     <td class="titre">durée</td>
36     <td>{$cp.duree}</td>
37   </tr>
38   <tr class="impair">
39     <td class="titre">résumé</td>
40     <td>{$cp.resume}</td>
41   </tr>
42   <tr class="impair">
43     <td class="titre">services</td>
44     <td>
45       {$cp.lg_services}
46     </td>
47   </tr>
48   <tr class="pair">
49     <td class="titre">description </td>
50     <td>{$cp.description}</td>
51   </tr>
52 </table>
53
54 <p class="center">
55 <a href="stats/coupures">retour à la liste</a>
56 </p>
57
58 {else}
59
60 <p>
61   Tu trouveras ici les interruptions de service de Polytechnique.org qui ont été
62   constatées <strong>durant les trois dernières semaines</strong>, ou qui sont prévues dans le futur.
63   Il est à noter qu'à ce jour la quasi-totalité des coupures proviennent 
64   de défaillances du réseau de l'Ecole, où nos serveurs sont hébergés (rupture de la
65   connexion internet de l'Ecole, problème électrique, etc...).
66 </p>
67 <p>
68   Pour avoir les détails d'une interruption particulière il te suffit de cliquer dessus.
69 </p>
70
71 <table class="bicol" summary="Détail de la coupure">
72   <tr>
73     <th>date</th>
74     <th>résumé</th>
75     <th>services affectés</th>
76   </tr>
77 {iterate item=cp from=$coupures}
78   <tr class="{cycle values="impair,pair"}">
79     <td>
80       <span class="smaller">
81         {$cp.debut|date_format}
82       </span>
83     </td>
84     <td>
85       <span class="smaller">
86         <a href="stats/coupures/{$cp.id}">{$cp.resume}</a>
87       </span>
88     </td>
89     <td>
90       <span class="smaller">
91         {$cp.services}
92       </span>
93     </td>
94   </tr>
95 {/iterate}
96 </table>
97
98 <h1>Problèmes avec les autres fournisseurs de services</h1>
99
100 <p>
101   La liste ci-dessous indique quels sont les fournisseurs de mails vers lesquels nous avons
102   actuellement des problèmes de tranmission.
103 </p>
104
105 <table class="bicol">
106   <tr><th>Liste des disfonctionnements</th></tr>
107   {iterate from=$mxs item=mx}
108   <tr class="{cycle values="impair,pair"}">
109     <td><strong>{$mx.host}</strong><div class="explication">{$mx.text}</div></td>
110   </tr>
111   {/iterate}
112 </table>
113
114 {/if}
115
116 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}