-
Notifications
You must be signed in to change notification settings - Fork 275
/
UIxCalendarProperties.wox
97 lines (93 loc) · 3.86 KB
/
UIxCalendarProperties.wox
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?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-xs="100">
<md-toolbar ng-class="properties.calendar.getClassName('bg')">
<div class="md-toolbar-tools">
<!-- color -->
<sg-color-picker ng-model="properties.calendar.color"><!-- color picker --></sg-color-picker>
<!-- name -->
<md-input-container class="md-block md-flex">
<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 class="md-dialog-content" layout="column">
<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.synchronize"
ng-show="!properties.calendar.isWebCalendar"
ng-disabled="properties.calendar.id == 'personal'"
ng-true-value="1"
ng-false-value="0">
<var:string label:value="Synchronize"/>
</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" layout="column">
<md-divider class="md-padding"><!-- 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 flex-offset="5" md-no-float="md-no-float">
<input type="text"
label:placeholder="Email Address"
ng-model="properties.calendar.notifications.notifiedUserOnPersonalModifications"
ng-disabled="!properties.calendar.notifications.notifyUserOnPersonalModifications"/>
</md-input-container>
</div>
</md-dialog-content>
<md-dialog-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>
</md-dialog-actions>
</md-dialog>
</container>