correction de la documentation et de bugs mineurs
[ansible.git] / montreal / gestionmateriel / majsite / materiel / templates / index.html
1 {% load staticfiles verbatim %}
2 <!DOCTYPE html>
3 <html>
4 <head>
5 <meta charset="utf-8">
6 <title>Matériel | Dashboard</title>
7
8 <link href="{% static "css/font-awesome.css" %}" rel="stylesheet">
9 <link href="{% static "bootstrap/css/bootstrap.min.css" %}" rel="stylesheet">
10
11 <style>
12 .Vérifié {
13 background-color: #5CB85C;
14 display: inline;
15 padding: .2em .6em .3em;
16 font-size: 75%;
17 font-weight: 700;
18 line-height: 1;
19 color: #FFF;
20 text-align: center;
21 white-space: nowrap;
22 vertical-align: baseline;
23 border-radius: .25em;
24 }
25 .Éteinte {
26 background-color: #777;
27 display: inline;
28 padding: .2em .6em .3em;
29 font-size: 75%;
30 font-weight: 700;
31 line-height: 1;
32 color: #FFF;
33 text-align: center;
34 white-space: nowrap;
35 vertical-align: baseline;
36 border-radius: .25em;
37 }
38 </style>
39 </head>
40 <body>
41
42 {% verbatim %}
43
44 <script type="text/x-handlebars" id="index">
45 <div class="container">
46 <table class="table table-striped">
47 <thead>
48 <tr>
49 <th>Nom</th>
50 <th>Status</th>
51 </tr>
52 </thead>
53 <tbody>
54 {{#each}}
55 <tr>
56 <td>{{nom_dns_complet}}</td>
57 <td><p {{bind-attr class=status}}>{{status}}</p></td>
58 </tr>
59 {{/each}}
60 </tbody>
61 </table>
62 </div>
63 </script>
64 {% endverbatim %}
65
66 {% verbatim %}
67 <script type="text/x-handlebars">
68 {{outlet}}
69 </script>
70 {% endverbatim %}
71
72 <script src="{% static "js/libs/jquery-1.11.1.js" %}"></script>
73 <script src="{% static "js/libs/handlebars-1.1.2.js" %}"></script>
74 <script src="{% static "js/libs/ember-1.6.1.js" %}"></script>
75 <script src="{% static "js/app.js" %}"></script>
76 </body>
77 </html>
78