no-limit sur la boucle du gamutable

This commit is contained in:
cy_altern 2021-01-27 22:57:34 +01:00
parent 0404b56e81
commit 54817d9832
2 changed files with 19 additions and 9 deletions

View file

@ -13,6 +13,18 @@
}>
</div>
<script type="text/javascript">
jQuery(function () {
$('.aff_masq').each(function() {
$(this).siblings('.details').toggleClass('js-hidden');
});
$('.aff_masq').on('click', function() {
$(this).siblings('.details').toggleClass('js-hidden');
});
});
</script>
<style type="text/css" media="screen">
.aff_masq {
cursor: pointer;
@ -34,4 +46,7 @@
.gamutable table {
table-layout: auto;
}
.gamutable th.toto {
min-width: 500px;
}
</style>

View file

@ -26,24 +26,19 @@
"transcription_readable_content": "input",
"transcription_detailed_content": "input"
},
"crayons":{
"titre" : "corpus_video",
"description" : "corpus_video"
},
"classes":{
"titre": "toto",
"description":"toto",
"transcription_readable_content": "toto",
"transcription_detailed_content": "toto"
}
},
<BOUCLE_souscriptions(CORPUS_VIDEOS){id_corpus_video?}{par id_corpus_video}{tout}{','}{0,3}>
<BOUCLE_souscriptions(CORPUS_VIDEOS){id_corpus_video?}{par id_corpus_video}{tout}{','}>
{
"html": {
"id": #ID_CORPUS_VIDEO,
"titre" : [(#TITLE|sinon{pas de titre}|json_encode)],
"description" : [(#DESCRIPTION|sinon{pas de description}|json_encode)],
"keywords" : [(#KEYWORDS|sinon{pas de keywords}|json_encode)],
"keywords" : [(#KEYWORDS|replace{',',', '}|sinon{pas de keywords}|json_encode)],
"provider": [(#PROVIDER|sinon{pas de provider}|json_encode)],
"user": [(#USER|sinon{pas de user}|json_encode)],
"user_id": [(#USER_ID|sinon{pas de user_id}|json_encode)],
@ -53,8 +48,8 @@
"page_url": [(#PAGE_URL|sinon{pas d'URL de page}|json_encode)],
"transcription_readable_file": [(#TRANSCRIPTION_READABLE_FILE|sinon{pas de fichier TXT}|json_encode)],
"transcription_detailed_file": [(#TRANSCRIPTION_DETAILED_FILE|sinon{pas de fichier XML}|json_encode)],
"transcription_readable_content": [(#VAL{<a class="modalbox" href="[(#URL_PAGE{afficher_transcription}|parametre_url{id,#ID_CORPUS_VIDEO}|parametre_url{contenu,txt}|parametre_url{var_zajax,content})]"
title="Afficher la transcription">}|concat{#TRANSCRIPTION_READABLE_CONTENT|sinon{pas de fichier TXT}}|concat{</a>}|json_encode)],
"transcription_readable_content": [(#VAL{<a class="modalbox btn" href="[(#URL_PAGE{afficher_transcription}|parametre_url{id,#ID_CORPUS_VIDEO}|parametre_url{contenu,txt}|parametre_url{var_zajax,content})]"
title="Afficher la transcription">Affichage popin</a><br>}|concat{#TRANSCRIPTION_READABLE_CONTENT|sinon{pas de fichier TXT}}|json_encode)],
"transcription_detailed_content": [(#TRANSCRIPTION_DETAILED_CONTENT|replace{',',', '}|sinon{pas de fichier XML}|json_encode)]
},
"classes": {