This repository has been archived by the owner on Apr 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
44 lines (43 loc) · 2.01 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!doctype html>
<html lang="en" ng-app="apolloPermissions">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Permission Management Site for Apollo</title>
<link rel="stylesheet" type="text/css" href="build/main.css"/>
</head>
<body>
<div ng-controller="NavCtrl" layout="column" style="height:500px" ng-cloak>
<md-toolbar ng-cloak>
<div class="md-toolbar-tools">
<h2>
<span class="md-title"><a href="#/">Permission Management Site for Apollo</a></span>
</h2>
<span flex></span>
<span ng-if="nav.userData.username">
Connected to <code>{{ nav.userData.apollo_url }}</code>
</span>
<md-menu md-position-mode="target-right target" md-offset="0 55" ng-if="nav.userData.username">
<md-button aria-label="Open user menu" class="md-icon-button" ng-click="$mdOpenMenu($event)" style="padding:0" layout="row" layout-align="center center">
<img md-menu-origin gravatar-src="nav.userData.email" style="width:100%; border-radius: 50%">
</md-button>
<md-menu-content width="2">
<md-menu-item>
<md-button ng-click="go('/logout')">
<span md-menu-align-target>Logout</span>
</md-button>
</md-menu-item>
</md-menu-content>
</md-menu>
<md-button aria-label="Login" ng-if="!nav.userData.username" ng-hide="nav.show_login_button == false" ng-click="go('/login')" class="md-secondary">
Login
</md-button>
</div>
</md-toolbar>
<div class="view-container">
<div ng-view class="view-frame"></div>
</div>
</div>
<script type="text/javascript" src="build/app.js" charset="utf-8"></script>
</body>
</html>