2007-03-18 16:26:53 +01:00
|
|
|
<?xml version='1.0' standalone='yes'?>
|
2015-06-04 22:08:45 +02:00
|
|
|
<container
|
|
|
|
xmlns="http://www.w3.org/1999/xhtml"
|
|
|
|
xmlns:var="http://www.skyrix.com/od/binding"
|
|
|
|
xmlns:const="http://www.skyrix.com/od/constant"
|
|
|
|
xmlns:label="OGo:label"
|
2019-02-19 17:49:26 +01:00
|
|
|
xmlns:rsrc="OGo:url"
|
2015-06-04 22:08:45 +02:00
|
|
|
>
|
2008-07-18 21:25:26 +02:00
|
|
|
<script type="text/javascript">
|
|
|
|
var dayStartHour = <var:string value="dayStartHour"/>;
|
|
|
|
var dayEndHour = <var:string value="dayEndHour"/>;
|
2013-12-19 04:16:28 +01:00
|
|
|
var timeFormat = '<var:string value="userDefaults.timeFormat" const:escapeHTML="NO"/>';
|
2008-07-18 21:25:26 +02:00
|
|
|
</script>
|
2019-02-08 14:17:23 +01:00
|
|
|
<div layout="row" layout-align="end center">
|
|
|
|
<!-- suggestions options -->
|
|
|
|
<md-checkbox ng-model="editor.component.$attendees.workDaysOnly">
|
|
|
|
<var:string label:value="Work days only"/>
|
|
|
|
</md-checkbox>
|
|
|
|
<sg-timepicker ng-model="editor.component.$attendees.slotStartTimeLimit"><!-- slot start --></sg-timepicker>
|
|
|
|
<sg-timepicker ng-model="editor.component.$attendees.slotEndTimeLimit"><!-- slot end --></sg-timepicker>
|
|
|
|
<md-button class="md-icon-button"
|
|
|
|
label:aria-label="Previous slot"
|
2019-02-21 15:06:36 +01:00
|
|
|
ng-click="editor.previousSlot()">
|
|
|
|
<md-tooltip><var:string label:value="Previous slot"/></md-tooltip>
|
|
|
|
<md-icon>chevron_left</md-icon>
|
|
|
|
</md-button>
|
2019-02-08 14:17:23 +01:00
|
|
|
<md-button class="md-icon-button"
|
|
|
|
label:aria-label="Next slot"
|
2019-02-21 15:06:36 +01:00
|
|
|
ng-click="editor.nextSlot()">
|
|
|
|
<md-tooltip><var:string label:value="Next slot"/></md-tooltip>
|
|
|
|
<md-icon>chevron_right</md-icon>
|
|
|
|
</md-button>
|
2019-02-08 14:17:23 +01:00
|
|
|
</div>
|
|
|
|
<div layout="row">
|
2015-06-04 22:08:45 +02:00
|
|
|
<!-- attendees -->
|
|
|
|
<md-list>
|
|
|
|
<md-list-item>
|
2015-09-25 22:07:56 +02:00
|
|
|
<div class="md-tile-left"><!-- empty --></div>
|
2015-06-04 22:08:45 +02:00
|
|
|
</md-list-item>
|
2017-07-27 22:50:03 +02:00
|
|
|
<!-- organizer -->
|
|
|
|
<md-list-item>
|
|
|
|
<div class="md-button md-icon-button">
|
|
|
|
<md-icon>person</md-icon>
|
|
|
|
</div>
|
|
|
|
<sg-avatar-image class="md-avatar"
|
2019-08-26 22:38:00 +02:00
|
|
|
sg-email="::editor.component.organizer.email"
|
2017-07-27 22:50:03 +02:00
|
|
|
size="40">person</sg-avatar-image>
|
2019-02-08 14:17:23 +01:00
|
|
|
<div class="sg-tile-content sg-padded--right">
|
2019-08-26 22:38:00 +02:00
|
|
|
<div class="sg-md-subhead"><div>{{::editor.component.organizer.name}}</div></div>
|
|
|
|
<div class="sg-md-body"><div>{{::editor.component.organizer.email}}</div></div>
|
2017-07-27 22:50:03 +02:00
|
|
|
</div>
|
|
|
|
<md-divider><!-- divider --></md-divider>
|
|
|
|
</md-list-item>
|
|
|
|
<!-- attendees -->
|
2015-06-25 17:30:44 +02:00
|
|
|
<md-list-item ng-repeat="currentAttendee in editor.component.attendees track by currentAttendee.email">
|
2019-02-19 17:49:26 +01:00
|
|
|
<md-button class="md-icon-button"
|
|
|
|
label:aria-label="Role"
|
|
|
|
ng-click="editor.component.$attendees.nextRole(currentAttendee)"
|
|
|
|
ng-switch="currentAttendee.role">
|
|
|
|
<md-tooltip md-direction="right">{{ currentAttendee.role | loc }}</md-tooltip>
|
|
|
|
<md-icon class="ng-animate-disabled" ng-switch-when="req-participant">record_voice_over</md-icon>
|
|
|
|
<md-icon class="ng-animate-disabled" ng-switch-when="opt-participant">person_outline</md-icon>
|
|
|
|
<md-icon class="ng-animate-disabled" ng-switch-when="non-participant" rsrc:md-svg-src="img/voice_over_off.svg"><!-- non-participant --></md-icon>
|
|
|
|
<md-icon class="ng-animate-disabled" ng-switch-when="chair">event_seat</md-icon>
|
|
|
|
</md-button>
|
2015-09-25 22:07:56 +02:00
|
|
|
<sg-avatar-image class="md-avatar"
|
2015-09-04 18:11:20 +02:00
|
|
|
sg-email="currentAttendee.email"
|
2019-07-04 21:10:41 +02:00
|
|
|
size="40">{{ editor.defaultIconForAttendee(currentAttendee) }}</sg-avatar-image>
|
2019-08-27 22:33:10 +02:00
|
|
|
<div class="sg-tile-content">
|
2015-09-25 22:07:56 +02:00
|
|
|
<div class="sg-md-subhead"><div>{{currentAttendee.name}}</div></div>
|
2019-08-27 22:33:10 +02:00
|
|
|
<div class="sg-md-body">
|
|
|
|
<div>{{currentAttendee.email}}</div>
|
2019-09-05 18:42:25 +02:00
|
|
|
<md-button class="sg-tile-thread" md-colors="::{ color: 'accent-600'}" ng-if="currentAttendee.isExpandableGroup" ng-click="editor.expandAttendee(currentAttendee)">
|
2019-08-27 22:33:10 +02:00
|
|
|
<md-icon class="md-rotate-180-ccw" md-colors="::{ color: 'accent-600'}">add_box</md-icon><span ng-bind="currentAttendee.members.length"></span>
|
|
|
|
</md-button>
|
|
|
|
</div>
|
2015-06-04 22:08:45 +02:00
|
|
|
</div>
|
2019-07-04 21:10:41 +02:00
|
|
|
<md-button class="md-icon-button"
|
|
|
|
label:aria-label="Delete"
|
|
|
|
ng-click="editor.removeAttendee(currentAttendee, eventForm)">
|
|
|
|
<md-icon>close</md-icon>
|
|
|
|
</md-button>
|
2016-06-16 20:46:05 +02:00
|
|
|
<md-divider><!-- divider --></md-divider>
|
2015-06-04 22:08:45 +02:00
|
|
|
</md-list-item>
|
|
|
|
</md-list>
|
2019-08-26 22:38:00 +02:00
|
|
|
<md-content id="freebusy" class="sg-freebusy" sg-component="editor.component">
|
2019-02-08 14:17:23 +01:00
|
|
|
<!-- freebusy -->
|
|
|
|
<md-list class="day"
|
|
|
|
id="freebusy_day_{{ day.getDayString }}"
|
|
|
|
ng-repeat="day in editor.attendeesEditor.days track by day.getDayString">
|
|
|
|
<!-- timeline -->
|
|
|
|
<md-list-item layout-align="start end">
|
|
|
|
<div layout="column" layout-align="end start">
|
|
|
|
<div>{{day.stringWithSeparator}}</div>
|
|
|
|
<div class="hours" layout="row" layout-align="space-between center">
|
|
|
|
<div class="hour" ng-repeat="hour in ::editor.attendeesEditor.hours">{{hour}}</div>
|
|
|
|
</div>
|
2015-06-04 22:08:45 +02:00
|
|
|
</div>
|
2019-02-08 14:17:23 +01:00
|
|
|
</md-list-item>
|
|
|
|
<!-- organizer freebusy -->
|
2019-08-26 22:38:00 +02:00
|
|
|
<sg-freebusy-day
|
|
|
|
sg-day="day.getDayString"
|
|
|
|
sg-attendees="editor.component.$attendees"
|
|
|
|
sg-attendee="editor.component.organizer"><!-- organizer --></sg-freebusy-day>
|
2019-02-08 14:17:23 +01:00
|
|
|
<!-- attendees freebusy -->
|
2019-08-26 22:38:00 +02:00
|
|
|
<sg-freebusy-day
|
|
|
|
ng-repeat="currentAttendee in editor.component.attendees track by currentAttendee.email"
|
|
|
|
sg-day="day.getDayString"
|
|
|
|
sg-attendees="editor.component.$attendees"
|
|
|
|
sg-attendee="currentAttendee"><!-- attendees --></sg-freebusy-day>
|
2019-02-08 14:17:23 +01:00
|
|
|
</md-list>
|
|
|
|
</md-content>
|
|
|
|
</div><!-- row -->
|
2017-03-10 20:43:02 +01:00
|
|
|
<!-- freebusy caption -->
|
2019-02-08 14:17:23 +01:00
|
|
|
<div layout="row" layout-align="end center" class="sg-padded--top">
|
2019-07-08 19:04:15 +02:00
|
|
|
<div class="quarter"><div class="busy sg-color-sample"><!-- busy --></div></div>
|
2017-03-10 20:43:02 +01:00
|
|
|
<label class="md-caption"><var:string label:value="Busy"/></label>
|
|
|
|
<div class="quarter"><div class="sg-no-freebusy sg-color-sample"><!-- no fb --></div></div>
|
|
|
|
<label class="md-caption"><var:string label:value="No free-busy information"/></label>
|
|
|
|
</div>
|
2015-06-04 22:08:45 +02:00
|
|
|
</container>
|