Happy New Year!
[platal.git] / templates / googleapps / admin.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2014 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>Gestion des utilisateurs</h1>
24
25 <form method="post" action="admin/googleapps/user">
26 <table class="tinybicol" cellspacing="0" cellpadding="2">
27   <tr>
28     <th>Administrer un utilisateur (Google Apps)</th>
29   </tr>
30   <tr>
31     <td class="center"><input type="text" name="login" size="40" maxlength="255" value="" /></td>
32   </tr>
33   <tr>
34     <td class="center"><input type="submit" value="Valider" /></td>
35   </tr>
36 </table>
37 </form>
38
39 <h1>Queue de requêtes vers Google Apps</h1>
40
41 <p>
42   Requête nécessitant <a href="Equipe/Infra-GoogleApps#admin-cli">l'intervention manuelle</a>
43   d'un administrateur Google Apps {if $googleapps_admin}(tu en es un){/if}&nbsp;:
44 </p>
45 <table class="bicol" style="text-align: center">
46   <tr>
47     <th>qid</th>
48     <th>date</th>
49     <th>recipient</th>
50     <th>type</th>
51     <th>parameters</th>
52   </tr>
53   {foreach from=$admin_requests item=r}
54   <tr class="{cycle values="impair,pair"}">
55     <td><a href="admin/googleapps/job/{$r.q_id}">{$r.q_id}</a></td>
56     <td>{$r.p_entry_date|date_format:"%Y-%m-%d %H:%M"}</td>
57     <td>{if $r.alias}<a href="admin/googleapps/user/{$r.alias}">{$r.alias}</a>{else}-{/if}</td>
58     <td>{$r.j_type}</td>
59     <td>{$r.parameters}</td>
60   </tr>
61   {/foreach}
62 </table>
63
64 <p>
65   Requêtes ayant échoué récemment (plus d'information dans la <a href="Equipe/Infra-GoogleApps">documentation</a>)&nbsp;:
66 </p>
67 <table class="bicol" style="text-align: center">
68   <tr>
69     <th>qid</th>
70     <th>date</th>
71     <th>recipient</th>
72     <th>type</th>
73     <th>reason</th>
74     <th></th>
75   </tr>
76   {iterate from=$failed_requests item=r}
77   <tr class="{cycle values="impair,pair"}">
78     <td><a href="admin/googleapps/job/{$r.q_id}">{$r.q_id}</a></td>
79     <td>{$r.p_entry_date|date_format:"%Y-%m-%d %H:%M"}</td>
80     <td>{if $r.alias}<a href="admin/googleapps/user/{$r.alias}">{$r.alias}</a>{else}-{/if}</td>
81     <td>{$r.j_type}</td>
82     <td><code>{$r.r_result}</code></td>
83     <td><a href="admin/googleapps/ack/{$r.q_id}">{icon name=cross title="Retirer cet échec"}</a></td>
84   </tr>
85   {/iterate}
86 </table>
87
88 <h1>Statistiques d'utilisation de Google Apps</h1>
89
90 <div style="text-align: center">
91   <img src="images/googleapps/activity-monthly.png" alt="Activité Google Apps - 1 mois" width="500" height="250" />
92   <br /><em>Utilisation des comptes Google Apps sur les 31 derniers jours</em>.
93 </div>
94
95 <div style="text-align: center">
96   <img src="images/googleapps/activity-yearly.png" alt="Activité Google Apps - 1 an" width="500" height="250" />
97   <br /><em>Utilisation disque des comptes sur les 12 derniers mois</em>.
98 </div>
99
100 <div style="text-align: center">
101   <img src="images/googleapps/usage-monthly.png" alt="Utilisation disque - 1 mois" width="500" height="250" />
102   <br /><em>Utilisation des comptes Google Apps sur les 31 derniers jours</em>.
103 </div>
104
105 <div style="text-align: center">
106   <img src="images/googleapps/usage-yearly.png" alt="Utilisation disque - 1 an" width="500" height="250" />
107   <br /><em>Utilisation disque des comptes sur les 12 derniers mois</em>.
108 </div>
109
110 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}