"Fossies" - the Fresh Open Source Software Archive

Member "roundup-2.0.0/doc/_templates/layout.html" (16 May 2020, 7016 Bytes) of package /linux/www/roundup-2.0.0.tar.gz:


The requested HTML page contains a <FORM> tag that is unusable on "Fossies" in "automatic" (rendered) mode so that page is shown as HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 {#
    2     _templates/layout.html
    3     ~~~~~~~~~~~~~~~~~~~~~~
    4 
    5     Custom layout template for Roundup.
    6 
    7 #}
    8 {%- block doctype -%}
    9 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   10   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
   11 {%- endblock %}
   12 {%- macro relbar(class) %}
   13     <div class="related {{ class }}">
   14       <ul>
   15         {%- for rellink in rellinks %}
   16         <li class="right" {% if loop.first %}style="margin-right: 10px"{% endif %}>
   17           <a href="{{ pathto(rellink[0]) }}" title="{{ rellink[1]|striptags }}"
   18              accesskey="{{ rellink[2] }}">{{ rellink[3] }}</a>
   19           {%- if not loop.first %}{{ reldelim2 }}{% endif %}</li>
   20         {%- endfor %}
   21         {%- block rootrellink %}
   22         <li><a href="{{ pathto(master_doc) }}">{{ shorttitle|e }}</a>{{ reldelim1 }}</li>
   23         {%- endblock %}
   24         {%- for parent in parents %}
   25           <li><a href="{{ parent.link|e }}" accesskey="U">{{ parent.title }}</a>{{ reldelim1 }}</li>
   26         {%- endfor %}
   27         {%- block relbaritems %} {% endblock %}
   28       </ul>
   29     </div>
   30 {%- endmacro %}
   31 {%- macro sidebar() %}
   32   {%- block sidebartoc %}
   33   {%- if display_toc %}
   34     <h3><a href="{{ pathto(master_doc) }}">{{ _('Table Of Contents') }}</a></h3>
   35     {{ toc }}
   36   {%- endif %}
   37   {%- endblock %}
   38   {%- block sidebarrel %}
   39   {%- if prev %}
   40     <h4>{{ _('Previous topic') }}</h4>
   41     <p class="topless"><a href="{{ prev.link|e }}"
   42                           title="{{ _('previous chapter') }}">{{ prev.title }}</a></p>
   43   {%- endif %}
   44   {%- if next %}
   45     <h4>{{ _('Next topic') }}</h4>
   46     <p class="topless"><a href="{{ next.link|e }}"
   47                           title="{{ _('next chapter') }}">{{ next.title }}</a></p>
   48   {%- endif %}
   49   {%- endblock %}
   50   {%- block sidebarsourcelink %}
   51   {%- if show_source and has_source and sourcename %}
   52     <h3>{{ _('This Page') }}</h3>
   53     <ul class="this-page-menu">
   54       <li><a href="{{ pathto('_sources/' + sourcename, true)|e }}"
   55              rel="nofollow">{{ _('Show Source') }}</a></li>
   56     </ul>
   57   {%- endif %}
   58   {%- endblock %}
   59   {%- block sidebarsearch %}
   60   {%- if pagename != "search" %}
   61   <div id="searchbox" style="display: none">
   62     <h3>{{ _('Quick search') }}</h3>
   63       <form class="search" action="{{ pathto('search') }}" method="get">
   64         <input type="text" name="q" size="18" />
   65         <input type="submit" value="{{ _('Go') }}" />
   66         <input type="hidden" name="check_keywords" value="yes" />
   67         <input type="hidden" name="area" value="default" />
   68       </form>
   69       <p style="font-size: 90%">{{ _('Enter search terms or a module, class or function name.') }}</p>
   70   </div>
   71   <script type="text/javascript">$('#searchbox').show(0);</script>
   72   {%- endif %}
   73   {%- endblock %}
   74 {%- endmacro %}
   75 
   76 {%- macro css() %}
   77     <link rel="stylesheet" href="{{ pathto('_static/basic.css', 1) }}" type="text/css" />
   78     <link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />
   79     <link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
   80     {%- for cssfile in css_files %}
   81     <link rel="stylesheet" href="{{ pathto(cssfile, 1) }}" type="text/css" />
   82     {%- endfor %}
   83 {%- endmacro %}
   84 
   85 <html xmlns="http://www.w3.org/1999/xhtml">
   86   <head>
   87     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   88     {{ metatags }}
   89     {%- if builder != 'htmlhelp' %}
   90       {%- set titlesuffix = " &mdash; "|safe + docstitle|e %}
   91     {%- endif %}
   92     <title>{{ title|striptags }}{{ titlesuffix }}</title>
   93     {%- if builder == 'web' %}
   94     <link rel="stylesheet" href="{{ pathto('index') }}?do=stylesheet{%
   95       if in_admin_panel %}&admin=yes{% endif %}" type="text/css" />
   96     {%- for link, type, title in page_links %}
   97     <link rel="alternate" type="{{ type|e(true) }}" title="{{ title|e(true) }}" href="{{ link|e(true) }}" />
   98     {%- endfor %}
   99     {%- else %}
  100     {{ css() }}
  101     {%- endif %}
  102     {%- if builder != 'htmlhelp' %}
  103     <script type="text/javascript">
  104       var DOCUMENTATION_OPTIONS = {
  105           URL_ROOT:    '{{ pathto("", 1) }}',
  106           VERSION:     '{{ release|e }}',
  107           COLLAPSE_MODINDEX: false,
  108           FILE_SUFFIX: '{{ file_suffix }}'
  109       };
  110     </script>
  111     {%- for scriptfile in script_files %}
  112     <script type="text/javascript" src="{{ pathto(scriptfile, 1) }}"></script>
  113     {%- endfor %}
  114     {%- if use_opensearch %}
  115     <link rel="search" type="application/opensearchdescription+xml"
  116           title="{% trans docstitle=docstitle|e %}Search within {{ docstitle }}{% endtrans %}"
  117           href="{{ pathto('_static/opensearch.xml', 1) }}"/>
  118     {%- endif %}
  119     {%- if favicon %}
  120     <link rel="shortcut icon" href="{{ pathto('_static/' + favicon, 1) }}"/>
  121     {%- endif %}
  122     {%- endif %}
  123 {%- block linktags %}
  124     {%- if hasdoc('about') %}
  125     <link rel="author" title="{{ _('About these documents') }}" href="{{ pathto('about') }}" />
  126     {%- endif %}
  127     <link rel="index" title="{{ _('Index') }}" href="{{ pathto('genindex') }}" />
  128     <link rel="search" title="{{ _('Search') }}" href="{{ pathto('search') }}" />
  129     {%- if hasdoc('copyright') %}
  130     <link rel="copyright" title="{{ _('Copyright') }}" href="{{ pathto('copyright') }}" />
  131     {%- endif %}
  132     <link rel="top" title="{{ docstitle|e }}" href="{{ pathto('index') }}" />
  133     {%- if parents %}
  134     <link rel="up" title="{{ parents[-1].title|striptags }}" href="{{ parents[-1].link|e }}" />
  135     {%- endif %}
  136     {%- if next %}
  137     <link rel="next" title="{{ next.title|striptags }}" href="{{ next.link|e }}" />
  138     {%- endif %}
  139     {%- if prev %}
  140     <link rel="prev" title="{{ prev.title|striptags }}" href="{{ prev.link|e }}" />
  141     {%- endif %}
  142 {%- endblock %}
  143 {%- block extrahead %} {% endblock %}
  144   </head>
  145   <body>
  146     <div class="header"><h1>Roundup</h1>
  147       {%- if pagename != "search" %}
  148         <div id="searchbox" style="display: none">
  149           <form class="search" action="{{ pathto('search') }}" method="get">
  150             <input type="text" name="q" size="18" />
  151             <input type="submit" value="{{ _('Search') }}" />
  152             <input type="hidden" name="check_keywords" value="yes" />
  153             <input type="hidden" name="area" value="default" />
  154           </form>
  155         </div>
  156         <script type="text/javascript">$('#searchbox').show(0);</script>
  157       {%- endif %}
  158     </div>
  159     <div class="navigation">
  160       <div class="menu">
  161        {{ sidebar() }}
  162       </div>
  163     </div>
  164 {%- block content %}
  165     <div class="content">
  166        {{ relbar('related-top') }}
  167        {% block body %} {% endblock %}
  168        {{ relbar('related-bottom') }}
  169     </div>
  170   {%- endblock %}
  171 {%- block footer %}
  172     <div class="footer">
  173       {%- if hasdoc('copyright') %}
  174         {% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
  175       {%- else %}
  176         {% trans copyright=copyright|e %}&copy; Copyright {{ copyright }}.{% endtrans %}
  177       {%- endif %}
  178     </div>
  179 {%- endblock %}
  180   </body>
  181 </html>