13 lines
391 B
HTML
13 lines
391 B
HTML
|
{% extends "base.html" %}
|
||
|
|
||
|
{% block content %}
|
||
|
|
||
|
<h2 class="subtitle">
|
||
|
你好, {{ username }}。
|
||
|
{% if not is_authenticated %}
|
||
|
<br> <br>
|
||
|
<a href="{{ url_for('auth.login') }}"><button type="button" class="btn btn-primary">登录</button></a>
|
||
|
<a href="{{ url_for('auth.signup') }}"><button type="button" class="btn btn-default">注册</button></a>
|
||
|
{% endif %}
|
||
|
</h2>
|
||
|
{% endblock %}
|