gamutable/inclure/gamutable.html

61 lines
2.4 KiB
HTML

<link rel="stylesheet" href="[(#CHEMIN{css/gamutable.css}|compacte|timestamp)]" type="text/css" media="screen" title="no title" charset="utf-8">
<link rel="stylesheet" href="https://unpkg.com/vue-next-select/dist/index.min.css">
[(#SET{sort_asc,[(#CHEMIN{img/sprite_gamutable.svg})#sort_asc]})]
[(#SET{sort_desc,[(#CHEMIN{img/sprite_gamutable.svg})#sort_desc]})]
<span class="crayon gamutable-yyyy-nn"></span>
<div id="app">
<div class="gamutableUn">
[<span class="titre titreGamutableUn">(#ENV{titreGamutableUn})</span>]
<mon-tableau
apiuri="#ENV{apiuri,spip.php?page=json_gamutable.json}"
:tparpage="#ENV{tparpage, [10, 20, 50, 'Tous']}"
champcsv="#ENV{champcsv,html}"
delimitercsv="#ENV{delimitercsv,','}"
namecsv="#ENV{namecsv}"
urlvuebloc="[(#ENV{urlvuebloc})]"
url_sort_asc="#ENV{sort_asc,#GET{sort_asc}}"
url_sort_desc="#ENV{sort_desc,#GET{sort_desc}}"
filtrecolmulti="#ENV{filtrecolmulti,non}"
ref="montableau"
></mon-tableau>
</div>
<BOUCLE_deux(CONDITION){si #ENV{apiuri_deux}|oui}>
<span class="gamutableSep"></span>
<div class="gamutableDeux">
[<span class="titre titreGamutableDeux">(#ENV{titreGamutableDeux})</span>]
<mon-tableau
apiuri="[(#ENV{apiuri_deux})]"
:tparpage="#ENV{tparpage_deux, [10, 20, 50, 'Tous']}"
champcsv="[(#ENV{champcsv,html})]"
delimitercsv="[(#ENV{delimitercsv,','})]"
namecsv="[(#ENV{namecsv_deux})]"
urlvuebloc="[(#ENV{urlvuebloc_deux})]"
url_sort_asc="[(#ENV{sort_asc,#GET{sort_asc}})]"
url_sort_desc="[(#ENV{sort_desc,#GET{sort_desc}})]"
filtrecolmulti="[(#ENV{filtrecolmulti,non})]"
ref="montableau"
></mon-tableau>
</div>
</BOUCLE_deux>
</div>
<script type="text/javascript">
var $_id = #ENV{_id,0};
$_id = parseInt($_id);
var nomBlocAjaxReload = '';
</script>
[(#CONFIG{gamutable/version_js}|=={dev}|?{
<script src="[(#CHEMIN{js/vue.js}|timestamp)]" type="text/javascript"></script>
<script src="[(#CHEMIN{js/papaparse.js}|timestamp)]" type="text/javascript"></script>
<script src="https://unpkg.com/vue-next-select"></script>
<script src="[(#CHEMIN{js/gamutable.js}|timestamp)]" type="text/javascript"></script>
,
<script src="[(#CHEMIN{js/vue.min.js}|timestamp)]" type="text/javascript"></script>
<script src="[(#CHEMIN{js/papaparse.min.js}|timestamp)]" type="text/javascript"></script>
<script src="https://unpkg.com/vue-next-select"></script>
<script src="[(#CHEMIN{js/gamutable.js}|compacte|timestamp)]" type="text/javascript"></script>
})]