aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_docgen/priv/xsl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2013-11-28 14:57:38 +0100
committerLukas Larsson <[email protected]>2013-11-28 14:57:38 +0100
commit7914f4c8e64a3b9a4fdf94aa65150705b7da08b7 (patch)
tree441438bec3d65ffb7ccaf6cfd221126ffd424e7d /lib/erl_docgen/priv/xsl
parent172ac461d7055b655a9b5c22c1d95a140624945f (diff)
downloadotp-7914f4c8e64a3b9a4fdf94aa65150705b7da08b7.tar.gz
otp-7914f4c8e64a3b9a4fdf94aa65150705b7da08b7.tar.bz2
otp-7914f4c8e64a3b9a4fdf94aa65150705b7da08b7.zip
Revert "Merge branch 'fredrik/doc/syntax_highlight/OTP-11237' into maint"
This reverts commit 1562340596938d1f8a84b2ed43f5f0097be66ae7, reversing changes made to a5128108ad3efff77c5080f0769737e70a0bfd82.
Diffstat (limited to 'lib/erl_docgen/priv/xsl')
-rw-r--r--lib/erl_docgen/priv/xsl/db_html.xsl45
1 files changed, 23 insertions, 22 deletions
diff --git a/lib/erl_docgen/priv/xsl/db_html.xsl b/lib/erl_docgen/priv/xsl/db_html.xsl
index f8218659a4..ab5f24c406 100644
--- a/lib/erl_docgen/priv/xsl/db_html.xsl
+++ b/lib/erl_docgen/priv/xsl/db_html.xsl
@@ -309,10 +309,10 @@
<xsl:template match="all_etypes">
<xsl:for-each select= "$i//type">
<pre>
- <code class="erlang_repl">
+ <span class="bold_code">
<xsl:apply-templates select="typedecl"/>
- </code><xsl:text>
- </xsl:text>
+ </span><xsl:text>
+</xsl:text>
</pre>
</xsl:for-each>
</xsl:template>
@@ -598,7 +598,6 @@
<body bgcolor="white" text="#000000" link="#0000ff" vlink="#ff00ff" alink="#ff0000">
<div id="container">
- <script id="js1" type="text/javascript" language="JavaScript" src="{$topdocdir}/js/flipmenu/jquery-2.0.3.min.js"/>
<script id="js" type="text/javascript" language="JavaScript" src="{$topdocdir}/js/flipmenu/flipmenu.js"/>
<script id="js2" type="text/javascript" src="{$topdocdir}/js/erlresolvelinks.js"></script>
<script language="JavaScript" type="text/javascript">
@@ -926,26 +925,30 @@
<!-- Note -->
<xsl:template match="note">
<xsl:param name="chapnum"/>
- <div class="alert alert-info">
- <h4>Note</h4>
- <p>
- <xsl:apply-templates>
- <xsl:with-param name="chapnum" select="$chapnum"/>
- </xsl:apply-templates>
- </p>
+ <div class="note">
+ <div class="label">Note</div>
+ <div class="content">
+ <p>
+ <xsl:apply-templates>
+ <xsl:with-param name="chapnum" select="$chapnum"/>
+ </xsl:apply-templates>
+ </p>
+ </div>
</div>
</xsl:template>
<!-- Warning -->
<xsl:template match="warning">
<xsl:param name="chapnum"/>
- <div class="alert alert-error">
- <h4>Warning</h4>
- <p>
- <xsl:apply-templates>
- <xsl:with-param name="chapnum" select="$chapnum"/>
- </xsl:apply-templates>
- </p>
+ <div class="warning">
+ <div class="label">Warning</div>
+ <div class="content">
+ <p>
+ <xsl:apply-templates>
+ <xsl:with-param name="chapnum" select="$chapnum"/>
+ </xsl:apply-templates>
+ </p>
+ </div>
</div>
</xsl:template>
@@ -980,7 +983,7 @@
<xsl:variable name="codenum">
<xsl:number level="any" from="chapter" count="code"/>
</xsl:variable>
- <pre><code class="erlang_repl"><xsl:apply-templates/></code></pre>
+ <div class="example"><pre><xsl:apply-templates/></pre></div>
</xsl:template>
<!-- Pre -->
@@ -989,7 +992,7 @@
<xsl:variable name="codenum">
<xsl:number level="any" from="chapter" count="code"/>
</xsl:variable>
- <pre><code class="erlang_repl"><xsl:apply-templates/></code></pre>
+ <div class="example"><pre><xsl:apply-templates/></pre></div>
</xsl:template>
@@ -2136,7 +2139,6 @@
<body bgcolor="white" text="#000000" link="#0000ff" vlink="#ff00ff" alink="#ff0000">
<div id="container">
- <script id="js1" type="text/javascript" language="JavaScript" src="{$topdocdir}/js/flipmenu/jquery-2.0.3.min.js"/>
<script id="js" type="text/javascript" language="JavaScript" src="{$topdocdir}/js/flipmenu/flipmenu.js"/>
<script id="js2" type="text/javascript" src="{$topdocdir}/js/erlresolvelinks.js"></script>
@@ -2192,7 +2194,6 @@
<body bgcolor="white" text="#000000" link="#0000ff" vlink="#ff00ff" alink="#ff0000">
<div id="container">
- <script id="js1" type="text/javascript" language="JavaScript" src="{$topdocdir}/js/flipmenu/jquery-2.0.3.min.js"/>
<script id="js" type="text/javascript" language="JavaScript" src="{$topdocdir}/js/flipmenu/flipmenu.js"/>
<script id="js2" type="text/javascript" src="{$topdocdir}/js/erlresolvelinks.js"></script>