[Openvas-commits] r9348 - in trunk/openvas-manager: . src/schema_formats/HTML
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Nov 3 18:16:50 CET 2010
Author: mattm
Date: 2010-11-03 18:16:50 +0100 (Wed, 03 Nov 2010)
New Revision: 9348
Modified:
trunk/openvas-manager/ChangeLog
trunk/openvas-manager/src/schema_formats/HTML/HTML.xsl
Log:
* src/schema_formats/HTML/HTML.xsl: Reduce the amount of bold, so that the
headings stand out a bit better.
Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog 2010-11-03 17:03:22 UTC (rev 9347)
+++ trunk/openvas-manager/ChangeLog 2010-11-03 17:16:50 UTC (rev 9348)
@@ -1,5 +1,10 @@
2010-11-03 Matthew Mundell <matthew.mundell at greenbone.net>
+ * src/schema_formats/HTML/HTML.xsl: Reduce the amount of bold, so that the
+ headings stand out a bit better.
+
+2010-11-03 Matthew Mundell <matthew.mundell at greenbone.net>
+
* src/schema_formats/HTML/HTML.xsl: Match contents items to real headings.
Link command breakdown attribute types to type details. Use @ instead of
quotations to mark attribs in command breakdown.
Modified: trunk/openvas-manager/src/schema_formats/HTML/HTML.xsl
===================================================================
--- trunk/openvas-manager/src/schema_formats/HTML/HTML.xsl 2010-11-03 17:03:22 UTC (rev 9347)
+++ trunk/openvas-manager/src/schema_formats/HTML/HTML.xsl 2010-11-03 17:16:50 UTC (rev 9348)
@@ -250,7 +250,7 @@
</xsl:when>
<xsl:when test="name() = 'attrib'">
<li>
- <b>@<xsl:value-of select="name"/></b>
+ @<b><xsl:value-of select="name"/></b>
(<xsl:apply-templates select="type"/>)
<xsl:if test="summary">
<xsl:value-of select="normalize-space(summary)"/>.
@@ -260,9 +260,8 @@
<xsl:when test="name() = 'r'">
<li>
<xsl:variable name="element-name" select="text()"/>
- <b>
- <<xsl:value-of select="text()"/>><xsl:value-of select="$element-suffix"/>
- </b>
+ <<b><xsl:value-of select="text()"/>></b>
+ <xsl:value-of select="$element-suffix"/>
<div style="margin-left: 15px; display: inline;">
A response to a <a href="#command_{$element-name}"><xsl:value-of select="$element-name"/></a> command.
</div>
@@ -273,9 +272,8 @@
<xsl:variable name="element-name" select="text()"/>
<xsl:variable name="new-line-element"
select="$line-element/ele[name=$element-name]"/>
- <b>
- <<xsl:value-of select="text()"/>><xsl:value-of select="$element-suffix"/>
- </b>
+ <<b><xsl:value-of select="text()"/></b>>
+ <xsl:value-of select="$element-suffix"/>
<xsl:if test="$new-line-element/summary">
<div style="margin-left: 15px; display: inline;"><xsl:value-of select="normalize-space($new-line-element/summary)"/>.</div>
</xsl:if>
@@ -350,7 +348,7 @@
Command <tt><xsl:value-of select="name"/></tt></h3>
</div>
- <p><b>In short: </b><xsl:value-of select="normalize-space(summary)"/>.</p>
+ <p>In short: <xsl:value-of select="normalize-space(summary)"/>.</p>
<xsl:apply-templates select="description"/>
@@ -358,11 +356,11 @@
<ul style="list-style: none">
<li>
- <div style="font-weight:bold;">Command</div>
+ <i>Command</i>
<xsl:call-template name="command-breakdown"/>
</li>
- <li>
- <div style="font-weight:bold;">Response</div>
+ <li style="margin-top: 15px;">
+ <i>Response</i>
<xsl:for-each select="response">
<xsl:call-template name="command-breakdown"/>
</xsl:for-each>
@@ -372,10 +370,14 @@
<h4><xsl:value-of select="$index"/>.2 RNC</h4>
<div style="border: 1px solid; padding:10px; width: 75%; align: center; margin-left: auto; margin-right: auto; background: #d5d5d5;">
- <div style="font-weight:bold;">Command</div>
- <xsl:call-template name="command-relax"/>
- <div style="font-weight:bold;">Response</div>
- <xsl:call-template name="response-relax"/>
+ <i>Command</i>
+ <div style="margin-left: 5%">
+ <xsl:call-template name="command-relax"/>
+ </div>
+ <i>Response</i>
+ <div style="margin-left: 5%">
+ <xsl:call-template name="response-relax"/>
+ </div>
</div>
<xsl:choose>
More information about the Openvas-commits
mailing list