8fdc86ea29f656cf7efee9954fdae6b573190fb3 tdreszer Fri May 6 17:23:22 2011 -0700 Standardized replacement for

with cgiDown and worked out more spacing issues in hgFileUi and hgTrackUi. diff --git src/hg/hgCustom/hgCustom.c src/hg/hgCustom/hgCustom.c index cddd6d4..05b4181 100644 --- src/hg/hgCustom/hgCustom.c +++ src/hg/hgCustom/hgCustom.c @@ -330,31 +330,31 @@ cgiSimpleTableStart(); cgiSimpleTableRowStart(); cgiSimpleTableFieldStart(); if (!(isUpdateForm && dataUrl)) makeClearButton(hgCtDataText); cgiTableFieldEnd(); cgiTableRowEnd(); cgiTableEnd(); cgiTableFieldEnd(); cgiTableRowEnd(); /* extra space */ cgiSimpleTableRowStart(); -puts(""); +cgiDown(0.7); cgiTableRowEnd(); /* next row - label for description text entry */ cgiSimpleTableRowStart(); cgiTableField("Optional track documentation: "); if (isUpdateForm && ctHtmlUrl(ct)) cgiTableField(" "); else { puts(""); puts("Or upload: "); cgiMakeFileEntry(hgCtDocFile); cgiTableFieldEnd(); } cgiTableRowEnd(); @@ -408,31 +408,31 @@ } else { /* hidden form to handle clade/genome/assembly dropdown. * This is at end of page for layout reasons (preserve vertical space) */ puts(""); printf("

", hgCustomName()); cartSaveSession(cart); if (gotClade) printf("\n"); printf("\n", organism); printf("\n", database); printf("\n"); } puts("
"); -puts("
"); +cgiDown(0.9); } void tableHeaderFieldStart(int columns) { /* print table column header with white text on black background */ printf("", columns); } void tableHeaderField(char *label, char *description) { /* print table column header with white text on black background */ puts("%s ", wrapWhiteFont(label));