.content.xml
7.19 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
<?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:mixinTypes="[granite:InternalArea]"
jcr:primaryType="cq:Page">
<jcr:content
jcr:mixinTypes="[sling:VanityPath]"
jcr:primaryType="nt:unstructured"
jcr:title="AEM Screens | Pending Devices"
sling:redirect="{Boolean}false"
sling:resourceType="granite/ui/components/shell/collectionpage"
sling:vanityOrder="{Long}1200"
sling:vanityPath="/screens/pendingdevices"
contentPath="${requestPathInfo.suffix}"
currentView="${state["shell.devicespage.layoutId"].string}"
modeGroup="screens-dcc-collection-resources"
omnisearchLocationPath="/libs/granite/omnisearch/content/metadata/screens"
pageURITemplate="/screens/pendingdevices.html{+id}"
targetCollection=".screens-dcc-collection-resources">
<redirector
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/admin/contentchecker"
allowed="^(/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]"/>
</head>
<views jcr:primaryType="nt:unstructured">
<list
granite:rel="screens-dcc-collection-resources"
jcr:primaryType="nt:unstructured"
jcr:title="List View"
sling:resourceType="granite/ui/components/coral/foundation/table"
icon="viewList"
layoutId="list"
limit="{Long}40"
metaResourceType="cq/gui/components/coral/admin/page/meta"
modeGroup="screens-dcc-collection-resources"
path="${requestPathInfo.suffix}"
rowReorderAction="/bin/wcmcommand?cmd=movePage&srcPath={item}&destPath={item}&before={before}&_charset_=utf-8&"
selectionMode="row"
size="${empty requestPathInfo.selectors[1] ? "40" : requestPathInfo.selectors[1]}"
sortMode="remote"
src="/mnt/overlay/screens/dcc/content/pendingdevices/jcr:content/views/list{.offset,limit}.html{+id}{?sortName,sortDir}"
stateId="shell.devicespage">
<columns jcr:primaryType="nt:unstructured">
<select
jcr:primaryType="nt:unstructured"
select="{Boolean}true"/>
<title
jcr:primaryType="nt:unstructured"
jcr:title="Title"
sortable="{Boolean}true"/>
<uuid
jcr:primaryType="nt:unstructured"
jcr:title="UUID"
sortable="{Boolean}true"/>
<model
jcr:primaryType="nt:unstructured"
jcr:title="Model"
sortable="{Boolean}true"/>
<platform
jcr:primaryType="nt:unstructured"
jcr:title="Device OS"
sortable="{Boolean}true"/>
<version
jcr:primaryType="nt:unstructured"
jcr:title="Device OS Version"
sortable="{Boolean}true"/>
</columns>
<datasource
jcr:primaryType="nt:unstructured"
sling:resourceType="screens/dcc/components/datasources/pendingdevices"
exclude="/content/(?!screens)(/.*)*"
itemResourceType="screens/dcc/components/listrow/pendingdevice"
limit="${empty requestPathInfo.selectors[1] ? "41" : requestPathInfo.selectors[1] + 1}"
offset="${requestPathInfo.selectors[0]}"
path="${requestPathInfo.suffix}"/>
</list>
<card
granite:rel="screens-dcc-collection-resources"
jcr:primaryType="nt:unstructured"
jcr:title="Card View"
sling:resourceType="granite/ui/components/coral/foundation/masonry"
icon="viewCard"
layoutId="card"
limit="{Long}20"
metaResourceType="cq/gui/components/coral/admin/page/meta"
modeGroup="screens-dcc-collection-resources"
path="${requestPathInfo.suffix}"
selectionMode="${state["shell.devicespage.selectionMode"].boolean}"
size="${empty requestPathInfo.selectors[1] ? "20" : requestPathInfo.selectors[1]}"
src="/mnt/overlay/screens/dcc/content/pendingdevices/jcr:content/views/card{.offset,limit}.html{+id}"
stateId="shell.devicespage">
<datasource
jcr:primaryType="nt:unstructured"
sling:resourceType="screens/dcc/components/datasources/pendingdevices"
exclude="/content/(?!screens)(/.*)*"
itemResourceType="screens/dcc/components/card/pendingdevice"
limit="${empty requestPathInfo.selectors[1] ? "21" : requestPathInfo.selectors[1] + 1}"
offset="${requestPathInfo.selectors[0]}"
path="${requestPathInfo.suffix}"/>
</card>
</views>
<breadcrumbs
jcr:primaryType="nt:unstructured"
sling:resourceType="screens/dcc/components/datasources/breadcrumbs"
pageId="screens-PendingDevices"
parentPage="${granite:url("/screens.html")}"
path="${requestPathInfo.suffix}"/>
<actions jcr:primaryType="nt:unstructured">
<primary jcr:primaryType="nt:unstructured"/>
<secondary jcr:primaryType="nt:unstructured"/>
<selection jcr:primaryType="nt:unstructured">
<registerdevice
granite:rel="screens-dcc-actions-register-activator"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/collection/action"
action="foundation.link"
activeSelectionCount="single"
icon="gearsAdd"
target=".screens-dcc-collection-resources"
text="Register Device"
variant="actionBar">
<data
jcr:primaryType="nt:unstructured"
href.uritemplate="/screens/register-device-wizard.html${requestPathInfo.suffix}{?item}"/>
</registerdevice>
</selection>
</actions>
</jcr:content>
</jcr:root>