90 lines
3.5 KiB
XML
90 lines
3.5 KiB
XML
<?xml version="1.0" standalone="yes"?>
|
|
<!DOCTYPE container>
|
|
<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"
|
|
>
|
|
<md-dialog flex-sm="100">
|
|
|
|
<md-toolbar ng-style="{ 'background-color': properties.calendar.color }">
|
|
<div class="md-toolbar-tools sg-padded--right">
|
|
<!-- color -->
|
|
<sg-color-picker sg-on-select="properties.calendar.color = color"><!-- color picker --></sg-color-picker>
|
|
<!-- name -->
|
|
<md-input-container>
|
|
<label><var:string label:value="Name"/></label>
|
|
<input type="text"
|
|
class="md-title"
|
|
ng-model="properties.calendar.name"/>
|
|
</md-input-container>
|
|
<md-button class="md-icon-button" ng-click="properties.close()">
|
|
<md-icon aria-label="Close dialog">close</md-icon>
|
|
</md-button>
|
|
</div>
|
|
</md-toolbar>
|
|
|
|
<md-dialog-content>
|
|
<md-checkbox
|
|
ng-model="properties.calendar.includeInFreeBusy"
|
|
ng-true-value="1"
|
|
ng-false-value="0">
|
|
<var:string label:value="Include in free-busy"/>
|
|
</md-checkbox>
|
|
<md-checkbox
|
|
ng-model="properties.calendar.showCalendarAlarms"
|
|
ng-true-value="1"
|
|
ng-false-value="0">
|
|
<var:string label:value="Show alarms"/>
|
|
</md-checkbox>
|
|
<md-checkbox
|
|
ng-model="properties.calendar.showCalendarTasks"
|
|
ng-true-value="1"
|
|
ng-false-value="0">
|
|
<var:string label:value="Show tasks"/>
|
|
</md-checkbox>
|
|
<md-checkbox
|
|
ng-model="properties.calendar.reloadOnLogin"
|
|
ng-show="properties.calendar.isWebCalendar"
|
|
ng-true-value="1"
|
|
ng-false-value="0">
|
|
<var:string label:value="Reload on login"/>
|
|
</md-checkbox>
|
|
<div ng-hide="properties.calendar.isWebCalendar || !properties.calendar.isOwned">
|
|
<md-divider><!-- divider --></md-divider>
|
|
<md-checkbox
|
|
ng-model="properties.calendar.notifications.notifyOnPersonalModifications"
|
|
ng-true-value="1"
|
|
ng-false-value="0">
|
|
<var:string label:value="Receive a mail when I modify my calendar"/>
|
|
</md-checkbox>
|
|
<md-checkbox
|
|
ng-model="properties.calendar.notifications.notifyOnExternalModifications"
|
|
ng-true-value="1"
|
|
ng-false-value="0">
|
|
<var:string label:value="Receive a mail when someone else modifies my calendar"/>
|
|
</md-checkbox>
|
|
<md-checkbox
|
|
ng-model="properties.calendar.notifications.notifyUserOnPersonalModifications"
|
|
ng-true-value="1"
|
|
ng-false-value="0">
|
|
<var:string label:value="When I modify my calendar, send a mail to:"/>
|
|
</md-checkbox>
|
|
<md-input-container md-no-float="md-no-float">
|
|
<input type="text"
|
|
label:placeholder="Email Address"
|
|
ng-value="properties.calendar.notifications.notifiedUserOnPersonalModifications"
|
|
ng-disabled="!properties.calendar.notifications.notifyUserOnPersonalModifications"/>
|
|
</md-input-container>
|
|
</div>
|
|
</md-dialog-content>
|
|
|
|
<div class="md-actions">
|
|
<md-button type="button" ng-click="properties.close()"><var:string label:value="Cancel"/></md-button>
|
|
<md-button ng-click="properties.saveProperties()"><var:string label:value="Save"/></md-button>
|
|
</div>
|
|
|
|
</md-dialog>
|
|
</container>
|