Created
October 2, 2013 14:39
-
-
Save dwaligora/6794802 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="week-timetable" style="overflow-y: scroll"> | |
<div class="grid-right"> | |
<div class="day-row"> | |
<div class="day-col" data-ng-repeat="day in $parent.timetable.days"> | |
<h1 data-ng-click="go('/calendar/day/' + day.date, 'fade')">{{ day.name }}</h1> | |
</div> | |
</div> | |
<div class="time-row" data-ng-repeat="obj in $parent.timetable.slots"> | |
<div data-ng-repeat="slot in obj"> | |
<div data-ng-if="!slot.is_break"> | |
<div class="number" data-ng-if="$index == 0"> | |
<h1>{{ slot.period }}</h1> | |
</div> | |
<div class="time-col lesson" data-ng-class="{homework_circle: slot.homeworks}"> | |
<i>{{ slot.subject.icon }}</i> | |
<h3>{{ slot.subject.name | substr:0:3 | uppercase}}</h3> | |
</div> | |
</div> | |
<div class="break-weekview time-col break {{slot.name | lowercase}}" data-ng-if="slot.is_break"> | |
<h1> | |
<span class="weekview-icon" data-ng-if="slot.name == 'LUNCH'"><i class="ss-utensils">🍴</i></span> | |
<span class="weekview-icon" data-ng-if="slot.name == 'RECESS'"><i class="ss-palmtree">🌴</i></span> | |
<span class="weekview-icon" data-ng-if="slot.name == 'TUTE'"><i class="ss-compose">📝</i></span> | |
<span class="weekview-icon" data-ng-if="slot.name == 'ASSEMBLY'"><i class="ss-users">👥</i></span> | |
<span class="weekview-text">{{ slot.name }}</span> | |
</h1> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment