1
0
mirror of https://github.com/Foltik/Shimapan synced 2024-11-14 16:59:57 -05:00
shimapan/public/views/panel.html

33 lines
1.7 KiB
HTML
Raw Normal View History

2017-10-11 20:26:07 -04:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<base href="/panel"/>
<title>Panel</title>
<link rel="stylesheet" href="/css/panel.min.css"/>
2017-10-20 16:46:14 -04:00
<script src="/js/panel.bundle.js"></script>
2017-10-11 20:26:07 -04:00
</head>
<body ng-app="shimapan-panel">
2017-10-14 15:16:58 -04:00
<div class="container">
<div class="sidebar" ng-controller="NavController">
2017-10-20 16:46:14 -04:00
<div class="sidebar-title" ng-click="$state.go('home')"><span>Shimapan</span></div>
2017-10-14 15:16:58 -04:00
<ul class="nav">
2018-01-13 17:58:50 -05:00
<li><a draggable="false" ui-sref="dashboard" ng-class="{active: $state.$current.name=='dashboard'}">Dashboard</a></li>
<li><a draggable="false" ui-sref="search" ng-class="{active: $state.$current.name=='search'}">Search</a></li>
<li><a draggable="false" ui-sref="api" ng-class="{active: $state.$current.name=='api'}">API</a></li>
<li><a draggable="false" ui-sref="invites" ng-class="{active: $state.$current.name=='invites'}">Invites</a></li>
<li ng-hide="!hasPermission('users.view')"><a draggable="false" ui-sref="users" ng-class="{active: $state.$current.name=='users'}">Users</a></li>
<li><a draggable="false" ui-sref="stats" ng-class="{active: $state.$current.name=='stats'}">Statistics</a></li>
<li><a draggable="false" ng-click="logout()">Logout</a></li>
2017-10-14 15:16:58 -04:00
</ul>
</div>
2017-10-18 16:59:41 -04:00
<div class="content" ng-class="{isOpen: open}">
<div class="button" ng-class="{isOpen: open}" ng-init="open = false" ng-click="open = !open">
<div class="button-inner"></div>
<span class="button-label">Menu</span>
</div>
2017-10-14 15:16:58 -04:00
<div class="view" ui-view></div>
</div>
</div>
2017-10-11 20:26:07 -04:00
</body>
</html>