admin:ui-set-banner( $banner-options as map:map ) as empty-sequence
This function sets the banner that will appear on the qconsole page and the admin GUI page.
http://marklogic.com/xdmp/privileges/admin/ui-banner
(:This set the UI banner for the qconsole and admin GUI:) xquery version "1.0-ml"; import module namespace admin = "http://marklogic.com/xdmp/admin" at "/MarkLogic/admin.xqy"; let $banner-options := map:map() => map:with("active", fn:true()) => map:with("label", "Welcome to the PRODUCTION STAGING cluster") => map:with("headerColor", "#33CC99") => map:with("headerTextColor", "#000000") => map:with("message", "This cluster will be unavailable on odd Tuesdays of even months.") => map:with("topBannerLabel", "This goes at the top") => map:with("topBannerStyle", "background-color:#33CC99;color:#000000;font-family:arial;font-size:16px;font-style:bold;text-align:center;") return admin:ui-set-banner($banner-options)