{% extends 'base.html' %}
{% block tittle %}不夜城考试中心{% endblock tittle %}
{% block body %}
    <h1>不夜城考试中心</h1>
    {% if user.is_active %}
        <p>欢迎,{{ user.username }}</p>
        <a href="/exam/logout">退出</a>
        <a href="/exam/question">开始答题</a>
    {% else %}
        <a href="/exam/login">登陆</a>
        <a href="/exam/register">注册</a>
    {% endif %}
{% endblock body %}

