woodpecker/server/app/views/drawer.html
2014-07-09 00:46:15 -07:00

11 lines
No EOL
682 B
HTML

<div onclick="document.getElementById('drawer-checkbox').checked=false;">
<ul>
<li><a href="/"><i class="fa fa-dashboard"></i> Dashboard</a></li>
<li><a href="/account/repos"><i class="fa fa-list"></i> Repositories</a></li>
<li><a href="/account/profile"><i class="fa fa-user"></i> Account</a></li>
<li ng-if="user.admin == true"><span class="divider"></span></li>
<li ng-if="user.admin == true"><a href="/admin/users"><i class="fa fa-users"></i> Users</a></li>
<li ng-if="user.admin == true"><a href="/admin/settings"><i class="fa fa-cog"></i> Settings</a></li>
</ul>
<a href="/logout" class="signout" target="_self">Signout <i class="fa fa-sign-out"></i></a>
</div>