layout.html 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. {% extends "basic/layout.html" %}
  2. {%- set breadcrumbdelim = breadcrumbdelim is not defined and ' »' or breadcrumbdelim %}
  3. {%- macro gs_breadcrumbs() %}
  4. <ul id="breadcrumbs">
  5. {% if pagename != 'index' %}
  6. {%- block rootrellink %}
  7. <li><a href="{{ pathto('index') }}">{{ docstitle }}</a>{{ breadcrumbdelim }}</li>
  8. {%- endblock %}
  9. {%- for parent in parents %}
  10. <li><a href="{{ parent.link|e }}" accesskey="U">{{ parent.title }}</a>{{ breadcrumbdelim }}</li>
  11. {%- endfor %}
  12. <li>{{ title|striptags }}</li>
  13. {%- else %}
  14. <li>{{ docstitle }}</li>
  15. {%- endif %}
  16. </ul>
  17. {%- endmacro %}
  18. {%- macro gs_rellinkbar() %}
  19. <ul id="relatedlinks" class="selfclear">
  20. {%- if next %}
  21. <li class="first"><a href="{{ next.link|e }}" title="{{ next.title }}" accesskey="N">Next</a></li>
  22. {%- endif %}
  23. {%- if prev %}
  24. <li {%- if not next %}class="first"{%- endif %}>
  25. <a href="{{ prev.link|e }}" title="{{ prev.title }}" accesskey="P">Previous</a>
  26. {%- if next %}|{%- endif %}
  27. </li>
  28. {%- endif %}
  29. </ul>
  30. {%- endmacro %}
  31. {%- macro gs_sidebar() %}
  32. {%- if builder != 'htmlhelp' %}
  33. <div id="sidebar"{%- if pagename not in ['index', 'search'] %} class="contrast"{%- endif %}>
  34. {%- if display_toc %}
  35. {%- block sidebartoc %}
  36. <div id="toc" class="section">
  37. <h3 class="pngfix"><a href="{{ pathto(root_doc)|e }}">Table Of Contents</a></h3>
  38. {{ toc }}
  39. <div class="section-footer"></div>
  40. </div>
  41. {%- endblock %}
  42. {%- endif %}
  43. {%- block sidebarrel %}
  44. {%- if (prev or next) %}
  45. <div class="section">
  46. <h3>Continue Reading</h3>
  47. <ul>
  48. {%- if prev %}
  49. <li>Previous: <a href="{{ prev.link|e }}" title="previous chapter">{{ prev.title }}</a></li>
  50. {%- endif %}
  51. {%- if next %}
  52. <li>Next: <a href="{{ next.link|e }}" title="next chapter">{{ next.title }}</a></li>
  53. {%- endif %}
  54. </ul>
  55. </div>
  56. {%- endif %}
  57. {%- endblock %}
  58. {%- if sourcename or display_github %}
  59. <div class="section">
  60. <h3>This Page</h3>
  61. <ul class="this-page-menu">
  62. {% if display_github %}
  63. <li><a href="https://github.com/{{github_user}}/{{ github_repo }}/tree/{{ github_version }}/{{ conf_py_path }}/{{ pagename }}{{ page_source_suffix }}">Edit</a></li>
  64. {%- endif %}
  65. {%- if show_source and has_source and sourcename %}
  66. <li><a href="{{ pathto('_sources/' + sourcename, true)|e }}">Source</a></li>
  67. {%- endif %}
  68. </ul>
  69. </div>
  70. {%- endif %}
  71. <div class="section">
  72. <h3>Known GeoServer issues</h3>
  73. <ul class="this-page-menu">
  74. <li><a href="https://osgeo-org.atlassian.net/projects/GEOS/summary">Jira issue tracker</a></li>
  75. </ul>
  76. </div>
  77. {%- if customsidebar %}
  78. {{ rendertemplate(customsidebar) }}
  79. {%- endif %}
  80. {%- block sidebarsearch %}{%- endblock %}
  81. </div><!-- /#sidebar -->
  82. {%- endif %}
  83. {%- endmacro -%}
  84. {%- block css %}
  85. <link rel="stylesheet" href="{{ pathto('_static/blueprint/screen.css', 1) }}" type="text/css" media="screen, projection" />
  86. <link rel="stylesheet" href="{{ pathto('_static/blueprint/print.css', 1) }}" type="text/css" media="print" />
  87. <!--[if IE]>
  88. <link rel="stylesheet" href="{{ pathto('_static/blueprint/ie.css', 1) }}" type="text/css" media="screen, projection" />
  89. <![endif]-->
  90. {{ super() }}
  91. {%- endblock %}
  92. {%- block body_tag %}<body class="{{pagename}}">{% endblock %}
  93. {%- block header %}
  94. <div id="header" class="selfclear">
  95. <div class="wrap selfclear">
  96. <div id="logo"><a href="http://geoserver.org">GeoServer</a></div>
  97. <ul id="top-nav">
  98. <li class="first"><a href="http://geoserver.org/about/">About</a></li>
  99. <li><a href="http://geoserver.org/blog">Blog</a></li>
  100. <li><a href="http://geoserver.org/download/">Download</a></li>
  101. <li><a href="https://docs.geoserver.org/">Documentation</a></li>
  102. </ul>
  103. <form id="quick-search" action="{{ pathto('search') }}" method="get">
  104. <fieldset>
  105. <input type="hidden" name="check_keywords" value="yes" />
  106. <input type="hidden" name="area" value="default" />
  107. <input id="quick-search-query" type="text" name="q" accessKey="q" name="searchQuery.queryString" size="25" size="20" tabindex="3" placeholder="Search {{ manual|e }}&hellip;" />
  108. <input id="quick-search-submit" type="image" value="Search" src="{{ pathto('_static/chrome/search_icon_green.png', 1)}}" />
  109. </fieldset>
  110. </form>
  111. </div><!-- /.wrap -->
  112. </div><!-- /#header -->
  113. {%- endblock %}
  114. {%- block relbar1 %}{% endblock %}
  115. {%- block relbar2 %}{% endblock %}
  116. {%- block content %}
  117. <div id="main">
  118. <div class="wrap selfclear">
  119. <div id="content-left" class="content-border"></div>
  120. <div id="content">
  121. {{ gs_breadcrumbs() }}
  122. {{ gs_rellinkbar() }}
  123. {%- block document %}
  124. {% block body %}{% endblock %}
  125. {%- endblock %}
  126. {%- if (prev or next) %}
  127. <div class="selfclear pagination-nav">
  128. {%- if prev %}
  129. <div class="leftwise"><strong>Previous</strong>: <a href="{{ prev.link|e }}" title="previous chapter">{{ prev.title }}</a></div>
  130. {%- endif %}
  131. {%- if next %}
  132. <div class="rightwise"><strong>Next</strong>: <a href="{{ next.link|e }}" title="next chapter">{{ next.title }}</a></div>
  133. {%- endif %}
  134. </div>
  135. {%- endif %}
  136. </div><!-- /#content> -->
  137. <div id="content-right" class="content-border"></div>
  138. {{ gs_sidebar() }}
  139. </div><!-- /.wrap> -->
  140. </div><!-- /#main -->
  141. {%- endblock %}
  142. {%- block footer %}
  143. <div id="footer">
  144. <div class="wrap">
  145. {%- if hasdoc('copyright') %}
  146. &copy; <a href="{{ pathto('copyright') }}">Copyright</a> {{ copyright }}.
  147. {%- else %}
  148. &copy; Copyright {{ copyright }}. License <a href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution</a>.
  149. {%- endif %}
  150. {%- if last_updated %}
  151. Last updated on {{ last_updated }}.
  152. {%- endif %}
  153. {%- if show_sphinx %}
  154. Created using <a href="http://www.sphinx-doc.org/">Sphinx</a>.
  155. {%- endif %}
  156. </div><!-- /.wrap> -->
  157. </div><!-- /#footer -->
  158. {%- endblock %}