2018-03-01 17:26:07 +00:00
|
|
|
<template>
|
|
|
|
|
2018-03-03 18:37:38 +00:00
|
|
|
<div id='CONTAINER' class='card'>
|
|
|
|
|
2018-03-03 21:18:36 +00:00
|
|
|
<section v-if='gstore.professors.length <= 0'>Aucun enseignant trouvé</section>
|
2018-03-03 18:37:38 +00:00
|
|
|
|
2018-03-04 10:59:10 +00:00
|
|
|
<section v-for='prof in gstore.professors' :data-id='prof.idProfesseur'>
|
2018-03-04 11:46:47 +00:00
|
|
|
<span class='category'>{{ prof.categorie }}</span>
|
2018-03-03 21:18:36 +00:00
|
|
|
<h1>{{ prof.firstName }} {{ prof.lastName }}</h1>
|
2018-03-03 18:37:38 +00:00
|
|
|
|
|
|
|
<div class='table'>
|
|
|
|
<div>
|
2018-03-03 21:18:36 +00:00
|
|
|
<span>{{prof.hoursToDo}}</span>
|
|
|
|
<span>heures à faire</span>
|
2018-03-03 18:37:38 +00:00
|
|
|
</div>
|
|
|
|
<div>
|
2018-03-04 11:46:47 +00:00
|
|
|
<span>{{ prof.VHCours + prof.VHTd + prof.VHTp }}</span>
|
2018-03-03 21:18:36 +00:00
|
|
|
<span>heures prévues</span>
|
2018-03-03 18:37:38 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2018-03-04 11:46:47 +00:00
|
|
|
<div class='sub'><strong>{{ prof.equiTD }}h</strong> équivalents TD</div>
|
|
|
|
|
2018-03-03 18:37:38 +00:00
|
|
|
<div class='footer'>
|
2018-03-04 10:59:10 +00:00
|
|
|
<span class='course active'>{{prof.VHCours}}</span><hr>
|
|
|
|
<span class='td active'>{{prof.VHTd}}</span><hr>
|
|
|
|
<span class='tp active'>{{prof.VHTp}}</span>
|
2018-03-03 18:37:38 +00:00
|
|
|
</div>
|
|
|
|
</section>
|
2018-03-01 17:26:07 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'CONTAINER_VIEW',
|
|
|
|
data(){
|
|
|
|
return { gstore: gstore.get }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
</script>
|