diff --git a/example/templates/index.html b/example/templates/index.html index 361d4655..48612ccc 100644 --- a/example/templates/index.html +++ b/example/templates/index.html @@ -4,17 +4,19 @@

Overview

{% if g.user %}

Hello {{ g.user.screen_name }}! Wanna tweet something? +

+

{% if tweets %}

Your Timeline

{% endif %} @@ -22,8 +24,10 @@

Your Timeline

Sign in to view your public timeline and to tweet from this example application. +

sign in +

{% endif %} {% endblock %} diff --git a/example/templates/layout.html b/example/templates/layout.html index 6c9649d0..b27b3530 100644 --- a/example/templates/layout.html +++ b/example/templates/layout.html @@ -1,17 +1,22 @@ + {% block title %}Welcome{% endblock %} | Flask OAuth Example + +

Flask OAuth Example

{% for message in get_flashed_messages() %} -

{{ message }} +

{{ message }}

{% endfor %} {% block body %}{% endblock %} + +