society-self-service/sstreasury/jinja2/sstreasury/base.html

48 lines
1.7 KiB
HTML

{% extends 'ssmain/base.html' %}
{#
Society Self-Service
Copyright © 2018 Yingtong Li (RunasSudo)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
#}
{% block content %}
<div class="ui grid">
{# side menu #}
<div class="four wide column">
<div class="ui vertical fluid menu">
<div class="item">
Budgets
<div class="menu">
<a class="{% if request.resolver_match.url_name == 'budget_list' %}active {% endif %}item" href="{{ url('budget_list') }}">Your budgets</a>
<a class="{% if request.resolver_match.url_name == 'budget_new' %}active {% endif %}item" href="{{ url('budget_new') }}">Create new budget</a>
</div>
</div>
<div class="item">
Reimbursements
<div class="menu">
<a class="{% if request.resolver_match.url_name == 'claim_list' %}active {% endif %}item" href="{{ url('claim_list') }}">Your reimbursement claims</a>
<a class="item">Create new claim</a>
</div>
</div>
</div>
</div>
<div class="twelve wide column">
{% block maincontent %}{% endblock %}
</div>
</div>
{% endblock %}