-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcourses.html
23 lines (21 loc) · 1.02 KB
/
courses.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<script type="text/ng-template" id="courses">
<md-select ng-model="$ls.selected.course" class="no-margin" flex-xs="100">
<md-option ng-repeat="id in $ls.terms[$toolbar.term].courses" ng-value="id" ng-if="$ls.courses[id].title && id.length < 8">
{{ ::$ls.courses[id].title }}
</md-option>
</md-select>
</script>
<div layout="row" flex>
<md-card flex-gt-xs="30" ng-include="$media('gt-xs') ? 'documents'.url() : $ls.selected.coursesCard.url()" card></md-card>
<div layout="column" ng-if="$media('gt-xs')" flex>
<div layout="row" flex="50">
<md-card ng-include="::'updates'.url()" card></md-card>
<md-card ng-include="::'deadlines'.url()" card></md-card>
</div>
<div layout="row" flex>
<md-card ng-include="::'info'.url()" flex="66" card></md-card>
<md-card ng-include="::'mailto'.url()" card></md-card>
</div>
</div>
</div>
<navbar cards="::cards" select="coursesCard" default="documents" ng-if="$media('xs')"></navbar>