035323fe4a88aea8872eb11de17a3800321cf8e7
galt
Wed Jan 18 19:59:51 2023 -0800
code cleanup based on htmlCheck output. refs #7914
diff --git src/hg/hgCustom/hgCustom.c src/hg/hgCustom/hgCustom.c
index 70778a5..d785cca 100644
--- src/hg/hgCustom/hgCustom.c
+++ src/hg/hgCustom/hgCustom.c
@@ -119,42 +119,44 @@
" VCF,\n"
" BED,\n"
" BED detail,\n"
" bedGraph,\n"
" broadPeak,\n"
" CRAM,\n"
" GFF,\n"
" GTF,\n"
" hic,\n"
" interact,\n"
" MAF,\n"
" narrowPeak,\n"
" Personal Genome SNP,\n"
" PSL,\n"
" or WIG\n"
-" formats.
"
-"
You can paste just the URL to the file, without a \"track\" line, for bigBed, bigWig, bigGenePred, BAM and VCF.
"
+" formats.
\n"
+" \n"
+" - You can paste just the URL to the file, without a \"track\" line, for bigBed, bigWig, bigGenePred, BAM and VCF.
"
" - To configure the display, set\n"
" track\n"
" and"
" browser\n"
" line attributes as described in the \n"
" User's Guide.
\n"
" Examples are\n"
" here.\n"
" If you do not have web-accessible data storage available, please see the\n"
-" Hosting section of the Track Hub Help documentation.\n
"
+" Hosting section of the Track Hub Help documentation.\n
"
+"
\n"
" Please note a much more efficient way to load data is to use\n"
" Track Hubs, which are loaded\n"
" from the Track Hubs Portal found in the menu under My Data.\n"
);
}
void addCustomForm(struct customTrack *ct, char *err, boolean warnOnly)
/* display UI for adding custom tracks by URL or pasting data */
{
char *dataUrl = NULL;
char buf[1024];
boolean gotClade = FALSE;
boolean isUpdateForm = FALSE;
if (ct)
@@ -416,30 +418,31 @@
/* next row - text entry for description, and clear button(s) */
cgiSimpleTableRowStart();
puts("");
if (ct && ctHtmlUrl(ct))
{
safef(buf, sizeof buf, "Replace doc at URL: %s", dataUrl);
cgiMakeTextAreaDisableable(hgCtDocText, buf,
TEXT_ENTRY_ROWS, TEXT_ENTRY_COLS, TRUE);
}
else
{
cgiMakeTextArea(hgCtDocText, cartUsualString(cart, hgCtDocText, ""),
TEXT_ENTRY_ROWS, TEXT_ENTRY_COLS);
+ cgiTableFieldEnd();
cgiSimpleTableFieldStart();
cgiSimpleTableStart();
cgiSimpleTableRowStart();
cgiSimpleTableFieldStart();
makeClearButton(hgCtDocText);
cgiTableFieldEnd();
cgiTableRowEnd();
cgiTableEnd();
}
cgiTableFieldEnd();
cgiTableRowEnd();
cgiTableEnd();
/* help text at bottom of screen - link for HTML description template */
|