|
26 | 26 | <clientlibs
|
27 | 27 | jcr:primaryType="nt:unstructured"
|
28 | 28 | sling:resourceType="granite/ui/components/coral/foundation/includeclientlibs"
|
29 |
| - categories="[coralui3,granite.ui.coral.foundation]"/> |
| 29 | + categories="[coralui3,granite.ui.coral.foundation,link-inspector-ui]"/> |
30 | 30 | </head>
|
31 | 31 | <title jcr:primaryType="nt:unstructured"
|
32 | 32 | sling:resourceType="granite/ui/components/coral/foundation/text"
|
33 | 33 | text="Link Inspector options"/>
|
34 | 34 | <actions jcr:primaryType="nt:unstructured">
|
35 | 35 | <secondary jcr:primaryType="nt:unstructured">
|
36 |
| - <!--<cancel |
| 36 | + <save |
37 | 37 | jcr:primaryType="nt:unstructured"
|
38 |
| - sling:resourceType="granite/ui/components/coral/foundation/anchorbutton" |
39 |
| - text="Cancel" |
40 |
| - granite:class="elc-options-cancel-button" |
41 |
| - x-cq-linkchecker="skip"/> |
42 |
| - <apply |
43 |
| - jcr:primaryType="nt:unstructured" |
44 |
| - sling:resourceType="granite/ui/components/coral/foundation/anchorbutton" |
45 |
| - text="Apply" |
46 |
| - variant="primary" |
47 |
| - granite:class="elc-options-apply-button" |
48 |
| - x-cq-linkchecker="skip"/>--> |
| 38 | + sling:resourceType="granite/ui/components/coral/foundation/button" |
| 39 | + type="submit" |
| 40 | + formId="elc-options-savesettings" |
| 41 | + granite:title="Save settings" |
| 42 | + icon="save" |
| 43 | + text="Save settings"/> |
49 | 44 | </secondary>
|
50 | 45 | </actions>
|
51 | 46 | <content jcr:primaryType="nt:unstructured"
|
|
57 | 52 | maximized="{Boolean}true">
|
58 | 53 | <items jcr:primaryType="nt:unstructured">
|
59 | 54 | <form jcr:primaryType="nt:unstructured"
|
| 55 | + granite:class="options-page" |
60 | 56 | sling:resourceType="granite/ui/components/coral/foundation/form"
|
| 57 | + granite:id="elc-options-savesettings" |
61 | 58 | method="post"
|
| 59 | + foundationForm="true" |
62 | 60 | dataPath="/conf/etoolbox-link-inspector/data/optionsconfig"
|
63 | 61 | action="/conf/etoolbox-link-inspector/data/optionsconfig"
|
64 | 62 | style="vertical">
|
| 63 | + <successresponse |
| 64 | + jcr:primaryType="nt:unstructured" |
| 65 | + jcr:title="Settings saved" |
| 66 | + sling:resourceType="granite/ui/components/coral/foundation/form/responses/reload"/> |
65 | 67 | <items jcr:primaryType="nt:unstructured">
|
66 | 68 | <tabs jcr:primaryType="nt:unstructured"
|
67 | 69 | maximized="{Boolean}true"
|
|
160 | 162 | sling:resourceType="/bin/etoolbox/link-inspector/settings/linktypes"/>
|
161 | 163 |
|
162 | 164 | </linkTypes>
|
| 165 | + <allowCustomLinkTypes |
| 166 | + jcr:primaryType="nt:unstructured" |
| 167 | + sling:resourceType="granite/ui/components/coral/foundation/form/checkbox" |
| 168 | + name="./customTypeAllowed" |
| 169 | + text="Allow custom link type" |
| 170 | + fieldDescription="If checked custom link types will be included in the reports" |
| 171 | + uncheckedValue="{Boolean}false" |
| 172 | + checked="{Boolean}false" |
| 173 | + value="{Boolean}true"/> |
| 174 | + <excludeTags |
| 175 | + jcr:primaryType="nt:unstructured" |
| 176 | + sling:resourceType="granite/ui/components/coral/foundation/form/checkbox" |
| 177 | + name="./excludeTags" |
| 178 | + text="Exclude tags" |
| 179 | + fieldDescription="If checked, the internal links starting with /content/cq:tags will be excluded" |
| 180 | + uncheckedValue="{Boolean}false" |
| 181 | + checked="{Boolean}false" |
| 182 | + value="{Boolean}true"/> |
| 183 | + <statusCodes |
| 184 | + granite:class="foundation-layout-util-maximized-alt" |
| 185 | + jcr:primaryType="nt:unstructured" |
| 186 | + sling:resourceType="granite/ui/components/coral/foundation/form/multifield" |
| 187 | + composite="{Boolean}true" |
| 188 | + name="./statusCodes" |
| 189 | + fieldLabel="Status codes" |
| 190 | + fieldDescription="The list of status codes allowed for broken links in the report. Set a single negative value to allow all http error codes" |
| 191 | + renderReadOnly="{Boolean}true"> |
| 192 | + <field |
| 193 | + jcr:primaryType="nt:unstructured" |
| 194 | + sling:resourceType="granite/ui/components/coral/foundation/form/numberfield" |
| 195 | + name="./statusCodes"> |
| 196 | + </field> |
| 197 | + </statusCodes> |
163 | 198 |
|
164 | 199 | </items>
|
165 | 200 | </main>
|
|
171 | 206 | <items jcr:primaryType="nt:unstructured"
|
172 | 207 | sling:resourceType="granite/ui/components/coral/foundation/container">
|
173 | 208 | <text jcr:primaryType="nt:unstructured"
|
174 |
| - sling:resourceType="granite/ui/components/coral/foundation/form/textfield" |
175 |
| - fieldLabel="Advanced Tab - Text" |
176 |
| - name="./advancedText"> |
| 209 | + sling:resourceType="granite/ui/components/coral/foundation/form/numberfield" |
| 210 | + fieldLabel="Threads per core" |
| 211 | + fieldDescription="The number of threads created per each CPU core for validating links in parallel" |
| 212 | + defaultValuestring="60" |
| 213 | + name="./threadsPerCore"> |
177 | 214 | </text>
|
178 | 215 | </items>
|
179 | 216 | </advanced>
|
180 | 217 | <datasource jcr:primaryType="nt:unstructured"
|
181 | 218 | sling:resourceType="/bin/etoolbox/link-inspector/settings"/>
|
182 | 219 | </tabs>
|
183 |
| - <save |
184 |
| - jcr:primaryType="nt:unstructured" |
185 |
| - sling:resourceType="granite/ui/components/coral/foundation/button" |
186 |
| - type="submit" |
187 |
| - granite:id="elc-options-savesettings" |
188 |
| - granite:title="Save settings" |
189 |
| - icon="save" |
190 |
| - text="Save settings"/> |
191 | 220 | </items>
|
192 | 221 | </form>
|
193 | 222 | </items>
|
|
0 commit comments