This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

layout.html

By: a guest on Apr 28th, 2012  |  syntax: HTML  |  size: 0.51 KB  |  views: 27  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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>
clone this paste RAW Paste Data