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

39 lines
1.9 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<base href="/panel"/>
<title>Panel</title>
<link rel="stylesheet" href="/css/panel.css"/>
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono" rel="stylesheet"/>
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<script src="/libs/angular/angular.min.js"></script>
<script src="/libs/angular-ui-router/release/angular-ui-router.min.js"></script>
<script src="/js/shimapan-panel/controllers/NavCtrl.js" defer></script>
<script src="/libs/app/shimapan-panel.min.js"></script>
</head>
<body ng-app="shimapan-panel">
<div class="container">
<div class="sidebar" ng-controller="NavController">
<div class="sidebar-title"><a ui-sref="home">Shimapan</a></div>
<ul class="nav">
<li><a ui-sref="dashboard" ng-class="{active: $state.$current.name=='dashboard'}">Dashboard</a></li>
<li><a ui-sref="search" ng-class="{active: $state.$current.name=='search'}">Search</a></li>
<li><a ui-sref="api" ng-class="{active: $state.$current.name=='api'}">API</a></li>
<li><a ui-sref="invites" ng-class="{active: $state.$current.name=='invites'}">Invites</a></li>
<li ng-hide="!hasPermission('users.view')"><a ui-sref="users" ng-class="{active: $state.$current.name=='users'}">Users</a></li>
<li><a ui-sref="stats" ng-class="{active: $state.$current.name=='stats'}">Statistics</a></li>
<li><a ui-sref="" ng-click="logout()">Logout</a></li>
</ul>
</div>
<div class="content isOpen" ng-class="{isOpen: open}">
<a class="button" ng-init="open = true" ng-click="open = !open"></a>
<div class="view" ui-view></div>
</div>
</div>
</body>
</html>