aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMariano Guerra <[email protected]>2016-10-21 13:51:14 +0100
committerMariano Guerra <[email protected]>2017-03-13 11:51:52 +0100
commit64bf3e97309f1fd7f6fd5881e3b244b6c6d7e421 (patch)
tree4092d02f85492cfe361134c55e320ba50d4fffe5
parent802900e22708ff5258d1a3619e4241ef09a159e6 (diff)
downloadotp-64bf3e97309f1fd7f6fd5881e3b244b6c6d7e421.tar.gz
otp-64bf3e97309f1fd7f6fd5881e3b244b6c6d7e421.tar.bz2
otp-64bf3e97309f1fd7f6fd5881e3b244b6c6d7e421.zip
use lists for lists of links
-rw-r--r--lib/erl_docgen/priv/xsl/db_html.xsl22
1 files changed, 12 insertions, 10 deletions
diff --git a/lib/erl_docgen/priv/xsl/db_html.xsl b/lib/erl_docgen/priv/xsl/db_html.xsl
index beb52c69c1..c788f02454 100644
--- a/lib/erl_docgen/priv/xsl/db_html.xsl
+++ b/lib/erl_docgen/priv/xsl/db_html.xsl
@@ -810,26 +810,26 @@
</xsl:otherwise>
</xsl:choose>
<br/>
- <small>
+ <ul class="panel-sections">
<xsl:if test="boolean(/book/parts/part)">
- <a href="users_guide.html">User's Guide</a><br/>
+ <li><a href="users_guide.html">User's Guide</a></li>
</xsl:if>
<xsl:if test="boolean(/book/applications)">
- <a href="index.html">Reference Manual</a><br/>
+ <li><a href="index.html">Reference Manual</a></li>
</xsl:if>
<xsl:if test="boolean(/book/releasenotes)">
- <a href="release_notes.html">Release Notes</a><br/>
+ <li><a href="release_notes.html">Release Notes</a></li>
</xsl:if>
<xsl:choose>
<xsl:when test="string-length($pdfname) > 0">
- <a href="{$pdfdir}/{$pdfname}.pdf">PDF</a><br/>
+ <li><a href="{$pdfdir}/{$pdfname}.pdf">PDF</a></li>
</xsl:when>
<xsl:otherwise>
- <a href="{$pdfdir}/{$appname}-{$appver}.pdf">PDF</a><br/>
+ <li><a href="{$pdfdir}/{$appname}-{$appver}.pdf">PDF</a></li>
</xsl:otherwise>
</xsl:choose>
- <a href="{$topdocdir}/index.html">Top</a>
- </small>
+ <li><a href="{$topdocdir}/index.html">Top</a></li>
+ </ul>
</xsl:template>
<xsl:template name="menu_middle">
@@ -847,8 +847,10 @@
</small -->
<br/>
- <a href="javascript:openAllFlips()">Expand All</a><br/>
- <a href="javascript:closeAllFlips()">Contract All</a>
+ <ul class="expand-collapse-items">
+ <li><a href="javascript:openAllFlips()">Expand All</a></li>
+ <li><a href="javascript:closeAllFlips()">Contract All</a></li>
+ </ul>
</xsl:template>