Skip to content

Commit

Permalink
Merge pull request #812 from HL7/jct-backgroundcolor
Browse files Browse the repository at this point in the history
ToC - do NOT force white background
  • Loading branch information
grahamegrieve authored Nov 24, 2023
2 parents 44d2d3e + d981cbc commit 25f91a7
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9723,8 +9723,8 @@ private String createTocPage(ImplementationGuideDefinitionPageComponent page, Im
}
}
String id = idPrefix + (char)(position+33);
String s = "<tr style=\"border:0px;padding:0px;vertical-align:top;background-color:white;\" id=\"" + Utilities.escapeXml(id) + "\">";
s = s + "<td style=\"vertical-align:top;text-align:left;background-color:white;padding:0px 4px 0px 4px;white-space:nowrap;background-image:url(tbl_bck0.png)\" class=\"hierarchy\">";
String s = "<tr style=\"border:0px;padding:0px;vertical-align:top;background-color:inherit;\" id=\"" + Utilities.escapeXml(id) + "\">";
s = s + "<td style=\"vertical-align:top;text-align:left;background-color:inherit;padding:0px 4px 0px 4px;white-space:nowrap;background-image:url(tbl_bck0.png)\" class=\"hierarchy\">";
s = s + "<img style=\"background-color:inherit\" alt=\".\" class=\"hierarchy\" src=\"tbl_spacer.png\"/>";
s = s + indents;
if (!label.equals("0") && !page.hasPage()) {
Expand All @@ -9740,9 +9740,9 @@ private String createTocPage(ImplementationGuideDefinitionPageComponent page, Im
else
s = s + "<img onClick=\"tableRowAction(this)\" src=\"tbl_vjoin-open.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/>";
if (page.hasPage())
s = s + "<img style=\"background-color:white;background-color:inherit\" alt=\".\" class=\"hierarchy\" src=\"icon_page-child.gif\"/>";
s = s + "<img style=\"background-color:inherit\" alt=\".\" class=\"hierarchy\" src=\"icon_page-child.gif\"/>";
else
s = s + "<img style=\"background-color:white;background-color:inherit\" alt=\".\" class=\"hierarchy\" src=\"icon_page.gif\"/>";
s = s + "<img style=\"background-color:inherit\" alt=\".\" class=\"hierarchy\" src=\"icon_page.gif\"/>";
if (page.hasName()) {
s = s + "<a title=\"" + Utilities.escapeXml(page.getTitle()) + "\" href=\"" + (currentOffset!=null ? currentOffset + "/" : "") + page.getName() +"\"> " + label + " " + Utilities.escapeXml(page.getTitle()) + "</a></td></tr>";
} else {
Expand Down

0 comments on commit 25f91a7

Please sign in to comment.