mirror of
https://github.com/Foltik/Shimapan
synced 2024-11-28 05:26:44 -05:00
39 lines
2.0 KiB
HTML
39 lines
2.0 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">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="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> |