-
Notifications
You must be signed in to change notification settings - Fork 54
/
index.html
50 lines (46 loc) · 1.89 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
45
46
47
48
49
50
<!DOCTYPE html>
<html>
<head>
<title>AppAuth-JS with Electron</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="node_modules/material-design-lite/material.min.css">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="root">
<div class="app-auth-card mdl-card mdl-shadow--2dp">
<section class="mdc-card__primary">
<div class="mdl-card__title">
<h1 class="mdl-card__title-text">AppAuth-JS</h1>
</div>
<div class="flex-container">
<img class="appauth-logo" src="assets/appauth_electron.svg" />
</div>
</section>
<section class="mdl-card__supporting-text">
This example shows how one can integrate AppAuthJS and Electron. For more information about AppAuthJS, see the
following link: <a href="https://github.com/openid/AppAuth-JS">https://github.com/openid/AppAuth-JS</a>.
</section>
<div class="mdl-card__actions mdl-card--border">
<button id="handle-sign-in" class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect">Placeholder</button>
<button id="handle-user-info" class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect">User Info</button>
</div>
</div>
<div id="user-info" class="app-auth-card mdl-card mdl-shadow--2dp">
<div class="flex-container">
<img id="user-profile-image">
<div id="user-name" class="mdl-typography--headline"></div>
</div>
</div>
<!-- snackbar -->
<div id="appauth-snackbar" class="mdl-js-snackbar mdl-snackbar">
<div class="mdl-snackbar__text"></div>
<button class="mdl-snackbar__action" type="button"></button>
</div>
</div>
<script src="node_modules/material-design-lite/material.min.js"></script>
<script type="text/javascript">
require('./built/app');
</script>
</body>
</html>