siteDescriptionType:
    kind: panel.element
    label: Site Description
    info: >
        <p>The site description will show up on the login page and can be utilized to describe the purpose of this
        site, or notify users of important application status messages (ie. "The system is down for maintenance").</p>
        <p>Administrators can opt to display a simple text message, or specify a velocity template reference containing
        the content to be displayed.</p>
    contents:
        info:
            tag: p
            element:
                style: "margin: 3px 0 8px 0;"
            content: Select a site description option below
        siteDescriptionTypePage:
            kind: input.radio
            name: siteDescriptionType
            id: siteDescriptionTypePage
            value: Page
            after: >
                <label class="pad5h" for="siteDescriptionTypePage">Page</label>
        siteDescriptionTypeText:
            kind: input.radio
            name: siteDescriptionType
            id: siteDescriptionTypeText
            value: Text
            after: >
                <label class="pad5h" for="siteDescriptionTypeText">Text (Markdown)</label>
        pagePath:
            tag: div.input-bundle.page
            contents:
                ${siteDescriptionPage}
        pageText:
            tag: div.input-bundle.text
            contents:
                ${siteDescriptionText}
        siteInfoJs:
            tag: script|src=/scripts/xnat/admin/siteInfo.js

