[Openvas-commits] r5987 - in trunk/gsa: . src/html/src
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Nov 26 18:32:55 CET 2009
Author: mattm
Date: 2009-11-26 18:32:55 +0100 (Thu, 26 Nov 2009)
New Revision: 5987
Modified:
trunk/gsa/ChangeLog
trunk/gsa/src/html/src/omp.xsl
Log:
* src/html/src/omp.xsl: Match input widths to validator widths.
(get_targets): Apply gsad_msg.
Modified: trunk/gsa/ChangeLog
===================================================================
--- trunk/gsa/ChangeLog 2009-11-26 16:14:50 UTC (rev 5986)
+++ trunk/gsa/ChangeLog 2009-11-26 17:32:55 UTC (rev 5987)
@@ -1,5 +1,10 @@
2009-11-26 Matthew Mundell <matthew.mundell at intevation.de>
+ * src/html/src/omp.xsl: Match input widths to validator widths.
+ (get_targets): Apply gsad_msg.
+
+2009-11-26 Matthew Mundell <matthew.mundell at intevation.de>
+
* src/html/src/omp.xsl: Convert tabs to spaces.
2009-11-24 Matthew Mundell <matthew.mundell at intevation.de>
Modified: trunk/gsa/src/html/src/omp.xsl
===================================================================
--- trunk/gsa/src/html/src/omp.xsl 2009-11-26 16:14:50 UTC (rev 5986)
+++ trunk/gsa/src/html/src/omp.xsl 2009-11-26 17:32:55 UTC (rev 5987)
@@ -1131,13 +1131,13 @@
<td valign="top" width="125">Name</td>
<td>
<input type="text" name="name" value="unnamed" size="30"
- maxlength="20"/>
+ maxlength="80"/>
</td>
</tr>
<tr>
<td valign="top" width="125">Comment (optional)</td>
<td>
- <input type="text" name="comment" size="30" maxlength="40"/>
+ <input type="text" name="comment" size="30" maxlength="400"/>
</td>
</tr>
<tr>
@@ -1155,7 +1155,10 @@
<input type="radio" name="base" value="pass"/>
Password
</td>
- <td><input type="password" name="password"/></td>
+ <td>
+ <input type="password" name="password" size="30"
+ maxlength="40"/>
+ </td>
</tr>
</table>
</td>
@@ -1322,7 +1325,7 @@
<tr>
<td valign="top" width="125">Comment (optional)</td>
<td>
- <input type="text" name="comment" size="30" maxlength="40"/>
+ <input type="text" name="comment" size="30" maxlength="400"/>
</td>
</tr>
<tr>
@@ -1453,6 +1456,7 @@
<!-- GET_TARGETS_RESPONSE -->
<xsl:template match="get_targets">
+ <xsl:apply-templates select="gsad_msg"/>
<xsl:apply-templates select="commands_response/delete_target_response"/>
<xsl:apply-templates select="create_target_response"/>
<xsl:call-template name="html-create-target-form">
@@ -1489,13 +1493,13 @@
<td valign="top" width="125">Name</td>
<td>
<input type="text" name="name" value="unnamed" size="30"
- maxlength="20"/>
+ maxlength="80"/>
</td>
</tr>
<tr>
<td valign="top">Comment (optional)</td>
<td>
- <input type="text" name="comment" size="30" maxlength="40"/>
+ <input type="text" name="comment" size="30" maxlength="400"/>
</td>
</tr>
<tr>
@@ -1833,7 +1837,7 @@
</xsl:when>
<xsl:when test="type='password'">
<input type="password" name="preference:{nvt/name}[password]:{name}"
- value="{value}"/>
+ value="{value}" size="30" maxlength="40"/>
<input type="checkbox" name="password:{nvt/name}[password]:{name}"
value="yes"/>
Replace old value
@@ -1843,7 +1847,7 @@
</xsl:when>
<xsl:when test="type='entry'">
<input type="text" name="preference:{nvt/name}[entry]:{name}"
- value="{value}"/>
+ value="{value}" size="30" maxlength="400"/>
</xsl:when>
<xsl:when test="type='radio'">
<input type="radio" name="preference:{nvt/name}[radio]:{name}"
@@ -1860,12 +1864,16 @@
<xsl:when test="type=''">
<input type="text"
name="preference:scanner[scanner]:{name}"
- value="{value}"/>
+ value="{value}"
+ size="30"
+ maxlength="400"/>
</xsl:when>
<xsl:otherwise>
<input type="text"
name="preference:{nvt/name}[{type}]:{name}"
- value="{value}"/>
+ value="{value}"
+ size="30"
+ maxlength="400"/>
</xsl:otherwise>
</xsl:choose>
</td>
@@ -1974,7 +1982,9 @@
</xsl:choose>
<input type="text"
name="preference:scanner[scanner]:timeout.{../nvt/@oid}"
- value="{timeout}"/>
+ value="{timeout}"
+ size="30"
+ maxlength="400"/>
<br/>
</td>
<td></td>
More information about the Openvas-commits
mailing list