Beispiel #1
0
        // Do NOT rename/refactor this to AHSView as it will wreak havoc
        // on Mac OS HFS
        // direct table rendering
        // inline js array
        protected override void PreHead(Hamlet.HTML <HtmlPage._> html)
        {
            CommonPreHead(html);
            Set(JQueryUI.DatatablesId, "apps");
            Set(JQueryUI.InitID(JQueryUI.Datatables, "apps"), WebPageUtils.AppsTableInit());
            SetTableStyles(html, "apps", ".queue {width:6em}", ".ui {width:8em}");
            // Set the correct title.
            string reqState = $(YarnWebParams.AppState);

            reqState = (reqState == null || reqState.IsEmpty() ? "All" : reqState);
            SetTitle(StringHelper.Sjoin(reqState, "Applications"));
        }
Beispiel #2
0
 protected internal override string InitAppsTable()
 {
     return(WebPageUtils.AppsTableInit(true));
 }
Beispiel #3
0
 protected internal virtual string InitAppsTable()
 {
     return(WebPageUtils.AppsTableInit());
 }