mirror of https://github.com/mitsuhiko/flask.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
642 B
18 lines
642 B
<!doctype html> |
|
<title>{% block title %}Welcome{% endblock %} | Flask OpenID Example</title> |
|
<link rel=stylesheet type=text/css href="{{ url_for('static', |
|
filename='style.css') }}"> |
|
<h1>Flask OpenID Example</h1> |
|
<ul class=navigation> |
|
<li><a href="{{ url_for('index') }}">overview</a> |
|
{% if g.user %} |
|
<li><a href="{{ url_for('edit_profile') }}">profile</a> |
|
<li><a href="{{ url_for('logout') }}">sign out [{{ g.user.name }}]</a> |
|
{% else %} |
|
<li><a href="{{ url_for('login') }}">sign in</a> |
|
{% endif %} |
|
</ul> |
|
{% for message in get_flashed_messages() %} |
|
<p class=message>{{ message }} |
|
{% endfor %} |
|
{% block body %}{% endblock %}
|
|
|