admin.uiSetBanner( banner-options as Object ) as emptySequence
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 const admin = require('/MarkLogic/admin.xqy'); admin.uiSetBanner({ "active": true, "label": "Welcome to the PRODUCTION STAGING cluster", "headerColor": "#33CC99", "headerTextColor": "#000000", "message": "This cluster will be unavailable on odd Tuesdays of even months.", "topBannerLabel": "This goes at the top", "topBannerStyle" : "background-color:#33CC99;color:#000000;font-family:arial;font-size:16px;font-style:bold;text-align:center;" })