schedule table improvements

This commit is contained in:
tmshv committed 2015-08-15 19:40:45 +03:00
1 parent 6861e365ce
commit 1c92ecfef1
4 files changed
+147 -208

No files matched your search

+3 -6
View File
@@ -1,6 +1,6 @@
<div class="schedule-block" ng-show="groups">
<div class="schedule-table" ng-show="groups">
<table>
<thead class="">
<thead>
<tr>
<th class="group">Гр.</th>
<th ng-class="{current: isToday(0)}">
@@ -35,21 +35,18 @@
</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="group in groups">
<td class="group">
<p class="name">{{group.name}}</p>
<p class="time">{{group.time}}</p>
</td>
<td ng-repeat="day in group.days track by $index" ng-class="{current: isToday($index)}">
<p class="lesson"><a href="">{{day.lesson}}</a></p>
<p class="teacher"><a href="">{{day.teacher}}</a></p>
<p class="time">{{day.time[0]}}</p>
<p class="time">{{day.time[1]}}</p>
</td>
</tr>