.content.xml
11.2 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
<?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 | Channel Dashboard"
sling:redirect="{Boolean}false"
sling:resourceType="screens/dcc/components/dashboard/page"
sling:vanityOrder="{Long}1200"
sling:vanityPath="/screens/dashboard/channel"
contentPath="${requestPathInfo.suffix}"
omnisearchLocationPath="/libs/granite/omnisearch/content/metadata/screens"
pageURITemplate="/screens/dashboard/channel.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,screens.dcc.devices,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-Channel"
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-ChannelDashboard"
jcr:primaryType="nt:unstructured"
sling:resourceType="screens/dcc/components/granite/dashboard">
<items jcr:primaryType="nt:unstructured">
<channelinfo
granite:class="screens-dashboard-Tile screens-dashboard-ChannelInfoTile"
granite:rel="screens-Channel"
jcr:primaryType="nt:unstructured"
sling:resourceType="screens/dcc/components/granite/dashboard/tile"
title="Channel Information">
<actions jcr:primaryType="nt:unstructured">
<default jcr:primaryType="nt:unstructured">
<viewproperties
granite:rel="screens-dcc-actions-properties-activator"
granite:title="View channel properties"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/collection/action"
action="foundation.link"
icon="infoCircle"
target=".screens-Channel"
text="Properties"
variant="actionBar">
<data
jcr:primaryType="nt:unstructured"
href.uritemplate="/screens/properties.html?item=${requestPathInfo.suffix}&returnPage=/screens/dashboard/channel.html${requestPathInfo.suffix}"/>
</viewproperties>
<open
granite:rel="screens-dcc-actions-edit-activator"
granite:title="Edit channel"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/collection/action"
action="cq.wcm.open"
icon="edit"
target=".screens-Channel"
text="Edit"
variant="actionBar">
<data
jcr:primaryType="nt:unstructured"
cookiePath.url="/"
href.uritemplate="/bin/wcmcommand?cmd=open&_charset_=utf-8&path=${requestPathInfo.suffix}"/>
</open>
<push
granite:rel="screens-dcc-actions-Channel-pushchannel-activator"
granite:title="Update offline channel cache"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/collection/action"
action="dcc.channel.push"
icon="dataRefresh"
target=".screens-Channel"
text="Update Offline Content"
variant="actionBar"/>
<preview
granite:rel="screens-dcc-actions-preview-activator"
granite:title="Preview display"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/collection/action"
action="cq.wcm.open"
icon="viewOn"
relScope="item"
target=".screens-Channel"
text="Preview Channel"
variant="actionBar">
<data
jcr:primaryType="nt:unstructured"
href.uritemplate.abs="${requestPathInfo.suffix}.html?wcmmode=disabled"/>
</preview>
</default>
</actions>
<content
granite:class="screens-dashboard-Tile-content--spaced"
jcr:primaryType="nt:unstructured">
<channelinfo
jcr:primaryType="nt:unstructured"
sling:resourceType="screens/dcc/components/dashboard/channelinfo"/>
</content>
</channelinfo>
<displays
granite:class="screens-dashboard-Tile screens-dashboard-ChannelDisplaysTile"
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">
<updateall
granite:rel="screens-dcc-actions-Device-configupdate-activator"
granite:title="Update the config and content of all devices"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/collection/action"
action="cq.screens.dcc.device.updateconfig"
icon="publish"
target=".screens-DisplayCollection"
text="Update Devices"
variant="actionBar"/>
</default>
<selection 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/channel/jcr:content/content/items/displays/content/list{.offset,limit}.html{+id}{?sortName,sortDir}">
<columns jcr:primaryType="nt:unstructured">
<thumbnail jcr:primaryType="nt:unstructured"/>
<channel
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>