.content.xml
14.4 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
<?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 | Device Dashboard"
sling:redirect="{Boolean}false"
sling:resourceType="screens/dcc/components/dashboard/page"
sling:vanityOrder="{Long}1200"
sling:vanityPath="/screens/dashboard/device"
contentPath="${requestPathInfo.suffix}"
omnisearchLocationPath="/libs/granite/omnisearch/content/metadata/screens"
pageURITemplate="/screens/dashboard/device.html{+id}">
<redirector
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/admin/contentchecker"
allowed="^(/home/users/screens|/home/users/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-Device"
text="Close"
variant="quiet">
<data
jcr:primaryType="nt:unstructured"
href.uritemplate="${empty param.returnPage ? (empty header.Referer ? "/screens.html" : header.Referer) : param.returnPage}"/>
</close>
</secondary>
</actions>
<content
granite:class="screens-Dashboard screens-DeviceDashboard screens-Device"
jcr:primaryType="nt:unstructured"
sling:resourceType="screens/dcc/components/granite/dashboard">
<granite:data
jcr:primaryType="nt:unstructured"
device-path="${requestPathInfo.suffix}"/>
<items jcr:primaryType="nt:unstructured">
<alert
granite:id="ReferrerFilterAlert"
jcr:primaryType="nt:unstructured"
jcr:title="Your security settings may prevent some features from working."
sling:resourceType="granite/ui/components/coral/foundation/alert"
text="Please allow empty referrer in the OSGi configuration manager."
variant="warning">
<granite:rendercondition
jcr:primaryType="nt:unstructured"
sling:resourceType="screens/dcc/components/renderconditions/hasProperty"
componentPID="org.apache.sling.security.impl.ReferrerFilter"
propertyName="allow.empty"/>
</alert>
<deviceinfo
granite:class="screens-dashboard-Tile screens-dashboard-DeviceInfoTile"
jcr:primaryType="nt:unstructured"
sling:resourceType="screens/dcc/components/granite/dashboard/tile"
title="Device Information">
<actions jcr:primaryType="nt:unstructured">
<default jcr:primaryType="nt:unstructured">
<devicepropertiestoggle
granite:rel="screens-dcc-actions-Device-properties-activator"
granite:title="View device properties"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/collection/action"
action="foundation.dialog"
icon="infoCircle"
target=".screens-Device"
text="Properties"
variant="actionBar">
<data
jcr:primaryType="nt:unstructured"
nesting="hide"
src.uritemplate="/mnt/overlay/screens/dcc/content/devicepropertiesdialog.html${requestPathInfo.suffix}"/>
<granite:rendercondition
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/renderconditions/privilege"
path="${requestPathInfo.suffix}/profile_screens"
privileges="jcr:read"/>
</devicepropertiestoggle>
<update
granite:rel="screens-dcc-actions-Device-pushconfig-activator"
granite:title="Update the config and content of the device"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/button"
icon="publish"
text="Update Device"
variant="actionBar"/>
</default>
</actions>
<content
granite:class="screens-dashboard-Tile-content--spaced"
jcr:primaryType="nt:unstructured">
<deviceinfo
jcr:primaryType="nt:unstructured"
sling:resourceType="screens/dcc/components/dashboard/deviceinfo"/>
</content>
</deviceinfo>
<devicescreenshot
granite:class="screens-dashboard-Tile screens-dashboard-DeviceScreenshotTile"
jcr:primaryType="nt:unstructured"
sling:resourceType="screens/dcc/components/granite/dashboard/tile"
title="Player Screenshot">
<actions jcr:primaryType="nt:unstructured">
<default jcr:primaryType="nt:unstructured">
<refresh
granite:rel="screens-dcc-actions-Device-screenshot-activator"
granite:title="Fetch a new screenshot from the device"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/button"
icon="cameraRefresh"
text="Refresh Screenshot"
variant="actionBar"/>
<fullscreen
granite:rel="screens-dcc-actions-Device-fullscreen-activator"
granite:title="View device screenshot in fullscreen"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/collection/action"
action="foundation.dialog"
icon="fullScreen"
target=".screens-Device"
text="Fullscreen"
variant="actionBar">
<data
jcr:primaryType="nt:unstructured"
nesting="hide"
src.uritemplate="/mnt/overlay/screens/dcc/content/screenshotdialog.html${requestPathInfo.suffix}"/>
</fullscreen>
</default>
</actions>
<content
granite:class="screens-dashboard-Tile-content--spaced"
jcr:primaryType="nt:unstructured">
<devicescreenshot
jcr:primaryType="nt:unstructured"
sling:resourceType="screens/dcc/components/dashboard/devicescreenshot"/>
</content>
</devicescreenshot>
<activity
granite:class="screens-dashboard-Tile screens-dashboard-DeviceActivityTile"
jcr:primaryType="nt:unstructured"
sling:resourceType="screens/dcc/components/granite/dashboard/tile"
title="Activity">
<actions jcr:primaryType="nt:unstructured">
<default jcr:primaryType="nt:unstructured">
<logs
granite:rel="screens-dcc-actions-Device-logs-activator"
granite:title="Collect logs from the device"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/button"
icon="printPreview"
text="Collect Logs"
variant="actionBar"/>
</default>
</actions>
<content
granite:class="screens-dashboard-Tile-content--spaced"
jcr:primaryType="nt:unstructured">
<deviceactivity
jcr:primaryType="nt:unstructured"
sling:resourceType="screens/dcc/components/dashboard/deviceactivity"/>
</content>
</activity>
<preferences
granite:class="screens-dashboard-Tile screens-dashboard-DevicePreferencesTile"
jcr:primaryType="nt:unstructured"
sling:resourceType="screens/dcc/components/granite/dashboard/tile"
title="Preferences">
<actions jcr:primaryType="nt:unstructured">
<default jcr:primaryType="nt:unstructured">
<devicepreferencestoggle
granite:rel="screens-dcc-actions-Device-preferences-activator"
granite:title="View the device preferences"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/collection/action"
action="foundation.dialog"
icon="gear"
target=".screens-Device"
text="Settings"
variant="actionBar">
<data
jcr:primaryType="nt:unstructured"
nesting="hide"
src.uritemplate="/mnt/overlay/screens/dcc/content/devicepreferencesdialog.html${requestPathInfo.suffix}"/>
</devicepreferencestoggle>
</default>
</actions>
<content
granite:class="screens-dashboard-Tile-content--spaced"
jcr:primaryType="nt:unstructured">
<devicepreferences
jcr:primaryType="nt:unstructured"
sling:resourceType="screens/dcc/components/dashboard/devicepreferences"/>
</content>
</preferences>
<devicedetails
granite:class="screens-dashboard-Tile screens-dashboard-DeviceStatusTile"
jcr:primaryType="nt:unstructured"
sling:resourceType="screens/dcc/components/granite/dashboard/tile"
colspan="2"
title="Device Details">
<actions jcr:primaryType="nt:unstructured">
<default jcr:primaryType="nt:unstructured">
<restart
granite:rel="screens-dcc-actions-Device-restart-activator"
granite:title="Restart the player application"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/button"
icon="devicePhoneRefresh"
text="Restart Player"
variant="actionBar"/>
<refresh
granite:rel="screens-dcc-actions-Device-status-activator"
granite:title="Fetch latest device status information"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/button"
icon="dataRefresh"
text="Refresh Status"
variant="actionBar"/>
</default>
</actions>
<content
granite:class="screens-dashboard-Tile-content--spaced"
jcr:primaryType="nt:unstructured">
<devicedetails
jcr:primaryType="nt:unstructured"
sling:resourceType="screens/dcc/components/dashboard/devicedetails"/>
</content>
</devicedetails>
</items>
</content>
</jcr:content>
</jcr:root>