0774730fb314a4fa84faaf6fb60bf5f679618723 kent Tue Mar 10 17:43:16 2015 -0700 Adding up or down arrow after a column we sort on. diff --git src/hg/lib/omiciaUi.c src/hg/lib/omiciaUi.c new file mode 100644 index 0000000..0f6279b --- /dev/null +++ src/hg/lib/omiciaUi.c @@ -0,0 +1,55 @@ +/* omiciaUi.c - disclaimer notice */ + +/* Copyright (C) 2014 The Regents of the University of California + * See README in this or parent directory for licensing information. */ +#include "omiciaUi.h" +#include "common.h" +#include "cart.h" +#include "cheapcgi.h" + +static char const rcsid[] = "$Id$"; + +void omiciaDisclaimer () +/* displays page with disclaimer forwarding query string that got us here */ +{ +struct cgiVar *cv, *cvList = cgiVarList(); + +cartHtmlStart("Omicia Disclaimer"); +printf(""); /* end TrackHeaderForm */ +printf("
", "100%"); +printf("
", "100%"); +printf("
", "100%"); +printf(" Omicia Disclaimer "); +printf("
"); +printf("", "100%"); +printf("
 "); +printf("Disclaimer\n"); +printf("

\n"); +printf("Note: OMIM is intended for use primarily "); +printf("by physicians and other professionals concerned with genetic disorders, "); +printf("by genetics researchers, and by advanced students in science and medicine. "); +printf("While the OMIM database is open to the public, users seeking information "); +printf("about a personal medical or genetic condition are urged to consult with a "); +printf("qualified physician for diagnosis and for answers to personal questions.\n

\n"); +printf("Because many OMIM records refer to multiple gene names, or syndromes not "); +printf("tightly mapped to individual genes, the associations in this track should "); +printf("be treated with skepticism and any conclusions based on them should be "); +printf("carefully scrutinized using independent resources.\n"); +printf("

\n"); +printf("
\n"); +printf("

\n", cgiScriptName()); +for (cv = cvList; cv != NULL; cv = cv->next) + { + cgiContinueHiddenVar(cv->name); + } +printf("\n"); +cgiMakeButtonWithMsg("omiciaDisclaimer", "Agree", NULL); +printf("        "); +cgiMakeButtonWithMsg("omiciaDisclaimer", "Disagree", NULL); +printf("
\n"); +printf("
"); +cartHtmlEnd(); +exit(0); +} + +