Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/websdk/hatta/templates/base.html
blob: c5525d3cd19847702908c2bf51882e5736c1762d (plain)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{% extends 'layout.html' %}

{% block title %}
    {{ special_tile or title }} - {{ wiki.site_name }}
{% endblock %}

{% block links %}
    <link rel="stylesheet" type="text/css"
          href="{{ url(None, wiki.style_css) }}">
    <link rel="stylesheet" type="text/css"
          href="{{ url(None, wiki.pygments_css) }}">
    <link rel="shortcut icon" type="image/x-icon"
          href="{{ url(None, wiki.favicon_ico) }}">
    <link rel="alternate" type="application/rss+xml"
          title="{{ wiki.site_name }} (ATOM)"
          href="{{ url(None, wiki.atom) }}">
    {% if edit_url %}
        <link rel="alternate" type="application/wiki"
              href="{{ edit_url }}">
    {% endif %}
{% endblock %}

{% block scripts %}
    <script type="text/javascript"
            src="{{ url(None, wiki.scripts_js) }}"></script>
{% endblock %}

{% block logo %}
    {% if wiki.logo_page in page.storage %}
        <a id="hatta-logo"
           href="{{ url(wiki.front_page) }}"><img
             src="{{ download_url(wiki.logo_page) }}"
             alt="[{{ wiki.logo_page }}]"
        ></a>
    {% endif %}
{% endblock %}

{% block search %}
    <form action="{{ url(None, wiki.search) }}" id="hatta-search" method="GET"
      ><div><input
        id="hatta-search" name="q"><input
        class="button" type="submit" value="Search"
    ></div></form>
{% endblock %}

{% block menu %}
    <div id="hatta-menu">
    {% for part in page.menu() %}
        {{ part|safe }}
    {% endfor %}
    </div>
{% endblock %}

{% block page_title %}
    <h1>{{ special_title or title }}</h1>
{% endblock %}

{% block content %}{% for part in content %}{{ part|safe }}{% endfor %}{% endblock %}