DotaNoobs main site.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
1.6 KiB

{% for endpoint, title in [
('index', 'Home'),
('friends', 'Friends'),
('list_events', 'Events'),
('teamspeak', 'TS3 Stats'),
] %}
<li{% if endpoint == request.endpoint %} class='uk-active' {% endif %}>
<a href="{{ url_for(endpoint) }}">{{ title }}</a>
{% endfor %}
<li class="uk-parent">
<a href="#">Stream Stats</a>
<ul class="uk-nav-sub">
<li><a href="">Potato_Bot</a></li>
<li><a href="">Cider_Bot</a></li>
<li class="uk-nav-divider"></li>
<li class="uk-nav-header">Social</li>
<li><a href=""><i class="uk-icon-group"> Board</i></a></li>
<li><a href=""><i class="uk-icon-youtube"> YouTube</i></a></li>
<li><a href=""><i class="uk-icon-comments-alt"> IRC Chat</i></a></li>
<li class="uk-nav-divider"></li>
{% if not g.user%}
<li><a href="{{ url_for('login') }}"><i class="uk-icon-off"> Login</i></a></li>
<li><a href="{{ url_for('login') }}"><i class="uk-icon-cog"> Register</i></a></li>
{% else %}
<li {% if request.endpoint == 'user_profile' %} class='uk-active' {% endif %}><a href="{{ url_for('user_profile', }}"><i class="uk-icon-home"> Profile</i></a></li>
<li><a href="{{ url_for('user_settings', }}"><i class="uk-icon-cog"> Settings</i></a></li>
<li><a href="{{ url_for('logout') }}"><i class="uk-icon-off"> Logout</i></a></li>
{% endif %}