.content.xml 3.8 KB
<?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:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
    granite:rel="screens-dcc-actions-deveicepreferencces-dialog"
    jcr:mixinTypes="[granite:InternalArea]"
    jcr:primaryType="nt:unstructured"
    jcr:title="Device Preferences"
    sling:resourceType="granite/ui/components/coral/foundation/dialog">
    <items jcr:primaryType="nt:unstructured">
        <form
            granite:id="screens-dcc-actions-deveicepreferencces-dialog"
            jcr:primaryType="nt:unstructured"
            sling:resourceType="granite/ui/components/coral/foundation/form"
            action="${requestPathInfo.suffix}/profile_screens"
            dataPath="${requestPathInfo.suffix}/profile_screens"
            method="post"
            style="vertical">
            <successresponse
                jcr:primaryType="nt:unstructured"
                sling:resourceType="granite/ui/components/coral/foundation/form/responses/reload"/>
            <items jcr:primaryType="nt:unstructured">
                <charset
                    jcr:primaryType="nt:unstructured"
                    sling:resourceType="granite/ui/components/coral/foundation/form/hidden"
                    ignoreData="{Boolean}true"
                    name="_charset_"
                    value="utf-8"/>
                <serverurl
                    jcr:primaryType="nt:unstructured"
                    sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
                    fieldLabel="Server URL"
                    name="./preferences/server"
                    required="{Boolean}true"/>
                <resolution
                    jcr:primaryType="nt:unstructured"
                    sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
                    fieldLabel="Resolution"
                    name="./preferences/resolution"/>
                <rebootSchedule
                    jcr:primaryType="nt:unstructured"
                    sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
                    fieldLabel="Reboot Schedule"
                    name="./preferences/rebootSchedule"/>
            </items>
        </form>
    </items>
    <footer jcr:primaryType="nt:unstructured">
        <changepasswordtoggle
            granite:rel="screens-dcc-actions-Device-changePassword-activator"
            granite:title="Change Password"
            jcr:primaryType="nt:unstructured"
            sling:resourceType="granite/ui/components/coral/foundation/collection/action"
            action="foundation.dialog"
            hideText="{Boolean}true"
            icon="userLock"
            target=".screens-Device"
            text="Change Password"
            variant="minimal">
            <data
                jcr:primaryType="nt:unstructured"
                nesting="hide"
                src.uritemplate="/libs/granite/security/content/userEditor/content/items/changePasswordDialog.html${requestPathInfo.suffix}"/>
        </changepasswordtoggle>
        <cancel
            jcr:primaryType="nt:unstructured"
            sling:resourceType="granite/ui/components/coral/foundation/button"
            text="Cancel">
            <parentConfig
                jcr:primaryType="nt:unstructured"
                close="{Boolean}true"/>
        </cancel>
        <save
            granite:rel="screens-dcc-actions-deveicepreferencces-dialog-submit"
            jcr:primaryType="nt:unstructured"
            sling:resourceType="granite/ui/components/coral/foundation/button"
            formId="screens-dcc-actions-deveicepreferencces-dialog"
            text="Save"
            type="submit"
            variant="primary"/>
    </footer>
</jcr:root>