-
Notifications
You must be signed in to change notification settings - Fork 1
/
sign-in.html
113 lines (103 loc) · 4.13 KB
/
sign-in.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="description" content="Chzklkt - Keeping Your Chocolate in Day">
<meta name="keywords" content="HTML,CSS,XML,JavaScript">
<meta name="author" content="Matsuru Hoshi">
<meta name="date" content="Jan 2020">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--Google's MDL-->
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.pink-purple.min.css" />
<script defer src="https://code.getmdl.io/1.3.0/material.min.js"></script>
<!--Cognito & JavaScript-->
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script src="js/amazon-cognito-auth.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.596.0.min.js"></script>
<script src="./js/amazon-cognito-identity.min.js"></script>
<script src="./js/config.js"></script>
<script type="text/javascript" src="./js/sign-in.js"></script>
<title>Chzklkt</title>
</head>
<body>
<style>
body {
background-image: url('./images/cinamon-chocolate.jpg');
background-attachment: fixed;
background-size: cover;
}
</style>
<!-- Simple header with fixed tabs. -->
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-header mdl-layout--fixed-tabs">
<header class="mdl-layout__header">
<div class="mdl-layout__header-row">
<!-- Title -->
<img src="./images/chzklkt-logo.png" alt="Many chocolates" style="width:130px;height:52px;" onclick="window.location.href = './index.html';">
<span class="mdl-layout-title"></span>
</div>
<!-- Tabs -->
<!--<div class="mdl-layout__tab-bar mdl-js-ripple-effect">
<!--<a href="#fixed-tab-1" class="mdl-layout__tab is-active">Tab 1</a>-->
<!--<a href="./my-chocolates.html" class="mdl-layout__tab">My Chocholates</a>
<a href="./discover.html" class="mdl-layout__tab">Discover</a>
</div>-->
</header>
<div class="mdl-layout__drawer">
<span class="mdl-layout-title">Chzklkt</span>
<nav class="mdl-navigation">
<a class="mdl-navigation__link" href="./sign-out.html">Sign Out</a>
</nav>
</div>
<main class="mdl-layout__content">
<!--<section class="mdl-layout__tab-panel is-active" id="fixed-tab-1">
<div class="page-content"><!-- Your content goes here</div>
</section>-->
<section class="mdl-layout__tab-panel" id="fixed-tab-2">
<div class="page-content"><!-- Your content goes here --></div>
</section>
<section class="mdl-layout__tab-panel" id="fixed-tab-3">
<div class="page-content"><!-- Your content goes here --></div>
</section>
</main>
</div>
<!--Get below the nav menu at the top-->
<br><br><br><br><br><br>
<div class="container" style="text-align:center">
<div>
<h2>Sign In</h2>
<div id='sign-in'>
</div>
</div>
</div>
<center>
<div class="mdl-card mdl-shadow--6dp">
<div class="mdl-card__title mdl-color--primary mdl-color-text--white">
<h2 class="mdl-card__title-text">Sign in</h2>
</div>
<div class="mdl-card__supporting-text">
<form action="#">
<div class="mdl-textfield mdl-js-textfield">
<input class="mdl-textfield__input" type="text" id="inputUsername" />
<label class="mdl-textfield__label" for="username">Email Address</label>
</div>
<div class="mdl-textfield mdl-js-textfield">
<input class="mdl-textfield__input" type="password" id="inputPassword" />
<label class="mdl-textfield__label" for="userpass">Password</label>
</div>
</form>
</div>
<div class="mdl-card__actions mdl-card--border">
<button class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect" onclick="signInButton();">Log in</button>
</div>
</div>
</center>
<div class="container" style="text-align:center">
<div>
<div id='logged-in'>
<p></p>
</div>
</div>
</div>
</body>
</html>