PageRenderTime 23ms CodeModel.GetById 1ms RepoModel.GetById 0ms app.codeStats 0ms

/docs/theme/layout.html

https://code.google.com/p/sqlalchemy-migrate/
HTML | 90 lines | 80 code | 10 blank | 0 comment | 0 complexity | 462f3b4afd0fa4fac6bf573ed169cd4f MD5 | raw file
Possible License(s): MIT
  1. <?xml version="1.0"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <?python
  4. import pudge
  5. def initialize(t):
  6. g = t.generator
  7. if not hasattr(t, 'title'):
  8. t.title = 'Untitled'
  9. t.doc_title = g.index_document['title']
  10. t.home_url = g.organization_url or g.blog_url or g.trac_url
  11. t.home_title = g.organization
  12. ?>
  13. <html xmlns="http://www.w3.org/1999/xhtml"
  14. xmlns:py="http://purl.org/kid/ns#"
  15. py:def="layout">
  16. <head>
  17. <title>${title}</title>
  18. <link rel="stylesheet" type="text/css" href="layout.css"/>
  19. <link py:if="generator.syndication_url"
  20. rel="alternate"
  21. type="application/rss+xml"
  22. title="RSS 2.0" href="${generator.syndication_url}"/>
  23. </head>
  24. <body>
  25. <div id="page">
  26. <h1 class="doc-title"><a href="${home_url}">${home_title}</a></h1>
  27. <div id="navcontainer">
  28. <ul id="navlist">
  29. <li class="pagenav">
  30. <ul>
  31. <li class="page_item">
  32. <a href="index.html"
  33. class="${'index.html'== destfile and 'selected' or ''}"
  34. title="Project Home / Index">${doc_title}</a>
  35. </li>
  36. <li class="page_item">
  37. <a href="module-index.html"
  38. class="${'module-index.html'== destfile and 'selected' or ''}"
  39. title="${doc_title.lower()} package and module reference">Modules</a>
  40. </li>
  41. <?python
  42. trac_url = generator.trac_url
  43. mailing_list_url = generator.mailing_list_url
  44. ?>
  45. <li py:if="trac_url">
  46. <a href="${trac_url}"
  47. title="Wiki / Subversion / Roadmap / Bug Tracker"
  48. >Trac</a>
  49. </li>
  50. <li py:if="generator.blog_url">
  51. <a href="${generator.blog_url}">Blog</a>
  52. </li>
  53. <li py:if="mailing_list_url">
  54. <a href="${mailing_list_url}"
  55. class="${mailing_list_url == destfile and 'selected' or ''}"
  56. title="Mailing List">Discuss</a>
  57. </li>
  58. </ul>
  59. </li>
  60. </ul>
  61. </div>
  62. <hr />
  63. <div id="content" py:content="content()"/>
  64. <div id="footer">
  65. <?python license = generator.get_document('doc-license') ?>
  66. <p style="float: left;">
  67. built with
  68. <a href="http://lesscode.org/projects/pudge/"
  69. >pudge/${pudge.__version__}</a><br />
  70. original design by
  71. <a href="http://blog.ratterobert.com/"
  72. >ratter / robert</a><br />
  73. </p>
  74. <p style="float:right;">
  75. evan.rosson (at) gmail.com
  76. </p>
  77. </div>
  78. </div>
  79. </body>
  80. </html>