1
0
mirror of https://github.com/Foltik/Shimapan synced 2024-11-10 23:53:31 -05:00
shimapan/public/views/panel.html

39 lines
2.0 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.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">
<div class="sidebar-title">Shimapan</div>
<ul class="nav">
<li><a href="/panel" ng-class="{active: $state.$current.name=='/panel'}">Dashboard</a></li>
<li><a href="/panel/search" ng-class="{active: $state.$current.name=='/panel/search'}">Search</a></li>
<li><a href="/panel/api" ng-class="{active: $state.$current.name=='/panel/api'}">API</a></li>
<li><a href="/panel/invites" ng-class="{active: $state.$current.name=='/panel/invites'}">Invites</a></li>
<li ng-hide="!hasPermission('users.view')"><a href="/panel/users" ng-class="{active: $state.$current.name=='/panel/users'}">Users</a></li>
<li><a href="/panel/stats" ng-class="{active: $state.$current.name=='/panel/stats'}">Statistics</a></li>
<li><a href="" ng-click="goLogout()">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>
2017-10-11 20:26:07 -04:00
</body>
</html>