view frontend/mfrontend/templates/layout.html @ 9:9a0a9fa7f91d

Dodałem prototyp listy zadań w systemie
author Michał Rudowicz <michal.rudowicz@fl9.eu>
date Mon, 28 Feb 2011 19:25:51 +0100
parents d86794939fe4
children 58a993029d9f
line wrap: on
line source

 <!doctype html>
<title>NASZA APLIKACJA!</title>
<div class=page>
  <h1>NO HEJ</h1>
  <div class=metanav>
  {% if not session.logged_in %}
  <a href="{{ url_for('frontend.login') }}">Zaloguj się</a> | 
  <a href="{{ url_for('frontend.register') }}">Załóż konto</a>
  {% else %}
  <a href="{{ url_for('frontend.logout') }}">Wyloguj się</a> | 
  <a href="{{ url_for('jobcontrol.index') }}">Lista zadań</a>
  {% endif %}
  </div>
  {% for message in get_flashed_messages() %}
    <div class=flash>{{ message }}</div>
  {% endfor %}
  {% block body %}{% endblock %}
</div>