This commit is contained in:
lalBi94 2023-03-06 04:10:58 +01:00
parent 1147c68f42
commit 8f7ca95598

View File

@ -86,9 +86,9 @@
page: {
curIndex: 0,
cat: {
option1: null,
option2: null,
option3: null
option1: null, /* BTS, Licence etc... */
option2: null, /* Service, Production etc... */
option3: null /* Une ecole qui fait un BTS Prod par exemple */
},
name: [
"formation",
@ -96,7 +96,7 @@
"filière de formation détaillée"
],
},
data: []
data: null /* JSON a traiter en fonction de la section choisit */
},
/**
@ -157,13 +157,13 @@
};
</script>
<span if={ !this.state.data }>Chargement...</span>
<span if={ !this.state.data }>Chargement des données...</span>
<div if={ this.state.data } id="selector">
<div id="selector-top-container">
<span id="selector-top-title">
{ this.state.page.name[this.state.page.curIndex] }
</span>
<span id="selector-top-title">
{ this.state.page.name[this.state.page.curIndex] }
</span>
<button onclick={ previousPage } id="selector-top-btn">&lt;</button>
</div>