/web/web_template.conf

http://diffkit.googlecode.com/ · Unknown · 170 lines · 159 code · 11 blank · 0 comment · 0 complexity · 6ec8f528dff1298ebf6d00dbea715541 MD5 · raw file

  1. #
  2. # AsciiDoc website.
  3. # Three division table based layout (layout1).
  4. #
  5. # +-----------------------------------------------------+
  6. # | #layout-banner |
  7. # +--------------+--------------------------------------+
  8. # | | |
  9. # | | |
  10. # | #layout-menu | #layout-content |
  11. # | | |
  12. # | | |
  13. # | | |
  14. # +--------------+--------------------------------------+
  15. #
  16. # - The #layout-menu and #layout-content divisions are contained in a
  17. # two cell table.
  18. # I would be nice to use pure CSS for the layout but the table is better for
  19. # this layout because:
  20. #
  21. # * The column widths automatically size to fit column width (specifically
  22. # the #layout-menu)
  23. # * The column heights automatically size to the tallest.
  24. #
  25. # - The #layout-content division is a container for AsciiDoc page documents.
  26. # - Documents rendered in the #layout-content use the standard AsciiDoc
  27. # xhtml11 backend stylesheets.
  28. [header]
  29. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  30. "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  31. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  32. <head>
  33. <meta http-equiv="Content-Type" content="text/html; charset={encoding}" />
  34. <meta name="generator" content="AsciiDoc {asciidoc-version}" />
  35. ifdef::index-only[]
  36. <meta name="description" content="Diff'ng for tables" />
  37. <meta name="keywords" content="diff table difference comparison SQL csv" />
  38. endif::index-only[]
  39. <link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}.css" type="text/css" />
  40. <link rel="icon" href="{stylesdir=.}/favicon.png" type="image/png"/>
  41. ifdef::quirks[]
  42. <link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}-quirks.css" type="text/css" />
  43. endif::quirks[]
  44. <script type="text/javascript">
  45. /*<![CDATA[*/
  46. window.onload = function()\{asciidoc.footnotes();{toc? asciidoc.toc({toclevels});}\}
  47. /*]]>*/
  48. </script>
  49. <script type="text/javascript" src="{scriptsdir=.}/asciidoc-xhtml11.js"></script>
  50. <title>{doctitle}</title>
  51. <!-- Google analytics page tracker -->
  52. <script type="text/javascript">
  53. var _gaq = _gaq || [];
  54. _gaq.push(['_setAccount', 'UA-19622725-3']);
  55. _gaq.push(['_setDomainName', '.diffkit.org']);
  56. _gaq.push(['_trackPageview']);
  57. (function() {
  58. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  59. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  60. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  61. })();
  62. </script>
  63. <!-- Google analytics outbound tracker -->
  64. <script type="text/javascript">
  65. function recordOutboundLink(link, category, action) {
  66. try {
  67. var myTracker=_gat._getTrackerByName();
  68. _gaq.push(['myTracker._trackEvent', ' + category + ', ' + action + ']);
  69. setTimeout('document.location = "' + link.href + '"', 100)
  70. }catch(err){}
  71. }
  72. </script>
  73. </head>
  74. <body{max-width? style="max-width:{max-width}"} class="web">
  75. <div id="layout-banner">
  76. <table >
  77. <tr valign="top">
  78. <td >
  79. <img src="img/logo.png" alt="logo.png" />
  80. </td>
  81. <td >
  82. <div id="layout-title">DiffKit</div>
  83. <div id="layout-description">Diff for tables</div>
  84. </td>
  85. </tr>
  86. </table>
  87. </div>
  88. <table id="layout-table" >
  89. <tr valign="top">
  90. <td id="layout-menu">
  91. <div>&#187;<a href="index.html">Home</a></div>
  92. <div>&#187;<a href="README.html">README</a></div>
  93. <div>&#187;<a href="http://code.google.com/p/diffkit/downloads/list">Download</a></div>
  94. <div>&#187;<a href="quickstart.html">Quick Start</a></div>
  95. <div>&#187;<a href="userguide.html">User Guide</a></div>
  96. <div>&#187;<a href="faq.html">FAQ</a></div>
  97. <div>&#187;<a href="compatibility.html">Compatibility</a></div>
  98. <div>&#187;<a href="support.html">Support</a></div>
  99. <div>&#187;<a href="http://blog.diffkit.org/">Blog</a></div>
  100. <div>&#187;<a href="http://code.google.com/p/diffkit/">Project</a></div>
  101. <div>&#187;<a href="changelog.html">Changelog</a></div>
  102. </td>
  103. <td>
  104. <div id="layout-content">
  105. # Article, book header.
  106. <div id="header">
  107. <h1>{doctitle}</h1>
  108. <span id="author">{author}</span><br />
  109. <span id="email"><tt>&lt;<a href="mailto:{email}">{email}</a>&gt;</tt></span><br />
  110. {authored}<span id="revision">version {revnumber}{revdate?,}</span>
  111. {authored}{revdate}
  112. ifdef::toc[]
  113. <div id="toc">
  114. <div id="toctitle">Table of Contents</div>
  115. <noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
  116. </div>
  117. endif::toc[]
  118. </div>
  119. <div id="content">
  120. [footer]
  121. </div>
  122. {disable-javascript%<div id="footnotes"><hr /></div>}
  123. <div id="footer">
  124. <div id="footer-text">
  125. Version {revnumber}<br />
  126. Last updated {localdate} {localtime}
  127. </div>
  128. ifdef::badges[]
  129. <div id="footer-badges">
  130. ifdef::textonly[]
  131. Valid <a href="http://validator.w3.org/check?uri=referer">XHTML</a>
  132. and <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>.
  133. endif::textonly[]
  134. ifndef::textonly[]
  135. <a href="http://validator.w3.org/check?uri=referer">
  136. <img style="border:0;width:88px;height:31px"
  137. src="http://www.w3.org/Icons/valid-xhtml11-blue"
  138. alt="Valid XHTML 1.1" height="31" width="88" />
  139. </a>
  140. <a href="http://jigsaw.w3.org/css-validator/">
  141. <img style="border:0;width:88px;height:31px"
  142. src="http://jigsaw.w3.org/css-validator/images/vcss-blue"
  143. alt="Valid CSS!" />
  144. </a>
  145. <a href="http://www.mozilla.org/products/firefox/">
  146. <img style="border:none; width:110px; height:32px;"
  147. src="http://www.spreadfirefox.com/community/images/affiliates/Buttons/110x32/safer.gif"
  148. alt="Get Firefox!" />
  149. </a>
  150. endif::textonly[]
  151. </div>
  152. endif::badges[]
  153. </div>
  154. </div>
  155. </td>
  156. </tr>
  157. </table>
  158. </body>
  159. </html>