b9d7723866095088387017765ea962f83e87bbfd kate Wed May 6 16:23:13 2020 -0700 Add supertrack to supertrack member title bar. Part of attempt to make supertrack member UI page easier to understand (show hierarchy but subtly). refs #24948 diff --git src/hg/lib/web.c src/hg/lib/web.c index 055826e..355585c 100644 --- src/hg/lib/web.c +++ src/hg/lib/web.c @@ -364,31 +364,33 @@ void webFirstSection(char *title) /* Put up the first section (normally done by webStartWrap). */ { puts( // TODO: Replace nested tables with CSS (difficulty is that tables are closed elsewhere) "<!-- +++++++++++++++++++++ CONTENT TABLES +++++++++++++++++++ -->" "\n" "<TR><TD COLSPAN=3>\n" "<div id=firstSection>" " <!--outer table is for border purposes-->\n" " <TABLE WIDTH='100%' BGCOLOR='#" HG_COL_BORDER "' BORDER='0' CELLSPACING='0' " "CELLPADDING='1'><TR><TD>\n" " <TABLE BGCOLOR='#" HG_COL_INSIDE "' WIDTH='100%' BORDER='0' CELLSPACING='0' " "CELLPADDING='0'><TR><TD>\n" " <div class='subheadingBar'><div class='windowSize' id='sectTtl'>" ); -htmlTextOut(title); +// FIXME: Need a more general solution here to support styling in blue bar title. +// Perhaps support escaped < and > by doubling or backslash +htmTextOutWithEscapes(stdout, title); puts(" </div></div>\n" " <TABLE BGCOLOR='#" HG_COL_INSIDE "' WIDTH='100%' CELLPADDING=0>" "<TR><TH HEIGHT=10></TH></TR>\n" " <TR><TD WIDTH=10> </TD><TD>\n\n" ); } void webNewSectionHeaderStart() /* Start the header for a new section on the web page. * May be used to maintain table layout without a proper section header */ { webEndSection(); puts("<div>"); puts("<!-- +++++++++++++++++++++ START NEW SECTION +++++++++++++++++++ -->");