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.css"/>
|
|
|
|
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"/>
|
|
|
|
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono" rel="stylesheet"/>
|
2017-10-14 15:16:58 -04:00
|
|
|
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
|
2017-10-11 20:26:07 -04:00
|
|
|
|
|
|
|
<script src="/libs/angular/angular.min.js"></script>
|
|
|
|
<script src="/libs/angular-ui-router/release/angular-ui-router.min.js"></script>
|
|
|
|
|
2017-10-14 15:16:58 -04:00
|
|
|
<script src="/js/shimapan-panel/controllers/NavCtrl.js" defer></script>
|
|
|
|
<script src="/libs/app/shimapan-panel.min.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-14 17:06:43 -04:00
|
|
|
<div class="sidebar-title"><a ui-sref="home">Shimapan</a></div>
|
2017-10-14 15:16:58 -04:00
|
|
|
<ul class="nav">
|
2017-10-14 17:06:43 -04:00
|
|
|
<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>
|
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>
|