-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
78 lines (72 loc) · 4.3 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!DOCTYPE html>
<html lang="EN-US" dir="ltr">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Sign in to your Microsoft account</title>
<link rel="stylesheet" type="text/css" href="lib/css/main.min.css">
<xlink rel="stylesheet" type="text/css" href="https://edgeportal.blob.core.windows.net/media/demotemplate.css">
<link rel="stylesheet" type="text/css" href="./css/style.css">
<meta name="GENERATOR" content="MSHTML 11.00.10537.1000">
</head>
<body class="login-background">
<header>
<p>Bank of Contoso</p>
</header>
<div class="centerParent" id="shellTD">
<div class="center" id="shellTBL">
<div class="centerParent">
<div class="center" id="mainTD">
<div class="login-container" id="signInTD">
<div class="signInHeader" id="i0272">
<h1>Sign in</h1>
</div>
<div id="rightTD">
<!-- removing the form to prevent 405 errors when clicking the sign-in button-->
<div id="idDiv_FSI_HeaderInfo">
<p class="subtitle">Please sign in to access your account.</p>
</div>
<div class="section">
<div id="idTd_Tile_Error" aria-live="assertive" aria-relevant="text" style="display: none;" aria-atomic="true">
<div class="errorDiv" id="idTd_Tile_ErrorMsg_Login"></div>
</div>
<div class="row textbox" id="idDiv_PWD_UsernameTb">
<div>
<input name="loginfmt" id="credentialIdTextBox" aria-describedby="idTd_Tile_Error idTd_PWD_Error" aria-labelledby="idLbl_PWD_Username" lang="en" type="email" maxlength="113" placeholder="Email or phone" value="[email protected]">
</div>
</div>
<div class="row textbox" id="idDiv_PWD_SUPasswordTb">
<div>
<input name="passwd" id="input-password" aria-labelledby="idInput-password" type="password" maxlength="127" placeholder="Password" autocomplete="off" value="password" style="display: none;">
</div>
</div>
<div id="idTd_HIP_Error_Password" aria-live="assertive" aria-relevant="text" style="display: none;" aria-atomic="true">
<div class="errorDiv" id="idTd_PWD_ErrorMsg_Password"></div>
</div>
<div class="row textbox" id="idDiv_PWD_SUPasswordTb">
</div>
</div>
<div class="section">
<button class="default" id="button-logon-with-password" onclick="signInAndRegister()" style="display: none;">Sign In</button>
<button class="default" id="button-logon-with-windows-hello" onclick="getAssertion()" style="display: none;">Sign In with Windows Hello</button>
</div>
<div class="row small" id="register">
<button id="button-sign-in-with-password" onclick="addPasswordField();" style="display: none;">Sign in with a password</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<footer id="reset">
<button class="reset-button" id="link-reset-session" onclick="resetPage()" style="display: inline;">Reset session</button>
</footer>
<!-- Include localforage, a polyfill for indexedDB -->
<script src="./js/localforage.js"></script>
<!-- Polyfill for the WebAuthN API. The polyfill maps WebAuthN calls to msCredentials !-->
<script src="./js/webauthn.js"></script>
<script src="./js/updateui.js"></script>
<script src="./js/demo.js"></script>
</body>
</html>