]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add the zone timers to the XSL
authorPaul Frieden <pfrieden@verizonmedia.com>
Mon, 4 Nov 2019 22:49:55 +0000 (16:49 -0600)
committerOndřej Surý <ondrej@isc.org>
Tue, 12 May 2020 12:12:03 +0000 (14:12 +0200)
(cherry picked from commit 72ffa194e2a8647583aa7927d47557f5fe88b2e7)

bin/named/bind9.xsl
bin/named/bind9.xsl.h

index f36927794fb6e8b8acba24fb7c704e75520f9433..ba0ad274871daadb5a4171c5c19bf246e9a9c648 100644 (file)
           <xsl:for-each select="views/view">
             <h3>Zones for View <xsl:value-of select="@name"/></h3>
             <table class="zones">
-              <thead><tr><th>Name</th><th>Class</th><th>Type</th><th>Serial</th></tr></thead>
+              <thead><tr><th>Name</th><th>Class</th><th>Type</th><th>Serial</th><th>Loaded</th><th>Expires</th><th>Refresh</th></tr></thead>
               <tbody>
                 <xsl:for-each select="zones/zone">
                   <xsl:variable name="css-class15">
                       <td><xsl:value-of select="@name"/></td>
                       <td><xsl:value-of select="@rdataclass"/></td>
                       <td><xsl:value-of select="type"/></td>
-                      <td><xsl:value-of select="serial"/></td></tr>
+                      <td><xsl:value-of select="serial"/></td>
+                      <td><xsl:value-of select="loaded"/></td>
+                      <td><xsl:value-of select="expires"/></td>
+                      <td><xsl:value-of select="refresh"/></td></tr>
                 </xsl:for-each>
               </tbody>
             </table>
index 2769147be58a216231457af64a6d4d9bd2f9fc96..af77b335a7c947f61e9ca987f6a7f62ca2185d37 100644 (file)
@@ -866,8 +866,8 @@ static char xslmsg[] =
        " <xsl:for-each select=\"views/view\">\n"
        " <h3>Zones for View <xsl:value-of select=\"@name\"/></h3>\n"
        " <table class=\"zones\">\n"
-       " <thead><tr><th>Name</th><th>Class</th><th>Type</th><th>Serial</th></"
-       "tr></thead>\n"
+       " <thead><tr><th>Name</th><th>Class</th><th>Type</th><th>Serial</"
+       "th><th>Loaded</th><th>Expires</th><th>Refresh</th></tr></thead>\n"
        " <tbody>\n"
        " <xsl:for-each select=\"zones/zone\">\n"
        " <xsl:variable name=\"css-class15\">\n"
@@ -880,7 +880,10 @@ static char xslmsg[] =
        " <td><xsl:value-of select=\"@name\"/></td>\n"
        " <td><xsl:value-of select=\"@rdataclass\"/></td>\n"
        " <td><xsl:value-of select=\"type\"/></td>\n"
-       " <td><xsl:value-of select=\"serial\"/></td></tr>\n"
+       " <td><xsl:value-of select=\"serial\"/></td>\n"
+       " <td><xsl:value-of select=\"loaded\"/></td>\n"
+       " <td><xsl:value-of select=\"expires\"/></td>\n"
+       " <td><xsl:value-of select=\"refresh\"/></td></tr>\n"
        " </xsl:for-each>\n"
        " </tbody>\n"
        " </table>\n"