source: spip-zone/_plugins_/info_sites/trunk/squelettes/diagnostic/spip/diagnostic.html @ 96953

Last change on this file since 96953 was 96953, checked in by teddy.spip@…, 4 years ago

On suit l'évolution du plugin projets_sites qui suit lui-même les dev du plugin info_spip

  • Property svn:eol-style set to LF
File size: 4.5 KB
Line 
1[(#SET{plugin_statut_class,[(#ARRAY{dist,info,actif,success,inactif,warning})]})]
2<BOUCLE_diagnostic (PROJETS_SITES) {id_projets_site}>
3<table class="table table-striped">
4    <thead>
5        <tr>
6            <th class="text-center" colspan="5"><:projets_site:titre_projets_site:></th>
7            <th class="text-center" colspan="2"><:info_sites:titre_logiciel_plugins_maj_meme_branche:></th>
8            <th class="text-center" colspan="2"><:info_sites:titre_logiciel_plugins_maj:></th>
9        </tr>
10        <tr>
11            <th class="col text-center" scope="col"><:projets_site:prefixe_label:></th>
12            <th class="col text-center" scope="col"><:projets_site:titre_label:></th>
13            <th class="col text-center" scope="col"><:projets_site:statut_label:></th>
14            <th class="col text-center" scope="col"><:projets_site:version_label:></th>
15            <th class="col text-center" scope="col"><:projets_site:logiciel_nom_label:></th>
16            <th class="col text-center" scope="col"><:info_sites:label_branche:></th>
17            <th class="col text-center" scope="col"><:info_sites:label_branche_version:></th>
18            <th class="col text-center" scope="col"><:info_sites:label_branche:></th>
19            <th class="col text-center" scope="col"><:info_sites:label_branche_version:></th>
20        </tr>
21    </thead>
22<tbody>
23<BOUCLE_plugins_site (DATA) {source table, (#LOGICIEL_PLUGINS**|formater_tableau{'plugins'})} {par /0}>[(#SET{plugin,[(#ARRAY{prefixe,[(#VALEUR{prefixe})],titre,[(#VALEUR{titre})], statut,[(#VALEUR{statut})], version,[(#VALEUR{version})]})]})]
24    <tr class="[(#GET{plugin/prefixe}|strtolower)]">
25        <td class="prefixe">[(#GET{plugin/prefixe})]</td><!-- prefixe -->
26        <td class="titre">[(#GET{plugin/titre})]</td><!-- titre -->
27        <td class="[(#GET{plugin_statut_class}|table_valeur{#GET{plugin/statut}|trim})]">[(#GET{plugin/statut})]</td><!-- statut -->
28        <td>[(#GET{plugin/version})]</td><!-- version -->
29        <td>[(#_diagnostic:LOGICIEL_NOM)][ (#_diagnostic:LOGICIEL_VERSION|version2branche)]</td>
30        <BOUCLE_paquet_meme_branche (PAQUETS) {tout} {prefixe=(#GET{plugin/prefixe})} {!par version} {branches_spip LIKE %(#_diagnostic:LOGICIEL_VERSION|version2branche)%} {id_depot>0} {0,1}>
31        <td class="[(#_diagnostic:LOGICIEL_VERSION|version2branche|in_array{[(#BRANCHES_SPIP|explode{','})]}|?{'success','danger'})]">[(#BRANCHES_SPIP|replace{",",", "})]</td><!-- branche -->
32        <td class="[(#VERSION|=={#_plugins_site:GET{plugin/version}}|?{'success','danger'})]">#VERSION
33        <BOUCLE_archive_mm_branche (DEPOTS) {id_depot} {si (#VERSION|=={#_plugins_site:GET{plugin/version}}|non)}> <a href="[(#URL_ARCHIVES)/#_paquet_meme_branche:NOM_ARCHIVE]" title="<:svp:titre_form_charger_plugin_archive|attribut_html:>"><i class="fa fa-download"></i></a> <a href="[(#URL_SERVEUR)/#_paquet_meme_branche:SRC_ARCHIVE]" title="<:svp:label_type_depot_svn|attribut_html:>"><i class="fa fa-paperclip"></i></a> <a href="[(#VAL{http://plugins.spip.net/}|concat{[(#PREFIXE|strtolower)],'.html'})]" title="[(#VAL{http://plugins.spip.net/}|concat{[(#PREFIXE|strtolower)],'.html'})]" target="_blank"><i class="fa fa-external-link"></i></a></BOUCLE_archive_mm_branche></td><!-- branche_version -->
34        </BOUCLE_paquet_meme_branche>
35        <td></td> <td></td>
36        <//B_paquet_meme_branche>
37        <BOUCLE_paquet (PAQUETS) {tout} {prefixe=(#GET{plugin/prefixe})} {id_depot>0} {!par version} {0,1}>
38        <td class="[(#_diagnostic:LOGICIEL_VERSION|version2branche|in_array{[(#BRANCHES_SPIP|explode{','})]}|?{'success','danger'})]">[(#BRANCHES_SPIP|replace{",",", "})]</td><!-- branche -->
39        <td class="[(#VERSION|=={#_plugins_site:GET{plugin/version}}|?{'success','danger'})]">#VERSION<BOUCLE_archive (DEPOTS) {id_depot} {si (#VERSION|=={#_plugins_site:GET{plugin/version}}|non)}> <a href="[(#URL_ARCHIVES)/#_paquet:NOM_ARCHIVE]" title="<:svp:titre_form_charger_plugin_archive|attribut_html:>"><i class="fa fa-download"></i></a> <a href="[(#URL_SERVEUR)/#_paquet:SRC_ARCHIVE]" title="<:svp:label_type_depot_svn|attribut_html:>"><i class="fa fa-paperclip"></i></a> <a href="[(#VAL{http://plugins.spip.net/}|concat{[(#PREFIXE|strtolower)],'.html'})]" title="[(#VAL{http://plugins.spip.net/}|concat{[(#PREFIXE|strtolower)],'.html'})]" target="_blank"><i class="fa fa-external-link"></i></a></BOUCLE_archive></td><!-- branche_version -->
40        </BOUCLE_paquet>
41        <td></td> <td></td>
42        <//B_paquet>
43    </tr>
44</BOUCLE_plugins_site>
45</tbody>
46</table>
47<div class="clearfix"></div>
48
49</BOUCLE_diagnostic>
Note: See TracBrowser for help on using the repository browser.