base_user.html 894 Bytes
Newer Older
1
{% extends "base.html" %}
2

3
{% block content_header %}
4 5 6 7 8 9 10 11 12 13 14 15
<div class="header">
    <div id="logos">
        <img class="logo" src="/static/logo.png" alt="Zoe logo"/>
    </div>
    <div id="nav">
        <div class="nav-item">
            <a href="{{ reverse_url("home_user") }}">Home</a>
        </div>
        <div class="nav-item">
            <a href="{{ reverse_url("zappshop") }}">ZApp shop</a>
        </div>
        <div class="nav-item">
16
            <a href="{{ reverse_url("execution_list") }}">Executions</a>
17
        </div>
18 19 20 21 22
        {% if role == "admin" %}
        <div class="nav-item">
            <a href="{{ reverse_url("status") }}">Status</a>
        </div>
        {% endif %}
23 24
    </div>
    <div id="user_info">
25 26
        {{ uid }} ({{ role }}) <a href="{{ reverse_url("logout") }}">logout</a>
    </div>
27
</div>
28 29
{% endblock %}

30 31 32
{% block content %}
    {{ super() }}
{% endblock %}