Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

  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.  
  29. [specialwords]
  30. monospacedwords=(?u)\\?\basciidoc\(1\) (?u)\\?\ba2x\(1\)
  31.  
  32. [header]
  33. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  34.     "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  35. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  36. <head>
  37. <meta http-equiv="Content-Type" content="text/html; charset={encoding}" />
  38. <meta name="generator" content="AsciiDoc {asciidoc-version}" />
  39. ifdef::index-only[]
  40. <meta name="description" content="Text based document generation" />
  41. <meta name="keywords" content="text to HTML, text to DocBook, text to XML, AsciiDoc" />
  42. endif::index-only[]
  43. <link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}.css" type="text/css" />
  44. {doctype-manpage}<link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}-manpage.css" type="text/css" />
  45. <link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}-quirks.css" type="text/css" />
  46. <link rel="stylesheet" href="{stylesdir=.}/layout1.css" type="text/css" />
  47. <script type="text/javascript">
  48. /*<![CDATA[*/
  49. window.onload = function()\{asciidoc.footnotes();{toc? asciidoc.toc({toclevels});}\}
  50. /*]]>*/
  51. </script>
  52. <script type="text/javascript" src="{scriptsdir=.}/asciidoc-xhtml11.js"></script>
  53. ifdef::asciimath[]
  54. <script type="text/javascript" src="{scriptsdir=.}/ASCIIMathML.js"></script>
  55. endif::asciimath[]
  56. ifdef::latexmath[]
  57. <script type="text/javascript" src="{scriptsdir=.}/LaTeXMathML.js"></script>
  58. endif::latexmath[]
  59. <title>{doctitle}</title>
  60. </head>
  61. <body{max-width? style="max-width:{max-width}"}>
  62. <div id="layout-banner">
  63.   <div id="layout-title">AVRA</div>
  64.   <div id="layout-description">Assember for the Atmel AVR microcontroller family</div>
  65. </div>
  66. <table>
  67. <tr valign="top">
  68. <td id="layout-menu">
  69.   <div>&#187;<a href="index.html">Home</a></div>
  70.   <div>&#187;<a href="README.html">Readme</a></div>
  71.   <div>&#187;<a href="downloads.html">Downloads</a></div>
  72.   <div>&#187;<a href="ChangeLog.html">ChangeLog</a></div>
  73.   <div>&#187;<a href="http://sourceforge.net/projects/avra">Sourceforge</a></div>
  74.   <div id="page-source">&#187;<a href="{eval:os.path.basename('{infile}')}">Page&nbsp;Source</a></div>
  75. </td>
  76. <td>
  77. <div id="layout-content">
  78. # Article, book header.
  79. ifndef::doctype-manpage[]
  80. <div id="header">
  81. <h1>{doctitle}</h1>
  82. <span id="author">{author}</span><br />
  83. <span id="email"><tt>&lt;<a href="mailto:{email}">{email}</a>&gt;</tt></span><br />
  84. {authored}<span id="revision">version {revnumber}{revdate?,}</span>
  85. {authored}{revdate}
  86. ifdef::toc[]
  87. <div id="toc">
  88.   <div id="toctitle">Table of Contents</div>
  89.   <noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
  90. </div>
  91. endif::toc[]
  92. </div>
  93. endif::doctype-manpage[]
  94. # Man page header.
  95. ifdef::doctype-manpage[]
  96. <div id="header">
  97. <h1>
  98. {doctitle} Manual Page
  99. </h1>
  100. ifdef::toc[]
  101. <div id="toc">
  102.   <div id="toctitle">Table of Contents</div>
  103.   <noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
  104. </div>
  105. endif::toc[]
  106. <h2>NAME</h2>
  107. <div class="sectionbody">
  108. <p>{manname} -
  109.    {manpurpose}
  110. </p>
  111. </div>
  112. </div>
  113. endif::doctype-manpage[]
  114. <div id="content">
  115.  
  116. [footer]
  117. </div>
  118. {disable-javascript%<div id="footnotes"><hr /></div>}
  119. <div id="footer">
  120. <div id="footer-text">
  121. Version {revnumber}<br />
  122. Last updated {localdate} {localtime}
  123. </div>
  124. ifdef::badges[]
  125. <div id="footer-badges">
  126. ifdef::textonly[]
  127. Valid <a href="http://validator.w3.org/check?uri=referer">XHTML</a>
  128. and <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>.
  129. endif::textonly[]
  130. ifndef::textonly[]
  131. <a href="http://validator.w3.org/check?uri=referer">
  132.   <img style="border:0;width:88px;height:31px"
  133.     src="http://www.w3.org/Icons/valid-xhtml11-blue"
  134.     alt="Valid XHTML 1.1" height="31" width="88" />
  135. </a>
  136. <a href="http://jigsaw.w3.org/css-validator/">
  137.   <img style="border:0;width:88px;height:31px"
  138.     src="http://jigsaw.w3.org/css-validator/images/vcss-blue"
  139.     alt="Valid CSS!" />
  140. </a>
  141. <a href="http://www.mozilla.org/products/firefox/">
  142.   <img style="border:none; width:110px; height:32px;"
  143.        src="http://www.spreadfirefox.com/community/images/affiliates/Buttons/110x32/safer.gif"
  144.        alt="Get Firefox!" />
  145. </a>
  146. endif::textonly[]
  147. </div>
  148. endif::badges[]
  149. </div>
  150. </div>
  151. </td>
  152. </tr>
  153. </table>
  154. </body>
  155. </html>
  156.