f480811883df9c710d7199b42ccda4606a140d5c kate Thu Jan 14 14:54:58 2016 -0800 Minor style changes. diff --git src/hg/lib/gtexUi.c src/hg/lib/gtexUi.c index 327b3aa..d385542 100644 --- src/hg/lib/gtexUi.c +++ src/hg/lib/gtexUi.c @@ -146,31 +146,31 @@ hashAdd(checkHash, sel->name, sel->name); //puts("<table borderwidth=0><tr>"); puts("\n<table cellspacing='2' cellpadding='0' border='0' class='sortable'>"); /* table header */ puts("\n<thead class='sortable'>"); puts("\n<tr ID='tissueTableHeader' class='sortable'>"); printf("\n<th> <input type=hidden name='%s' class='sortOrder' value='%s'></th>\n", "gtexGene.sortOrder", "tissue=+ samples=+ organ=+ system=+"); puts("<th> </th>"); printf("<th id='tissue' class='sortable sort1' style='font-size:75%%' %s " "align='left' title='Sort on tissue'> Tissue</th>", onClick); printf("<th id='samples' abbr='use' class='sortable sort2' style='font-size:75%%' %s " - "title='Sort on sample count'> Samples</th>", onClick); + "align='left' title='Sort on sample count'> Samples</th>", onClick); printf("<th id='organ' class='sortable sort3' style='font-size:75%%' %s " "align='left' title='Sort on organ'> Organ</th>", onClick); printf("<th id='system' class='sortable sort4' style='font-size:75%%' %s " "align='left' title='Sort on system'> System</th>", onClick); puts("\n</tr>"); puts("</thead>"); /* table body */ puts("<tbody class='sortable noAltColors' style='display: table-row-group;' id='tbodySort'>"); struct hash *tscHash = gtexGetTissueSampleCount(); struct gtexTissue *tis; boolean isChecked = FALSE; for (tis = tissues; tis != NULL; tis = tis->next) @@ -178,33 +178,33 @@ puts("\n<tr valign='top'>"); // checkbox if (hashNumEntries(checkHash) == 0) isChecked = TRUE; else isChecked = (hashLookup(checkHash, tis->name) != NULL); printf("<td><input type=checkbox name=\"%s\" value=\"%s\" %s></td>", name, tis->name, isChecked ? "checked" : ""); // color patch printf("\n%s", makeTissueColorPatch(tis)); // tissue name printf("\n<td style='font-size:75%%'> %s</td>", tis->description); // sample count int samples = hashIntValDefault(tscHash, tis->name, 0); - printf("\n<td abbr='%05d' style='font-size:75%%; align='right';> %d</td>", samples, samples); + printf("\n<td abbr='%05d' style='font-size:75%%; text-align: right; padding-right: 10px''> %d</td>", samples, samples); // organ - printf("\n<td style='font-size:75%%'> %s</td>", tis->organ); + printf("\n<td style='font-size:75%%; padding-right: 10px'> %s</td>", tis->organ); // system printf("\n<td style='font-size:75%%'> %s</td>", getSystem(tis)); puts("\n</tr>"); } puts("</tbody>"); puts("</table>"); char buf[512]; safef(buf, sizeof(buf), "%s%s", cgiMultListShadowPrefix(), name); cgiMakeHiddenVar(buf, "0"); } static void makeGroupedTissueCheckboxes(char *name, struct gtexTissue *tissues, struct slName *checked) { struct hash *checkHash = hashNew(0); struct slName *sel;