2018-11-12 10:31:58 +00:00
|
|
|
<div>
|
|
|
|
<vn-horizontal class="header">
|
|
|
|
<vn-auto>
|
2019-02-10 21:52:35 +00:00
|
|
|
<vn-icon
|
|
|
|
icon="keyboard_arrow_left"
|
|
|
|
class="pointer"
|
2019-01-21 10:45:53 +00:00
|
|
|
ng-click="$ctrl.movePrevious($ctrl.skip)"
|
2019-02-10 21:52:35 +00:00
|
|
|
ng-show="$ctrl.displayControls"/>
|
2018-11-12 10:31:58 +00:00
|
|
|
</vn-icon>
|
|
|
|
</vn-auto>
|
|
|
|
<vn-one>
|
2019-01-21 10:45:53 +00:00
|
|
|
<strong>
|
2019-04-03 10:29:23 +00:00
|
|
|
<span translate>{{$ctrl.defaultDate | date: 'MMMM'}}</span>
|
|
|
|
<span>{{$ctrl.defaultDate | date: 'yyyy'}}</span>
|
2019-01-21 10:45:53 +00:00
|
|
|
</strong>
|
2018-11-12 10:31:58 +00:00
|
|
|
</vn-one>
|
|
|
|
<vn-auto>
|
2019-02-10 21:52:35 +00:00
|
|
|
<vn-icon
|
|
|
|
icon="keyboard_arrow_right"
|
|
|
|
class="pointer"
|
2019-01-21 10:45:53 +00:00
|
|
|
ng-click="$ctrl.moveNext($ctrl.skip)"
|
2019-02-26 11:51:01 +00:00
|
|
|
ng-show="$ctrl.displayControls">
|
2018-11-12 10:31:58 +00:00
|
|
|
</vn-icon>
|
|
|
|
</vn-auto>
|
|
|
|
</vn-horizontal>
|
2019-04-03 10:29:23 +00:00
|
|
|
|
|
|
|
<vn-vertical class="body">
|
|
|
|
<vn-horizontal class="weekdays">
|
2019-06-26 11:35:38 +00:00
|
|
|
<section title="{{'Monday' | translate}}"
|
|
|
|
ng-click="$ctrl.selectAll(1)">
|
2019-04-03 10:29:23 +00:00
|
|
|
<span>L</span>
|
|
|
|
</section>
|
2019-06-26 11:35:38 +00:00
|
|
|
<section title="{{'Tuesday' | translate}}"
|
|
|
|
ng-click="$ctrl.selectAll(2)">
|
2019-04-03 10:29:23 +00:00
|
|
|
<span>M</span>
|
|
|
|
</section>
|
2019-06-26 11:35:38 +00:00
|
|
|
<section title="{{'Wednesday' | translate}}"
|
|
|
|
ng-click="$ctrl.selectAll(3)">
|
2019-04-03 10:29:23 +00:00
|
|
|
<span>X</span>
|
|
|
|
</section>
|
2019-06-26 11:35:38 +00:00
|
|
|
<section title="{{'Thursday' | translate}}"
|
|
|
|
ng-click="$ctrl.selectAll(4)">
|
2019-04-03 10:29:23 +00:00
|
|
|
<span>J</span>
|
|
|
|
</section>
|
2019-06-26 11:35:38 +00:00
|
|
|
<section title="{{'Friday' | translate}}"
|
|
|
|
ng-click="$ctrl.selectAll(5)">
|
2019-04-03 10:29:23 +00:00
|
|
|
<span>V</span>
|
|
|
|
</section>
|
2019-06-26 11:35:38 +00:00
|
|
|
<section title="{{'Saturday' | translate}}"
|
|
|
|
ng-click="$ctrl.selectAll(6)">
|
2019-04-03 10:29:23 +00:00
|
|
|
<span>S</span>
|
|
|
|
</section>
|
2019-06-26 11:35:38 +00:00
|
|
|
<section title="{{'Sunday' | translate}}"
|
|
|
|
ng-click="$ctrl.selectAll(0)">
|
2019-04-03 10:29:23 +00:00
|
|
|
<span>D</span>
|
|
|
|
</section>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal class="days">
|
2019-06-26 11:35:38 +00:00
|
|
|
<section ng-repeat="day in $ctrl.days" class="day"
|
|
|
|
ng-class="{'primary': day.events.length > 0}">
|
|
|
|
<div class="content">
|
|
|
|
<div class="day-number"
|
2019-07-31 07:50:47 +00:00
|
|
|
title="{{(day.eventName) | translate}}"
|
|
|
|
ng-style="$ctrl.renderStyle(day.style)"
|
2019-06-26 11:35:38 +00:00
|
|
|
ng-click="$ctrl.select($index)">
|
|
|
|
{{::day.dated | date: 'd'}}
|
|
|
|
</div>
|
|
|
|
<div ng-if="day.events" class="events">
|
|
|
|
<div ng-repeat="event in day.events" class="event"
|
|
|
|
title="{{(event.description || event.name) | translate}}">
|
|
|
|
<span class="chip ellipsize"
|
|
|
|
ng-style="::$ctrl.renderStyle(event.style)">
|
|
|
|
{{::event.name}}
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-04-03 10:29:23 +00:00
|
|
|
</section>
|
|
|
|
</vn-horizontal>
|
|
|
|
</vn-vertical>
|
2018-11-12 10:31:58 +00:00
|
|
|
</div>
|