|
|
@ -22,6 +22,25 @@ |
|
|
|
|
|
|
|
|
|
|
|
</head> |
|
|
|
</head> |
|
|
|
<body> |
|
|
|
<body> |
|
|
|
|
|
|
|
{% with messages = get_flashed_messages() %} |
|
|
|
|
|
|
|
{% if messages %} |
|
|
|
|
|
|
|
<ul class=flashes> |
|
|
|
|
|
|
|
{% for message in messages %} |
|
|
|
|
|
|
|
<li>{{ message }}</li> |
|
|
|
|
|
|
|
{% endfor %} |
|
|
|
|
|
|
|
</ul> |
|
|
|
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
{% endwith %} |
|
|
|
|
|
|
|
{% block body %}{% endblock %} |
|
|
|
|
|
|
|
<div> |
|
|
|
|
|
|
|
Microblog: |
|
|
|
|
|
|
|
<a href="{{ url_for('index') }}">Home</a> |
|
|
|
|
|
|
|
{% if current_user.is_anonymous %} |
|
|
|
|
|
|
|
<a href="{{ url_for('login') }}">Login</a> |
|
|
|
|
|
|
|
{% else %} |
|
|
|
|
|
|
|
<a href="{{ url_for('logout') }}">Logout</a> |
|
|
|
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
</div> |
|
|
|
<div class="container" align="center"> |
|
|
|
<div class="container" align="center"> |
|
|
|
|
|
|
|
|
|
|
|
<div class="jumbotron text-center" style="width: 50% ;"> |
|
|
|
<div class="jumbotron text-center" style="width: 50% ;"> |
|
|
|