v1 done
This commit is contained in:
parent
f073e69417
commit
0a79763f69
17 changed files with 459 additions and 158 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<div class="jumbotron mt-2">
|
||||
<img class="float-right" src="https://photos.cri.epita.fr/thumb/mercie_d" alt="avatar" style="max-height: 150px">
|
||||
<div class="jumbotron mt-2" ng-if="isLogged">
|
||||
<img class="float-right" src="https://photos.cri.epita.fr/thumb/{{ isLogged.login }}" alt="avatar" style="max-height: 150px">
|
||||
<h1>
|
||||
Bienvenue {{ isLogged.login }} !
|
||||
</h1>
|
||||
|
|
@ -7,20 +7,17 @@
|
|||
|
||||
<p class="lead">Voici la liste des questionnaires :</p>
|
||||
|
||||
<table class="table" ng-controller="SurveysController">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Intitulé</th>
|
||||
<th>État</th>
|
||||
<th>Date</th>
|
||||
<th>Score</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr ng-repeat="survey in surveys">
|
||||
<td>{{ survey }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<survey-list surveys="surveys" islogged="isLogged"></survey-list>
|
||||
</div>
|
||||
|
||||
<div class="mt-2" ng-if="!isLogged">
|
||||
<h3>Cours</h3>
|
||||
<ul>
|
||||
<li><a href="adlin" target="_self">ADministration Linux avancée</a></li>
|
||||
<li><a href="fic" target="_self">FIC</a></li>
|
||||
<li><a href="virli" target="_self">Virtualisation légère</a></li>
|
||||
</ul>
|
||||
|
||||
<h3>Questionnaires</h3>
|
||||
<survey-list surveys="surveys"></survey-list>
|
||||
</div>
|
||||
|
|
|
|||
Reference in a new issue