83043aefb8f67b37febbf9a9db14eff3ed7efc4c
galt
Thu Jul 17 11:23:35 2014 -0700
fix relative links
diff --git src/hg/qaPushQ/qaPushQ.c src/hg/qaPushQ/qaPushQ.c
index e5efcdb..60386f1 100644
--- src/hg/qaPushQ/qaPushQ.c
+++ src/hg/qaPushQ/qaPushQ.c
@@ -583,31 +583,31 @@
if (isNew)
{
replaceInStr(html, sizeof(html), "", "");
replaceInStr(html, sizeof(html), "", "");
replaceInStr(html, sizeof(html), "",
" ");
replaceInStr(html, sizeof(html), "", "");
replaceInStr(html, sizeof(html), "", "");
replaceInStr(html, sizeof(html), "", "");
replaceInStr(html, sizeof(html), "", "");
replaceInStr(html, sizeof(html), "", "");
replaceInStr(html, sizeof(html), "", "");
replaceInStr(html, sizeof(html), "", "");
safef(tempLink, sizeof(tempLink),
- "CANCEL ",newRandState);
+ "CANCEL ",newRandState);
replaceInStr(html, sizeof(html), "", tempLink );
showSizesJavascript();
}
else
{
if (myLock)
{
replaceInStr(html, sizeof(html), "", "");
replaceInStr(html, sizeof(html), "", "");
replaceInStr(html, sizeof(html), "",
" ");
replaceInStr(html, sizeof(html), "" ,
@@ -649,35 +649,35 @@
showSizesJavascript();
}
else
{ /* we don't have a lock yet, disable and readonly */
replaceInStr(html, sizeof(html), "", "DISABLED");
replaceInStr(html, sizeof(html), "", "READONLY");
replaceInStr(html, sizeof(html), "", "");
replaceInStr(html, sizeof(html), "", "");
replaceInStr(html, sizeof(html), "", "");
replaceInStr(html, sizeof(html), "", "");
replaceInStr(html, sizeof(html), "", "");
replaceInStr(html, sizeof(html), "",
" ");
safef(tempLink, sizeof(tempLink),
- "RETURN ",newRandState);
+ "RETURN ",newRandState);
replaceInStr(html, sizeof(html), "", tempLink );
safef(tempLink, sizeof(tempLink),
- "REFRESH ",
+ "REFRESH ",
ki->qid,newRandState);
replaceInStr(html, sizeof(html), "", tempLink );
replaceInStr(html, sizeof(html), "", "");
replaceInStr(html, sizeof(html), "", "");
if (sameString(ki->lockUser,""))
{
safef(tempMsg,sizeof(tempMsg),"%s %s", msg, "READONLY view. Press Lock to edit. Click RETURN for the main queue.");
}
else
{
safef(tempMsg,sizeof(tempMsg),"%s User %s currently has lock on Queue Id %s since %s.",
msg, ki->lockUser, ki->qid,ki->lockDateTime );
}
safef(msg,sizeof(msg), "%s", tempMsg);
@@ -770,59 +770,59 @@
}
char *fixLineBreaks(char *s)
/* insert
before \n to have an effect inside html */
{
return replaceChars(s,"\n","
\n");
}
void drawDisplayLine(enum colEnum col, struct pushQ *ki)
{
char *temp = NULL;
switch(col)
{
case e_qid:
- printf("
%s | " - "^ " - "T " + "^ " + "T " " |
  | " - "v " - "B" + "v " + "B" " |
Machine: %s THIS IS NOT THE REAL PUSHQ- GO TO HGWBETA
\n",utsName.nodename); } if (!sameString(msg,"")) { printf("%s
\n",msg); } if (sameString(month,"")) { - printf(" ADD\n",newRandState); + printf(" ADD\n",newRandState); } else { - printf(" Current\n",newRandState); - } -printf(" Logout\n",newRandState); -printf(" All Columns\n",newRandState); -printf(" Default Columns\n",newRandState); -printf(" Log by Month\n",newRandState); -printf(" Gateway\n",newRandState); -printf(" Help\n"); -printf(" Release Log\n"); -//printf(" Publish RL\n"); -printf(" A\n",newRandState); -printf(" B\n",newRandState); -printf(" C\n",newRandState); -printf(" D\n",newRandState); -printf(" L\n",newRandState); -printf(" Refresh\n",newRandState); + printf(" Current\n",newRandState); + } +printf(" Logout\n",newRandState); +printf(" All Columns\n",newRandState); +printf(" Default Columns\n",newRandState); +printf(" Log by Month\n",newRandState); +printf(" Gateway\n",newRandState); +printf(" Help\n"); +printf(" Release Log\n"); +//printf(" Publish RL\n"); +printf(" A\n",newRandState); +printf(" B\n",newRandState); +printf(" C\n",newRandState); +printf(" D\n",newRandState); +printf(" L\n",newRandState); +printf(" Refresh\n",newRandState); //printf(" newRandState=%s\n",newRandState); //printf(" oldRandState=%s\n",oldRandState); /* draw table header */ printf("\n"); printf(" For more information about the tracks and tables listed on this page, refer to the " -"User's Guide.
\n"); +"User's Guide.
\n"); strftime (now, sizeof(now), "%02d %b %Y", loctime); /* default to today's date */ -printf("Last updated %s. Inquiries and feedback welcome.\n",now); +printf("Last updated %s. Inquiries and feedback welcome.\n",now); /* 10 LATEST CHANGES */ webNewSection(" 10 Latest Changes (all assemblies)"); printf("
Track/Table Name | \n" "Assembly | \n" "Release Date | \n" "