3a7b96f45d10bd58419c89a43fbd1ccf8e0b88da markd Thu May 10 18:09:50 2012 -0700 Added facility (itemDetailsHtml) for having a table containing HTML fragments to display on generic BED, genePred, and PSL tables. This provides an easy way for mirror sites to create specialized details pages without modifying the C code. diff --git src/hg/lib/itemDetailsHtml.sql src/hg/lib/itemDetailsHtml.sql new file mode 100644 index 0000000..05500e9 --- /dev/null +++ src/hg/lib/itemDetailsHtml.sql @@ -0,0 +1,12 @@ +# itemDetailsHtml.sql was originally generated by the autoSql program, which also +# generated itemDetailsHtml.c and itemDetailsHtml.h. This creates the database representation of +# an object which can be loaded and saved from RAM in a fairly +# automatic way. + +#table that allows adding html to details page for various items +CREATE TABLE itemDetailsHtml ( + name varchar(255) not null, # Name of item + html varchar(255) not null, # HTML fragment to include + #Indices + INDEX(name) +);