File: base.html

package info (click to toggle)
python-wikkid 0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 728 kB
  • sloc: python: 3,051; makefile: 12
file content (53 lines) | stat: -rw-r--r-- 1,662 bytes parent folder | download | duplicates (2)
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html lang="en">
<head>
  {% block head %}
  <title>{% block title %}{% endblock %} - Wikkid</title>

  <link type="text/css" rel="stylesheet" media="screen, print"
        href="{{ request.script_name }}/static/default.css" />
  <link rel="shortcut icon" href="{{ request.script_name }}/favicon.ico" />
  {% endblock %}
</head>
<body>
<div id="container">
  <div id="header">
    <div class="wikkidlogo"><a href="{{ request.script_name }}/"><strong>Wikkid Wiki</strong></a></div>
    <div id="logged">
      {% if view.user %}

        <div class="user-thumbnail"><img class="gravatar" src="{{ view.user.gravatar }}" /></div>
        <strong>{{ view.user.display_name }}</strong>
      {% else %}
        <div id="login">
            <a href="#">Have an account?</a> <a href="#"><img src="images/btn-login.gif" alt="login" /></a>
        </div>
      {% endif %}
    </div>
  </div>
  <div id="navbar">
    <ul>
        <li>{% block commands %}{% endblock %}</li>
    </ul>
  <div class="breadcrumbs">
    {% for crumb in view.breadcrumbs %}
      {% if loop.last %}
        <span class="crumb">{{ crumb.title }}</span>
      {% else %}
        <a href="{{ crumb.path }}" class="crumb">{{ crumb.title }}</a> &raquo;
      {% endif %}
    {% endfor %}
  </div>
  </div>
  <div id="main">
    {% block content %}{% endblock %}
  </div>
  {% block footer %}{% endblock %}
  <div id="footer">
    &copy; 2010-2021
    <a href="https://launchpad.net/~wikkid">Wikkid Hackers</a>,
    Licensed under <a href="https://www.gnu.org/licenses/agpl-3.0.en.html">the GNU AGPLv3 or later</a>.
  </div>
</div>
</body>
</html>