|
|
|
@ -8,7 +8,7 @@
|
|
|
|
|
|
|
|
|
|
<B_criteres_total> |
|
|
|
|
#SET{total_criteres,#TOTAL_BOUCLE} |
|
|
|
|
<BOUCLE_criteres_total(OPQUAST_CRITERES){statut?}> |
|
|
|
|
<BOUCLE_criteres_total(OPQUAST_CRITERES){statut?} {version=#CONFIG{opquast/version}}> |
|
|
|
|
</BOUCLE_criteres_total> |
|
|
|
|
</B_criteres_total> |
|
|
|
|
|
|
|
|
@ -19,7 +19,7 @@
|
|
|
|
|
#SET{total, 0} |
|
|
|
|
<B_criteres_statuts> |
|
|
|
|
#SET{total, #TOTAL_BOUCLE} |
|
|
|
|
<BOUCLE_criteres_statuts(OPQUAST_CRITERES){statut=#CLE}> |
|
|
|
|
<BOUCLE_criteres_statuts(OPQUAST_CRITERES){statut=#CLE} {version=#CONFIG{opquast/version}}> |
|
|
|
|
</BOUCLE_criteres_statuts> |
|
|
|
|
</B_criteres_statuts> |
|
|
|
|
[(#SET{titre, <span class="opquast_choix"><span class="opquast_choix__titre">[(#VALEUR|_T)]</span><span class="opquast_choix__total bg_statut--#CLE">[(#GET{total})]</span>})] |
|
|
|
@ -28,29 +28,84 @@
|
|
|
|
|
[(#SET{statuts, #GET{statuts}|array_flip})] |
|
|
|
|
[(#SAISIE{radio, statut, label=<:opquast:statut:>, datas=#GET{statuts}})] |
|
|
|
|
|
|
|
|
|
#SET{etapes, #ARRAY} |
|
|
|
|
<BOUCLE_etapes(OPQUAST_ETAPES){par titre}> |
|
|
|
|
#SET{titre, #TITRE} |
|
|
|
|
#SET{total,0} |
|
|
|
|
<B_criteres1> |
|
|
|
|
#SET{total,#TOTAL_BOUCLE} |
|
|
|
|
<BOUCLE_criteres1(OPQUAST_CRITERES){id_opquast_etape}{statut?} {version=#CONFIG{opquast/version}}> |
|
|
|
|
</BOUCLE_criteres1> |
|
|
|
|
</B_criteres1> |
|
|
|
|
#SET{conforme,0} |
|
|
|
|
<B_criteres1_conforme> |
|
|
|
|
#SET{conforme,#TOTAL_BOUCLE} |
|
|
|
|
<BOUCLE_criteres1_conforme(OPQUAST_CRITERES){id_opquast_etape=#_etapes:ID_OPQUAST_ETAPE}{statut IN conforme, non_applicable} {version=#CONFIG{opquast/version}}> |
|
|
|
|
</BOUCLE_criteres1_conforme> |
|
|
|
|
</B_criteres1_conforme> |
|
|
|
|
#SET{pourcent, #GET{conforme}|div{#GET{total}}|mult{100}|intval} |
|
|
|
|
[(#GET{total}|>{0}|oui) |
|
|
|
|
[(#SET{style, background: linear-gradient(to right, #EAEAEA 0%, #EAEAEA [(#GET{pourcent})]%, transparent [(#GET{pourcent})]%, transparent 100%);})] |
|
|
|
|
[(#SET{titre, <span class="opquast_choix" style="[(#GET{style})]"><span class="opquast_choix__titre">[(#TITRE)]</span><span class="opquast_choix__total">[(#GET{conforme})]/[(#GET{total})]</span></span>})] |
|
|
|
|
[(#SET{etapes,#GET{etapes}|array_merge{#ARRAY{#GET{titre},#ID_OPQUAST_ETAPE}}})] |
|
|
|
|
] |
|
|
|
|
</BOUCLE_etapes> |
|
|
|
|
[(#SET{etapes, #GET{etapes}|array_flip})] |
|
|
|
|
[(#SAISIE{checkbox, id_opquast_etape, label=<:opquast:opquast_etape:>, datas=#GET{etapes}, conteneur_class=editer_id_opquast_tag})] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#SET{tags, #ARRAY} |
|
|
|
|
<BOUCLE_tags(OPQUAST_TAGS){par titre}> |
|
|
|
|
#SET{titre, #TITRE} |
|
|
|
|
#SET{total,0} |
|
|
|
|
<B_criteres> |
|
|
|
|
<B_criteres2> |
|
|
|
|
#SET{total,#TOTAL_BOUCLE} |
|
|
|
|
<BOUCLE_criteres(OPQUAST_CRITERES){id_opquast_tag}{statut?}> |
|
|
|
|
</BOUCLE_criteres> |
|
|
|
|
</B_criteres> |
|
|
|
|
<BOUCLE_criteres2(OPQUAST_CRITERES){id_opquast_tag}{statut?} {version=#CONFIG{opquast/version}}> |
|
|
|
|
</BOUCLE_criteres2> |
|
|
|
|
</B_criteres2> |
|
|
|
|
#SET{conforme,0} |
|
|
|
|
<B_criteres_conforme> |
|
|
|
|
<B_criteres2_conforme> |
|
|
|
|
#SET{conforme,#TOTAL_BOUCLE} |
|
|
|
|
<BOUCLE_criteres_conforme(OPQUAST_CRITERES){id_opquast_tag=#_tags:ID_OPQUAST_TAG}{statut IN conforme, non_applicable}> |
|
|
|
|
</BOUCLE_criteres_conforme> |
|
|
|
|
</B_criteres_conforme> |
|
|
|
|
<BOUCLE_criteres2_conforme(OPQUAST_CRITERES){id_opquast_tag=#_tags:ID_OPQUAST_TAG}{statut IN conforme, non_applicable} {version=#CONFIG{opquast/version}}> |
|
|
|
|
</BOUCLE_criteres2_conforme> |
|
|
|
|
</B_criteres2_conforme> |
|
|
|
|
#SET{pourcent, #GET{conforme}|div{#GET{total}}|mult{100}|intval} |
|
|
|
|
[(#SET{style, background: linear-gradient(to right, #EAEAEA 0%, #EAEAEA [(#GET{pourcent})]%, transparent [(#GET{pourcent})]%, transparent 100%);})] |
|
|
|
|
[(#SET{titre, <span class="opquast_choix" style="[(#GET{style})]"><span class="opquast_choix__titre">[(#TITRE)]</span><span class="opquast_choix__total">[(#GET{conforme})]/[(#GET{total})]</span></span>})] |
|
|
|
|
[(#SET{tags,#GET{tags}|array_merge{#ARRAY{#GET{titre},#ID_OPQUAST_TAG}}})] |
|
|
|
|
[(#GET{total}|>{0}|oui) |
|
|
|
|
[(#SET{style, background: linear-gradient(to right, #EAEAEA 0%, #EAEAEA [(#GET{pourcent})]%, transparent [(#GET{pourcent})]%, transparent 100%);})] |
|
|
|
|
[(#SET{titre, <span class="opquast_choix" style="[(#GET{style})]"><span class="opquast_choix__titre">[(#TITRE)]</span><span class="opquast_choix__total">[(#GET{conforme})]/[(#GET{total})]</span></span>})] |
|
|
|
|
[(#SET{tags,#GET{tags}|array_merge{#ARRAY{#GET{titre},#ID_OPQUAST_TAG}}})] |
|
|
|
|
] |
|
|
|
|
</BOUCLE_tags> |
|
|
|
|
[(#SET{tags, #GET{tags}|array_flip})] |
|
|
|
|
[(#SAISIE{checkbox, id_opquast_tag, label=<:opquast:opquast_tag:>, datas=#GET{tags}})] |
|
|
|
|
[(#SAISIE{checkbox, id_opquast_tag, label=<:opquast:opquast_tag:>, datas=#GET{tags}, conteneur_class=editer_id_opquast_tag})] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#SET{themes, #ARRAY} |
|
|
|
|
<BOUCLE_themes(OPQUAST_THEMES){par titre}> |
|
|
|
|
#SET{titre, #TITRE} |
|
|
|
|
#SET{total,0} |
|
|
|
|
<B_criteres3> |
|
|
|
|
#SET{total,#TOTAL_BOUCLE} |
|
|
|
|
<BOUCLE_criteres3(OPQUAST_CRITERES){id_opquast_theme}{statut?} {version=#CONFIG{opquast/version}}> |
|
|
|
|
</BOUCLE_criteres3> |
|
|
|
|
</B_criteres3> |
|
|
|
|
#SET{conforme,0} |
|
|
|
|
<B_criteres3_conforme> |
|
|
|
|
#SET{conforme,#TOTAL_BOUCLE} |
|
|
|
|
<BOUCLE_criteres3_conforme(OPQUAST_CRITERES){id_opquast_theme=#_themes:ID_OPQUAST_THEME}{statut IN conforme, non_applicable} {version=#CONFIG{opquast/version}}> |
|
|
|
|
</BOUCLE_criteres3_conforme> |
|
|
|
|
</B_criteres3_conforme> |
|
|
|
|
#SET{pourcent, #GET{conforme}|div{#GET{total}}|mult{100}|intval} |
|
|
|
|
[(#GET{total}|>{0}|oui) |
|
|
|
|
[(#SET{style, background: linear-gradient(to right, #EAEAEA 0%, #EAEAEA [(#GET{pourcent})]%, transparent [(#GET{pourcent})]%, transparent 100%);})] |
|
|
|
|
[(#SET{titre, <span class="opquast_choix" style="[(#GET{style})]"><span class="opquast_choix__titre">[(#TITRE)]</span><span class="opquast_choix__total">[(#GET{conforme})]/[(#GET{total})]</span></span>})] |
|
|
|
|
[(#SET{themes,#GET{themes}|array_merge{#ARRAY{#GET{titre},#ID_OPQUAST_THEME}}})] |
|
|
|
|
] |
|
|
|
|
</BOUCLE_themes> |
|
|
|
|
[(#SET{themes, #GET{themes}|array_flip})] |
|
|
|
|
[(#SAISIE{checkbox, id_opquast_theme, label=<:opquast:opquast_theme:>, datas=#GET{themes}, conteneur_class=editer_id_opquast_tag})] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[(#SAISIE{input, recherche, label=<:info_rechercher:>})] |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|