.content.xml
15.8 KB
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:granite="http://www.adobe.com/jcr/granite/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
jcr:primaryType="cq:Page">
<jcr:content
jcr:mixinTypes="[sling:VanityPath]"
jcr:primaryType="nt:unstructured"
jcr:title="AEM Screens | Schedule Dashboard"
sling:redirect="{Boolean}false"
sling:resourceType="screens/dcc/components/dashboard/page"
sling:vanityOrder="{Long}1200"
sling:vanityPath="/screens/dashboard/schedule"
contentPath="${requestPathInfo.suffix}"
omnisearchLocationPath="/libs/granite/omnisearch/content/metadata/screens"
pageURITemplate="/screens/dashboard/schedule.html{+id}">
<redirector
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/admin/contentchecker"
allowed="^(/content/launches/.*)?(/content/screens|/content/screens/(.*))$"
path="${requestPathInfo.suffix}"
redirectWhenEmpty="/screens.html/content/screens"/>
<head jcr:primaryType="nt:unstructured">
<clientlibs
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/includeclientlibs"
categories="[granite.ui.coral.foundation,cq.screens.dcc,cq.screens.dcc.dashboard]"/>
</head>
<breadcrumbs
jcr:primaryType="nt:unstructured"
sling:resourceType="screens/dcc/components/datasources/breadcrumbs"
parentPage="${granite:url("/screens.html")}"
path="${requestPathInfo.suffix}"/>
<actions jcr:primaryType="nt:unstructured">
<primary jcr:primaryType="nt:unstructured"/>
<secondary jcr:primaryType="nt:unstructured">
<close
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/collection/action"
action="foundation.link"
target=".screens-Schedule"
text="Close"
variant="quiet">
<data
jcr:primaryType="nt:unstructured"
href.uritemplate="${granite:concat("/screens.html", granite:encodeURIPath(granite:relativeParent(requestPathInfo.suffix, 1)))}"/>
</close>
</secondary>
</actions>
<content
granite:class="screens-Dashboard screens-ScheduleDashboard"
jcr:primaryType="nt:unstructured"
sling:resourceType="screens/dcc/components/granite/dashboard">
<items jcr:primaryType="nt:unstructured">
<scheduleinfo
granite:class="screens-dashboard-Tile screens-dashboard-ScheduleInfoTile foundation-collection"
granite:rel="screens-Schedule"
jcr:primaryType="nt:unstructured"
sling:resourceType="screens/dcc/components/granite/dashboard/tile"
title="Schedule Information">
<actions jcr:primaryType="nt:unstructured">
<default jcr:primaryType="nt:unstructured">
<viewproperties
granite:rel="screens-dcc-actions-properties-activator screens-dcc-actions-Schedule-properties-activator"
granite:title="View schedule properties"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/collection/action"
action="foundation.link"
icon="infoCircle"
target=".screens-Schedule"
text="Properties"
variant="actionBar">
<data
jcr:primaryType="nt:unstructured"
href.uritemplate="/screens/properties.html?item=${requestPathInfo.suffix}&returnPage=/screens/dashboard/schedule.html${requestPathInfo.suffix}"/>
</viewproperties>
</default>
</actions>
<content
granite:class="screens-dashboard-Tile-content--spaced"
jcr:primaryType="nt:unstructured">
<scheduleinfo
jcr:primaryType="nt:unstructured"
sling:resourceType="screens/dcc/components/dashboard/scheduleinfo"/>
</content>
</scheduleinfo>
<channels
granite:class="screens-dashboard-Tile screens-dashboard-ScheduleChannelsTile"
jcr:primaryType="nt:unstructured"
sling:resourceType="screens/dcc/components/granite/dashboard/tile"
modeGroup="screens-dcc-collection-channels"
target=".screens-ChannelCollection"
title="Assigned Channels">
<actions jcr:primaryType="nt:unstructured">
<default jcr:primaryType="nt:unstructured">
<assignchanneltoggle
granite:rel="screens-dcc-actions-ChannelLink-create-activator"
granite:title="Assign a channel to the schedule"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/collection/action"
action="foundation.dialog"
icon="add"
target=".screens-ChannelCollection"
text="Assign Channel"
variant="actionBar">
<data
jcr:primaryType="nt:unstructured"
nesting="hide"
src.uritemplate="/mnt/overlay/screens/dcc/content/assignchanneldialog.html?item=${requestPathInfo.suffix}&appendTo=/_jcr_content/"/>
<granite:rendercondition
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/renderconditions/privilege"
path="${requestPathInfo.suffix}"
privileges="jcr:addChildNodes"/>
</assignchanneltoggle>
</default>
<selection jcr:primaryType="nt:unstructured">
<editChannel
granite:rel="screens-dcc-actions-edit-activator"
granite:title="Edit assigned channel"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/collection/action"
action="cq.screens.dcc.openLink"
icon="edit"
target=".screens-ChannelCollection"
text="Edit Channel"
variant="actionBar">
<data
jcr:primaryType="nt:unstructured"
cookiePath.url="/"
href.uritemplate="/bin/wcmcommand?cmd=open&_charset_=utf-8&path={item}"/>
</editChannel>
<edit
granite:rel="screens-dcc-actions-ChannelLink-edit-activator"
granite:title="Edit channel assignment"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/collection/action"
action="foundation.dialog"
activeSelectionCount="single"
icon="infoCircle"
target=".screens-ChannelCollection"
text="Edit Assignment"
variant="actionBar">
<data
jcr:primaryType="nt:unstructured"
src.uritemplate="/mnt/overlay/screens/dcc/content/assignchanneldialog.html{+item}?item=${requestPathInfo.suffix}"/>
</edit>
<delete
granite:rel="screens-dcc-actions-delete-activator"
granite:title="Remove channel assignment"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/collection/action"
action="cq.screens.dcc.delete"
icon="delete"
target=".screens-ChannelCollection"
text="Remove Assignment"
variant="actionBar">
<data
jcr:primaryType="nt:unstructured"
touchContainingPages="{Boolean}true"/>
</delete>
</selection>
</actions>
<content
granite:class="screens-dashboard-Tile-content--spaced"
jcr:primaryType="nt:unstructured">
<list
granite:rel="screens-ChannelCollection"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/table"
layoutId="list"
limit="{Long}10"
modeGroup="screens-dcc-collection-channels"
path="${requestPathInfo.suffix}"
selectionMode="row"
size="${empty requestPathInfo.selectors[1] ? "10" : requestPathInfo.selectors[1]}"
sortMode="remote"
src="/mnt/overlay/screens/dcc/content/dashboard/schedule/jcr:content/content/items/channels/content/list{.offset,limit}.html{+id}{?sortName,sortDir}">
<columns jcr:primaryType="nt:unstructured">
<select
jcr:primaryType="nt:unstructured"
configurable="{Boolean}false"
default="{Boolean}true"
select="{Boolean}true"/>
<channel
jcr:primaryType="nt:unstructured"
jcr:title="Channel"
sortable="{Boolean}true"/>
<role
jcr:primaryType="nt:unstructured"
jcr:title="Role"
sortable="{Boolean}true"/>
<priority
jcr:primaryType="nt:unstructured"
jcr:title="Priority"
sortable="{Boolean}true"/>
<schedule
jcr:primaryType="nt:unstructured"
jcr:title="Schedule"/>
</columns>
<datasource
jcr:primaryType="nt:unstructured"
sling:resourceType="screens/dcc/components/datasources/channels"
itemResourceType="screens/dcc/components/dashboard/assignmentlistrow"
limit="${empty requestPathInfo.selectors[1] ? "11" : requestPathInfo.selectors[1] + 1}"
offset="${empty requestPathInfo.selectors[0] ? "0" : requestPathInfo.selectors[0]}"
path="${requestPathInfo.suffix}"/>
</list>
</content>
</channels>
<displays
granite:class="screens-dashboard-Tile screens-dashboard-ScheduleDisplaysTile"
jcr:primaryType="nt:unstructured"
sling:resourceType="screens/dcc/components/granite/dashboard/tile"
modeGroup="screens-dcc-collection-displays"
target=".screens-DisplayCollection"
title="Assigned Displays">
<actions jcr:primaryType="nt:unstructured">
<default jcr:primaryType="nt:unstructured"/>
</actions>
<content
granite:class="screens-dashboard-Tile-content--spaced"
jcr:primaryType="nt:unstructured">
<list
granite:rel="screens-DisplayCollection"
jcr:primaryType="nt:unstructured"
jcr:title="List View"
sling:resourceType="granite/ui/components/coral/foundation/table"
layoutId="list"
limit="{Long}10"
modeGroup="screens-dcc-collection-displays"
path="${requestPathInfo.suffix}"
selectionMode="row"
size="${empty requestPathInfo.selectors[1] ? "10" : requestPathInfo.selectors[1]}"
sortMode="remote"
src="/mnt/overlay/screens/dcc/content/dashboard/schedule/jcr:content/content/items/displays/content/list{.offset,limit}.html{+id}{?sortName,sortDir}">
<columns jcr:primaryType="nt:unstructured">
<thumbnail jcr:primaryType="nt:unstructured"/>
<display
jcr:primaryType="nt:unstructured"
jcr:title="Display"
sortable="{Boolean}true"/>
<role
jcr:primaryType="nt:unstructured"
jcr:title="Resolution"
sortable="{Boolean}true"/>
<actions jcr:primaryType="nt:unstructured"/>
</columns>
<datasource
jcr:primaryType="nt:unstructured"
sling:resourceType="screens/dcc/components/datasources/displays"
itemResourceType="screens/dcc/components/dashboard/displaylistrow"
limit="${empty requestPathInfo.selectors[1] ? "11" : requestPathInfo.selectors[1] + 1}"
offset="${empty requestPathInfo.selectors[0] ? "0" : requestPathInfo.selectors[0]}"
path="${requestPathInfo.suffix}"/>
</list>
</content>
</displays>
</items>
</content>
</jcr:content>
</jcr:root>