File: layout.html

package info (click to toggle)
python-enaml 0.19.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,284 kB
  • sloc: python: 31,443; cpp: 4,499; makefile: 140; javascript: 68; lisp: 53; sh: 20
file content (33 lines) | stat: -rw-r--r-- 1,049 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{% extends '!layout.html' %}

{# Add github banner (from: https://github.com/blog/273-github-ribbons). #}
{% block header %}
  {{ super() }}
  {% if pagename == "index" %}
      <a href="https://github.com/nucleic/enaml"
         class="visible-desktop"><img
        style="position: absolute; top: 50px; right: 0; border: 0; z-index:1"
        src="https://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png"
        alt="Fork me on GitHub"></a>
  {% endif %}
{% endblock %}


{% block extrahead %}
  {{ super() }}
  <link rel="stylesheet" href="{{ pathto('_static/enamldoc.css', 1) }}" type="text/css" />
  <script type="text/javascript" src="{{ pathto('_static/enamldoc.js', 1) }}"></script>
{% endblock %}


{%- block sidebar1 %}
  {%- if sidebars %}
    <div class="{{ bs_span_prefix }}3">
      <div id="enamldoc-sidebar" class="enamldoc-sidenav" role="complementary">
        {%- for sidebartemplate in sidebars %}
          {%- include sidebartemplate %}
        {%- endfor %}
      </div>
    </div>
  {% endif %}
{% endblock %}