Skip to content

Commit

Permalink
small style and layout refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
shertage committed Sep 8, 2023
1 parent 1437918 commit d90be70
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
1 change: 0 additions & 1 deletion jasperreports/docs/resources/stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
font-family: Courier New, Courier, serif;
font-size: 12pt;
font-weight: normal;
color: #000000;
}

.incomplete {
Expand Down
2 changes: 1 addition & 1 deletion jasperreports/docs/sample.reference.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ ga('send', 'pageview');
<span class="incomplete"><xsl:element name="a"><xsl:attribute name="href">sample.reference/<xsl:value-of select="@sample"/>/index.html#<xsl:value-of select="@name"/></xsl:attribute><xsl:attribute name="class">incomplete</xsl:attribute><xsl:value-of select="@title"/></xsl:element></span>
</xsl:when>
<xsl:otherwise>
<span class="complete"><xsl:element name="a"><xsl:attribute name="href">sample.reference/<xsl:value-of select="@sample"/>/index.html#<xsl:value-of select="@name"/></xsl:attribute><xsl:attribute name="class">complete</xsl:attribute><xsl:value-of select="@title"/></xsl:element></span>
<span class="complete"><xsl:element name="a"><xsl:attribute name="href">sample.reference/<xsl:value-of select="@sample"/>/index.html#<xsl:value-of select="@name"/></xsl:attribute><xsl:value-of select="@title"/></xsl:element></span>
</xsl:otherwise>
</xsl:choose>
</td>
Expand Down
23 changes: 14 additions & 9 deletions jasperreports/docs/schema.reference.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ ga('send', 'pageview');
</xsl:choose>
</span>
<br/>
<xsl:if test="position() mod 60 = 0">
<xsl:if test="position() mod 50 = 0">
<xsl:text disable-output-escaping="yes">&lt;/td&gt;&lt;td&gt;</xsl:text>
</xsl:if>
</xsl:for-each>
Expand All @@ -129,6 +129,13 @@ ga('send', 'pageview');


<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td style="width: 20px;"><br/></td>
<td style="width: 20px;"><br/></td>
<td style="width: 20px;"><br/></td>
<td style="width: 20px;"><br/></td>
<td><br/></td>
</tr>
<tr>
<td colspan="5">
<span class="category"><br/>1. Named Enumeration Types</span>
Expand All @@ -149,8 +156,7 @@ ga('send', 'pageview');
<td colspan="4"><span class="name"><xsl:value-of select="@name"/></span></td>
</tr>
<tr>
<td style="width: 20px;"></td>
<td style="width: 20px;"></td>
<td colspan="2"/>
<td colspan="3"><xsl:apply-templates select="xsd:annotation/xsd:documentation"/></td>
</tr>
<tr valign="top">
Expand All @@ -159,8 +165,7 @@ ga('send', 'pageview');
<td colspan="3"/>
</tr>
<tr valign="top">
<td style="width: 20px;"/>
<td style="width: 20px;"/>
<td colspan="2"/>
<td colspan="3"><table width="100%" cellspacing="0" cellpadding="0" border="0">
<xsl:apply-templates select="xsd:restriction/xsd:enumeration"/>
</table>
Expand All @@ -180,22 +185,22 @@ ga('send', 'pageview');
<td colspan="5" align="right"><xsl:element name="a"><xsl:attribute name="name"><xsl:value-of select="@name"/></xsl:attribute></xsl:element><a href="#top" class="toc">top</a></td>
</tr>
<tr>
<td></td>
<td style="width: 20px;"></td>
<td colspan="4"><hr size="1"/></td>
</tr>
<tr>
<td></td>
<td style="width: 20px;"></td>
<td colspan="4"><span class="name"><xsl:value-of select="@name"/></span></td>
</tr>
<xsl:if test="@abstract">
<tr>
<td></td>
<td style="width: 20px;"></td>
<td colspan="4"><span class="description"> - abstract type</span></td>
</tr>
</xsl:if>
<xsl:if test="xsd:annotation/xsd:documentation and xsd:annotation/xsd:documentation != ''">
<tr>
<td></td>
<td style="width: 20px;"></td>
<td colspan="4"><xsl:apply-templates select="xsd:annotation/xsd:documentation"/></td>
</tr>
</xsl:if>
Expand Down

0 comments on commit d90be70

Please sign in to comment.