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

42 lines
1.6 KiB
HTML

{% extends 'ssmain/base.html' %}
{#
Society Self-Service
Copyright © 2018-2019 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">
Bulletin
<div class="menu">
<a class="{% if request.resolver_match.url_name == 'bulletin_list' %}active {% endif %}item" href="{{ url('bulletin_list') }}">Your bulletin items</a>
<a class="{% if request.resolver_match.url_name == 'bulletin_new' %}active {% endif %}item" href="{{ url('bulletin_new') }}">Create new bulletin item</a>
<a class="{% if request.resolver_match.url_name == 'bulletin_preview' %}active {% endif %}item" href="{{ url('bulletin_preview') }}">Preview the bulletin</a>
</div>
</div>
</div>
</div>
<div class="twelve wide column">
{% block maincontent %}{% endblock %}
</div>
</div>
{% endblock %}