2016-12-02 07:38:54 +00:00
|
|
|
<div class="nav">
|
2016-12-18 12:56:06 +00:00
|
|
|
<div class="move_left">
|
|
|
|
<div class="move_right">
|
2016-12-02 07:38:54 +00:00
|
|
|
<ul>
|
2016-12-18 12:56:06 +00:00
|
|
|
<li class="menu_left menu_overview"><a href="/">Overview</a></li>
|
|
|
|
<li class="menu_left menu_forums"><a href="/forums/">Forums</a></li>
|
|
|
|
<li class="menu_left menu_topics"><a href="/">Topics</a></li>
|
|
|
|
<li class="menu_left menu_create_topic"><a href="/topics/create/">Create Topic</a></li>
|
2016-12-02 07:38:54 +00:00
|
|
|
{{ if .CurrentUser.Loggedin }}
|
2016-12-18 12:56:06 +00:00
|
|
|
<li class="menu_left menu_account"><a href="/user/edit/critical/">Account</a></li>
|
|
|
|
<li class="menu_left menu_account"><a href="/user/{{.CurrentUser.ID}}">Profile</a></li>
|
|
|
|
{{ if .CurrentUser.Is_Super_Mod}}<li class="menu_left menu_account"><a href="/panel/forums/">Panel</a></li>{{end}}
|
|
|
|
<li class="menu_left menu_logout"><a href="/accounts/logout?session={{.CurrentUser.Session}}">Logout</a></li>
|
2016-12-02 07:38:54 +00:00
|
|
|
{{ else }}
|
2016-12-18 12:56:06 +00:00
|
|
|
<li class="menu_left menu_register"><a href="/accounts/create/">Register</a></li>
|
|
|
|
<li class="menu_left menu_login"><a href="/accounts/login/">Login</a></li>
|
2016-12-02 07:38:54 +00:00
|
|
|
{{ end }}
|
|
|
|
</ul>
|
2016-12-18 12:56:06 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div style="clear: both;"></div>
|
2016-12-02 07:38:54 +00:00
|
|
|
</div>
|