agenda - modif config acces serveur
[auf_savoirs_en_partage_django.git] / auf_savoirs_en_partage_django / templates / savoirs / informations.html
CommitLineData
2d10d74b
CR
1{% extends "container_base.html" %}
2
3{% block contenu %}
4<h4>Sources de données</h4>
5
6 <div class="zone-texte"><!--
7 @page { margin: 2cm }
8 P { margin-bottom: 0.21cm }
9-->
10
11{% for site, details in r.items %}
12<p style="margin-top: 15px; margin-bottom: 0px;">
13<span style="color: #bf153e;">
14 <strong>{{ site }}</strong>
15</span>
16<table width="100%">
92c7413b 17 <tr><th width="150px">Type</th><td>{{ details.type }}</td></tr>
2d10d74b
CR
18 {% ifequal details.type "lodel" %}
19 {% ifequal details.acces "html" %}
20 <tr><th>URL</th><td><a href="http://{{ details.server }}{{ details.base_url }}">
21 http://{{ details.server }}{{ details.base_url }}</a></td></tr>
22 {% endifequal %}
23 {% endifequal %}
24 {% ifequal details.type "oai" %}
25 {% ifequal details.acces "generic" %}
26 <tr><th>URL</th><td><a href="http://{{ details.server }}{{ details.base_url }}">
27 http://{{ details.server }}{{ details.base_url }}</a></td></tr>
28 {% endifequal %}
29 {% endifequal %}
30 {% ifequal details.type "pmb" %}
31 {% ifequal details.acces "export" %}
32 <tr><th>URL</th><td><a href="http://{{ details.host }}{{ details.base_url }}">
33 http://{{ details.host }}{{ details.base_url }}</a></td></tr>
34 <tr><th>Utilisateur</th><td>{{ details.username }}</td></tr>
35 <tr><th>Base de données</th><td>{{ details.db }}</td></tr>
36 {% endifequal %}
92c7413b
CR
37 {% endifequal %}
38 <tr><th>Dernier moissonage</th><td>{{ details.logs.date }}, {{ details.logs.count }} articles</td></tr>
2d10d74b
CR
39</table>
40</p>
41{% empty %}
42<p style="margin-bottom: 0cm;">
43<span style="color: #bf153e;">
44 <strong>
45 <em>Une erreur s'est produite.</em>
46 </strong>
47</span>
48</p>
49{% endfor %}
50
51</div>
52{% endblock %}