stats-httpd-xsl.tpl 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. - Copyright (C) 2011 Internet Systems Consortium, Inc. ("ISC")
  4. -
  5. - Permission to use, copy, modify, and/or distribute this software for any
  6. - purpose with or without fee is hereby granted, provided that the above
  7. - copyright notice and this permission notice appear in all copies.
  8. -
  9. - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  10. - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  11. - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  12. - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  13. - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  14. - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  15. - PERFORMANCE OF THIS SOFTWARE.
  16. -->
  17. <xsl:stylesheet version="1.0"
  18. xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml"
  19. xmlns:stats="$xsd_namespace">
  20. <xsl:output method="html" encoding="UTF-8"
  21. doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
  22. doctype-system=" http://www.w3.org/TR/html4/loose.dtd " />
  23. <xsl:template match="/">
  24. <html lang="en">
  25. <head>
  26. <title>BIND 10 Statistics</title>
  27. <style type="text/css"><![CDATA[
  28. table {
  29. border: 1px #000000 solid;
  30. border-collapse: collapse;
  31. }
  32. td, th {
  33. padding: 3px 20px;
  34. border: 1px #000000 solid;
  35. }
  36. td.title {
  37. text-decoration:underline;
  38. }
  39. ]]>
  40. </style>
  41. </head>
  42. <body>
  43. <h1>BIND 10 Statistics</h1>
  44. <table>
  45. <tr>
  46. <th>Owner</th>
  47. <th>Title</th>
  48. <th>Value</th>
  49. </tr>
  50. <xsl:apply-templates />
  51. </table>
  52. </body>
  53. </html>
  54. </xsl:template>
  55. $xsl_string
  56. </xsl:stylesheet>