4143611768baff7e595ee9a2c943e70c838ddd62
[platal.git] / templates / stats / coupure.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2011 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'École, où nos serveurs sont hébergés (rupture de la
65   connexion internet de l'École, problème électrique&hellip;).
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 {if $coupures->total()}
78 {iterate item=cp from=$coupures}
79   <tr class="{cycle values="impair,pair"}">
80     <td>
81       <span class="smaller">
82         {$cp.debut|date_format}
83       </span>
84     </td>
85     <td>
86       <span class="smaller">
87         <a href="stats/coupures/{$cp.id}">{$cp.resume}</a>
88       </span>
89     </td>
90     <td>
91       <span class="smaller">
92         {$cp.services}
93       </span>
94     </td>
95   </tr>
96 {/iterate}
97 {else}
98   <tr>
99     <td colspan="3">
100       Il n'y a eu aucune coupure de service récemment
101     </td>
102   </tr>
103 {/if}
104 </table>
105
106 <h1>Problèmes avec les autres fournisseurs de services</h1>
107
108 <p>
109   La liste ci-dessous indique quels sont les fournisseurs d'emails vers lesquels nous avons
110   actuellement des problèmes de tranmission.
111 </p>
112
113 <table class="bicol">
114   <tr><th>Liste des disfonctionnements</th></tr>
115   {iterate from=$mxs item=mx}
116   <tr class="{cycle values="impair,pair"}">
117     <td><strong>{$mx.host}</strong><div class="explication">{$mx.text}</div></td>
118   </tr>
119   {/iterate}
120 </table>
121
122 {/if}
123
124 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}