SHARE
TWEET

layout.html

a guest Apr 28th, 2012 42 Never
  1. <!doctype html>
  2. <title>Flaskr</title>
  3. <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='style.css') }}">
  4. <div class="page">
  5.   <h1>Flaskr</h1>
  6.   <div class="metanav">
  7.   {% if not session.logged_in %}
  8.     <a href="{{ url_for('login') }}">log in</a>
  9.   {% else %}
  10.     <a href="{{ url_for('logout') }}">log out</a>
  11.   {% endif %}
  12.   </div>
  13.   {% for message in get_flashed_messages() %}
  14.     <div class="flash">{{ message }}</div>
  15.   {% endfor %}
  16.   {% block body %}{% endblock %}
  17. </div>
RAW Paste Data
Top