[Openvas-commits] r11686 - in trunk/gsa: . src/html

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Sep 26 10:51:24 CEST 2011


Author: hdoreau
Date: 2011-09-26 10:51:23 +0200 (Mon, 26 Sep 2011)
New Revision: 11686

Modified:
   trunk/gsa/ChangeLog
   trunk/gsa/src/html/help.xsl
   trunk/gsa/src/html/omp.xsl
Log:
* src/html/omp.xsl (cve-details, cpe-details): Add help icons.

* src/html/help.xsl (contents.html, glossary.html): Document CPE and
CVE.
(cpe.html, cve.html): New help pages.


Modified: trunk/gsa/ChangeLog
===================================================================
--- trunk/gsa/ChangeLog	2011-09-26 08:10:58 UTC (rev 11685)
+++ trunk/gsa/ChangeLog	2011-09-26 08:51:23 UTC (rev 11686)
@@ -1,5 +1,13 @@
 2011-09-26  Henri Doreau <henri.doreau at greenbone.net>
 
+	* src/html/omp.xsl (cve-details, cpe-details): Add help icons.
+
+	* src/html/help.xsl (contents.html, glossary.html): Document CPE and
+	CVE.
+	(cpe.html, cve.html): New help pages.
+
+2011-09-26  Henri Doreau <henri.doreau at greenbone.net>
+
 	* src/html/omp.xsl (cve-details, nvt, host): Use one-liners to
 	transmit template parameters, to improve readability.
 

Modified: trunk/gsa/src/html/help.xsl
===================================================================
--- trunk/gsa/src/html/help.xsl	2011-09-26 08:10:58 UTC (rev 11685)
+++ trunk/gsa/src/html/help.xsl	2011-09-26 08:51:23 UTC (rev 11686)
@@ -1891,6 +1891,8 @@
           <li> Asset Management</li>
           <ul>
             <li> <a href="hosts.html?token={/envelope/token}">Hosts</a></li>
+            <li> <a href="cpe.html?token={/envelope/token}">CPE</a></li>
+            <li> <a href="cve.html?token={/envelope/token}">CVE</a></li>
           </ul>
           <li> Configuration</li>
           <ul>
@@ -1931,6 +1933,56 @@
   </div>
 </xsl:template>
 
+<xsl:template mode="help" match="cpe.html">
+  <div class="gb_window_part_center">Help: CPE</div>
+  <div class="gb_window_part_content">
+    <div style="float:left;"><a href="/help/contents.html?token={/envelope/token}">Help Contents</a></div>
+    <div style="text-align:left">
+
+      <br/>
+      <a name="nvts"></a>
+      <h1>Common Platform Enumeration (CPE)</h1>
+      <p>
+       Currently, there is one page in the web interface
+       about <a href="glossary.html?token={/envelope/token}#cpe">CPE</a>.
+      </p>
+
+      <a name="cpedetails"></a>
+      <h2>CPE Details</h2>
+      <p>
+       A page that provides the original detailed information about a CPE.
+       This includes the title(s), date of last modification and deprecation status if any.
+      </p>
+    </div>
+  </div>
+</xsl:template>
+
+<xsl:template mode="help" match="cve.html">
+  <div class="gb_window_part_center">Help: CVE</div>
+  <div class="gb_window_part_content">
+    <div style="float:left;"><a href="/help/contents.html?token={/envelope/token}">Help Contents</a></div>
+    <div style="text-align:left">
+
+      <br/>
+      <a name="nvts"></a>
+      <h1>Common Vulnerabilities and Exposures (CVE)</h1>
+      <p>
+       Currently, there is one page in the web interface
+       about <a href="glossary.html?token={/envelope/token}#cve">CVE</a>.
+      </p>
+
+      <a name="cvedetails"></a>
+      <h2>CVE Details</h2>
+      <p>
+       A page that provides the original detailed information about an CVE.
+       This includes the dates of publication and last modification, the
+       description, CVSS information, list of vulnerable products and
+       references.
+      </p>
+    </div>
+  </div>
+</xsl:template>
+
 <xsl:template mode="help" match="error_messages.html">
   <div class="gb_window_part_center">Help: Error Messages</div>
   <div class="gb_window_part_content">
@@ -2055,6 +2107,30 @@
        terms as they are used in GSA.
       </p>
 
+      <a name="cpe"></a>
+      <h2>CPE</h2>
+      <p>
+        Common Platform Enumeration is a structured naming scheme for
+        information technology systems, platforms, and packages. Based upon the
+        generic syntax for Uniform Resource Identifiers (URI), CPE includes a
+        formal name format, a language for describing complex platforms, a
+        method for checking names against a system, and a description format
+        for binding text and tests to a name.
+      </p>
+      <p>
+        (Source http://cpe.mitre.org).
+      </p>
+
+      <a name="cve"></a>
+      <h2>CVE</h2>
+      <p>
+        Common Vulnerabilities and Exposures is a dictionary of publicly known
+        information security vulnerabilities and exposures.
+      </p>
+      <p>
+        (Source: http://cve.mitre.org).
+      </p>
+
       <a name="escalator"></a>
       <h2>Escalator</h2>
       <p>

Modified: trunk/gsa/src/html/omp.xsl
===================================================================
--- trunk/gsa/src/html/omp.xsl	2011-09-26 08:10:58 UTC (rev 11685)
+++ trunk/gsa/src/html/omp.xsl	2011-09-26 08:51:23 UTC (rev 11686)
@@ -8318,7 +8318,12 @@
 </xsl:template>
 
 <xsl:template name="cve-details">
-  <div class="gb_window_part_center">CVE Details</div>
+  <div class="gb_window_part_center">CVE Details
+    <a href="/help/cve.html?token={/envelope/token}#cvedetails"
+       title="Help: CVE (CVE Details)">
+      <img src="/img/help.png"/>
+    </a>
+  </div>
   <div class="gb_window_part_content">
     <h1>CVE Details</h1>
     <table>
@@ -8418,7 +8423,12 @@
 </xsl:template>
 
 <xsl:template name="cpe-details">
-  <div class="gb_window_part_center">CPE Details</div>
+  <div class="gb_window_part_center">CPE Details
+    <a href="/help/cpe.html?token={/envelope/token}#cpedetails"
+       title="Help: CPE (CPE Details)">
+      <img src="/img/help.png"/>
+    </a>
+  </div>
   <div class="gb_window_part_content">
     <h1>CPE Details</h1>
     <table>



More information about the Openvas-commits mailing list