salix/modules/worker/front/calendar/index.html

29 lines
1.0 KiB
HTML
Raw Normal View History

<vn-crud-model
url="/api/AbsenceTypes"
data="$ctrl.absenceTypes" auto-load="true">
</vn-crud-model>
<div class="main-with-right-menu">
<vn-card compact pad-large>
2019-03-22 07:28:57 +00:00
<vn-horizontal class="calendar-list">
<section class="calendar" ng-repeat="month in $ctrl.months">
<vn-calendar
data="$ctrl.events"
2019-03-22 07:28:57 +00:00
default-date="month"
display-controls="false">
</vn-calendar>
</section>
</vn-horizontal>
</vn-card>
<vn-side-menu side="right">
<vn-vertical pad-small>
<vn-vertical class="totalBox">
<h6 translate>Holidays</h6>
<vn-auto>
{{'Used' | translate}} {{$ctrl.calendar.holidaysEnjoyed}}
{{'of' | translate}} {{$ctrl.calendar.totalHolidays}} {{'days' | translate}}
</vn-auto>
</vn-vertical>
<vn-color-legend data="$ctrl.legends"></vn-color-legend>
</vn-vertical>
</vn-side-menu>
</div>