File: base.html

package info (click to toggle)
flask-peewee 3.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,100 kB
  • sloc: javascript: 9,322; python: 4,053; makefile: 132; sh: 16
file content (21 lines) | stat: -rw-r--r-- 760 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!doctype html>
<title>Tweepee</title>
<link rel=stylesheet type=text/css href="{{ url_for('static', filename='style.css') }}">
<div class=page>
  <h1><a href="{{ url_for('homepage') }}">Tweepee</a></h1>
  <div class=metanav>
  {% if not session.logged_in %}
    <a href="{{ url_for('auth.login') }}">log in</a>
    <a href="{{ url_for('join') }}">join</a>
  {% else %}
    <a href="{{ url_for('public_timeline') }}">public timeline</a>
    <a href="{{ url_for('create') }}">create</a>
    <a href="{{ url_for('auth.logout') }}">log out</a>
  {% endif %}
  </div>
  {% for message in get_flashed_messages() %}
    <div class=flash>{{ message }}</div>
  {% endfor %}
  <h2>{% block content_title %}{% endblock %}</h2>
  {% block content %}{% endblock %}
</div>