| 1 |
<!doctype html> |
| 2 |
<title>{% block title %}Welcome{% endblock %} | Flask OpenID Example</title> |
| 3 |
<link rel=stylesheet type=text/css href="{{ url_for('static', |
| 4 |
filename='style.css') }}"> |
| 5 |
<h1>Flask OpenID Example</h1> |
| 6 |
<ul class=navigation> |
| 7 |
<li><a href="{{ url_for('index') }}">overview</a> |
| 8 |
{% if g.user %} |
| 9 |
<li><a href="{{ url_for('edit_profile') }}">profile</a> |
| 10 |
<li><a href="{{ url_for('logout') }}">sign out [{{ g.user.name }}]</a> |
| 11 |
{% else %} |
| 12 |
<li><a href="{{ url_for('login') }}">sign in</a> |
| 13 |
{% endif %} |
| 14 |
</ul> |
| 15 |
{% for message in get_flashed_messages() %} |
| 16 |
<p class=message>{{ message }} |
| 17 |
{% endfor %} |
| 18 |
{% block body %}{% endblock %} |