[webpack.teacher.view] fixed 'programmed hours' + equiTD

This commit is contained in:
xdrm-brackets 2018-03-04 12:46:47 +01:00
parent 821edf3f70
commit 6ada8fe0a3
2 changed files with 15 additions and 2 deletions

View File

@ -5,7 +5,7 @@
<section v-if='gstore.professors.length <= 0'>Aucun enseignant trouvé</section> <section v-if='gstore.professors.length <= 0'>Aucun enseignant trouvé</section>
<section v-for='prof in gstore.professors' :data-id='prof.idProfesseur'> <section v-for='prof in gstore.professors' :data-id='prof.idProfesseur'>
<span class='category'>{{ prof.abreviation }}</span> <span class='category'>{{ prof.categorie }}</span>
<h1>{{ prof.firstName }} {{ prof.lastName }}</h1> <h1>{{ prof.firstName }} {{ prof.lastName }}</h1>
<div class='table'> <div class='table'>
@ -14,11 +14,13 @@
<span>heures à faire</span> <span>heures à faire</span>
</div> </div>
<div> <div>
<span>{{prof.equiTD}}</span> <span>{{ prof.VHCours + prof.VHTd + prof.VHTp }}</span>
<span>heures prévues</span> <span>heures prévues</span>
</div> </div>
</div> </div>
<div class='sub'><strong>{{ prof.equiTD }}h</strong> équivalents TD</div>
<div class='footer'> <div class='footer'>
<span class='course active'>{{prof.VHCours}}</span><hr> <span class='course active'>{{prof.VHCours}}</span><hr>
<span class='td active'>{{prof.VHTd}}</span><hr> <span class='td active'>{{prof.VHTd}}</span><hr>

View File

@ -304,6 +304,17 @@
} }
/* (6) Card sub */
& > div.sub{
display: inline-block;
margin-top: 1em;
color: lighten($primary-color, 20%);
}
} }
} }