54a3438646e9ef80144745c55ea5a07d64041b12 tdreszer Mon May 16 13:51:30 2011 -0700 Simplifications suggested by Greg. diff --git src/hg/qaPushQ/qaPushQ.c src/hg/qaPushQ/qaPushQ.c index 4d7489d..9104c49 100644 --- src/hg/qaPushQ/qaPushQ.c +++ src/hg/qaPushQ/qaPushQ.c @@ -3463,31 +3463,31 @@ } printf("<li><a CLASS=\"toc\" HREF=\"#%s\">%s %s (%s)</a></li>\n", ki->name,tempName,ki->description,ki->name); } printf("</ul>\n"); printf("<p>\n"); printf(" For more information about the tracks and tables listed on this page, refer to the " "<a href=/goldenPath/help/hgTracksHelp.html#IndivTracks>User's Guide</a>.<p>\n"); strftime (now, sizeof(now), "%02d %b %Y", loctime); /* default to today's date */ printf("<em>Last updated %s. <a HREF=\"/contacts.html\">Inquiries and feedback welcome</a>.</em>\n",now); /* 10 LATEST CHANGES */ webNewSection("<A NAME=recent></A> 10 Latest Changes (all assemblies)"); -printf("<TABLE BORDER=1 BORDERCOLOR=\"#aaaaaa\" CELLPADDING=4 WIDTH=\"100%%\">\n" +printf("<TABLE CELLPADDING=4 style='border:1px solid #aaaaaa; width:100%%;'>\n" "<TR>\n" "<TD nowrap><B style='color:#006666;'>Track/Table Name</B></TD>\n" "<TD nowrap><B style='color:#006666;'>Assembly</B></TD>\n" "<TD nowrap><B style='color:#006666;'>Release Date</B></TD>\n" "</TR>\n" ); safef(query,sizeof(query), "select releaseLog, dbs, qadate, releaseLogUrl from pushQ " "where priority='L' and releaseLog != '' and dbs != '' %s" "order by qadate desc, qid desc ", encodeClause ); sr = sqlGetResult(conn, query); while ((row = sqlNextRow(sr)) != NULL) { sscanf(cloneStringZ(&row[2][5],2),"%d",&m); @@ -3552,31 +3552,31 @@ } sqlFreeResult(&sr); printf("</table>\n"); /* REGULAR LOG */ for (ki = kiList; ki != NULL; ki = ki->next) { safef(tempName,sizeof(tempName),ki->organism); if (!sameString(ki->organism, ki->genome)) { safef(tempName,sizeof(tempName),"<em>%s</em>",ki->genome); } webNewSection("<A NAME=%s></A>%s %s (%s, %s)", ki->name, tempName, ki->description, ki->name, ki->sourceName); - printf("<TABLE BORDER=1 BORDERCOLOR=\"#aaaaaa\" CELLPADDING=4 WIDTH=\"100%%\">\n" + printf("<TABLE CELLPADDING=4 style='border:1px solid #aaaaaa; width:100%%;'>\n" "<TR><TD nowrap><B style='color:#006666;'>Track/Table Name</B></TD>\n" " <TD nowrap><B style='color:#006666;'>Release Date</B>\n" "</TD></TR>\n" ); safef(query,sizeof(query), "select releaseLog, qadate, releaseLogUrl from pushQ " "where priority='L' and releaseLog != '' and dbs like '%%%s%%' %s" "order by qadate desc, qid desc", ki->name, encodeClause ); //printf("query=%s\n",query); sr = sqlGetResult(conn, query);