4e5e4b111651337ddd7d36320f1f667d6c035788 kate Tue Jan 28 14:46:42 2014 -0800 1. Bug fix: need section on details page for peak clusters lacking motif. 2. Some code simplification. refs #9092 diff --git src/hg/inc/web.h src/hg/inc/web.h index 0dcf382..fbd6594 100644 --- src/hg/inc/web.h +++ src/hg/inc/web.h @@ -25,40 +25,46 @@ void webStartWrapperDetailedArgs(struct cart *theCart, char *db, char *headerText, char *format, va_list args, boolean withHttpHeader, boolean withLogo, boolean skipSectionHeader, boolean withHtmlHeader); /* output a CGI and HTML header with the given title in printf format with * quite a few options. See also next: */ void webStartWrapperDetailedNoArgs(struct cart *theCart, char *db, char *headerText, char *format, boolean withHttpHeader, boolean withLogo, boolean skipSectionHeader, boolean withHtmlHeader); /* output a CGI and HTML header with the given title in printf format with * quite a few options. Same as above without va_list args */ void webNewSection(char* format, ...); /* create a new section on the web page */ -void webNewSectionHeaderStart(); +void webNewEmptySection(); +/* create a new section on the web page to maintain table layout */ + +void webNewSectionHeaderStart(boolean hasTitle); /* Start a new collapsible section on the web page, with +- control. Allows use of jsBeginCollapsibleSection() */ void webNewSectionHeaderEnd(); /* Properly close header of collapsible section on web page */ void webEnd(); /* output the footer of the HTML page */ +void webEndSection(); +/* Close down a section */ + void webEndSectionTables(); /* Finish with section tables (but don't do /BODY /HTML lik * webEnd does. */ void webVaWarn(char *format, va_list args); /* Warning handler that closes off web page. */ boolean webGotWarnings(); /* Return TRUE if webVaWarn has been called. */ void webAbort(char* title, char* format, ...); /* an abort function that outputs a error page */ void printCladeListHtml(char *genome, char *onChangeText); /* Make an HTML select input listing the clades. */