supervisors list, v2

parent 917c1634
...@@ -18,25 +18,33 @@ ...@@ -18,25 +18,33 @@
</div> </div>
<div class="table-responsive"> <div class="table-responsive">
<table class="table table-hover"> <table class="table">
<thead class="thead-default"> <thead class="thead-default">
<tr> <tr>
<th translate>name</th> <th translate>supervisors</th>
<th translate>email</th>
<th translate>students</th> <th translate>students</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr ng-repeat="supervisor in supervisors_list | filter:search_sups | orderBy: 'name'"> <tr ng-repeat="supervisor in supervisors_list | filter:search_sups | orderBy: 'name'">
<td class="color_blue">{{supervisor.name}} {{supervisor.surname}}</td> <td>
<td>{{supervisor.email}}</td> <div>
<div class="col-xs-2">
<img class="thumbnail preview" ng-src="/upload/supervisorAvatar/{{supervisor.pic}}" alt="Supervisor" title="Supervisor" />
</div>
<div class="col-xs-4">
<h4 class="list-group-item-heading">{{supervisor.name}} {{supervisor.surname}}</h4>
<p class="list-group-item-text">{{supervisor.email}}</p>
</div>
</div>
</td>
<td> <td>
<table> <div class="list-group">
<tr ng-repeat="student in supervisor.students" > <a href="#" class="list-group-item" ng-repeat="student in supervisor.students">
<td>{{ student.name }} {{ student.surname }}</td> {{ student.name }} {{ student.surname }}
</tr> </a>
</table> </div>
</td> </td>
</tr> </tr>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment