-
Notifications
You must be signed in to change notification settings - Fork 1
/
classes.html
115 lines (115 loc) · 5.12 KB
/
classes.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
114
115
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="description" content="AWS Serverless Web App tutorial">
<meta name="keywords" content="HTML,CSS,XML,JavaScript">
<meta name="author" content="Amir Mersad">
<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.blue-red.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 src="./js/classes.js"></script>
<title>Math</title>
</head>
<body>
<script src="./js/classes.js"></script>
<script type="text/javascript" src="./js/classes.js"></script>
<!-- Always shows a header, even in smaller screens. -->
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-header">
<header class="mdl-layout__header">
<div class="mdl-layout__header-row">
<!-- Title -->
<span class="mdl-layout-title">Math</span>
<!-- Add spacer, to align navigation to the right -->
<div class="mdl-layout-spacer"></div>
<!-- Navigation. We hide it in small screens. -->
<nav class="mdl-navigation mdl-layout--large-screen-only">
<a class="mdl-navigation__link" href="./index.html">Home</a>
<a class="mdl-navigation__link" href="./register.html">Register</a>
<a class="mdl-navigation__link" href="./sign-in.html">Sign In</a>
<a class="mdl-navigation__link" href="./profile.html">Profile</a>
<a class="mdl-navigation__link" href="./update.html">update</a>
<a class="mdl-navigation__link" href="./sign-out.html">Sign Out</a>
<a class="mdl-navigation__link" href="./contact.html">Contact Us</a>
</nav>
</div>
</header>
<div class="mdl-layout__drawer">
<span class="mdl-layout-title">Math</span>
<nav class="mdl-navigation">
<a class="mdl-navigation__link" href="./index.html">Home</a>
<a class="mdl-navigation__link" href="./register.html">Register</a>
<a class="mdl-navigation__link" href="./sign-in.html">Sign In</a>
<a class="mdl-navigation__link" href="./profile.html">Profile</a>
<a class="mdl-navigation__link" href="./update.html">update</a>
<a class="mdl-navigation__link" href="./sign-out.html">Sign Out</a>
<a class="mdl-navigation__link" href="./contact.html">Contact Us</a>
</nav>
</div>
<main class="mdl-layout__content">
<div class="page-content">
<!-- Your content goes here -->
</div>
</main>
</div>
<!--Get below the nav menu at the top-->
<br><br><br>
<div class="container">
<div>
<h2>Update Classes</h2>
<div id='sign-in'>
</div>
</div>
</div>
<div style="text-align:center"">
<main class="mdl-layout__content">
<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">update your classes</h2>
</div>
<div class="mdl-card__supporting-text">
<form action="/action_page.php">
<div class="mdl-textfield mdl-js-textfield">
<input class="mdl-textfield__input" type="text" id="period1" />
<label class="mdl-textfield__label" for="username">Period 1</label>
</div>
<div class="mdl-textfield mdl-js-textfield">
<input class="mdl-textfield__input" type="text" id="period2" />
<label class="mdl-textfield__label" for="userpass">Period 2</label>
</div>
<div class="mdl-textfield mdl-js-textfield">
<input class="mdl-textfield__input" type="text" id="period3" />
<label class="mdl-textfield__label" for="userpass">Period 3</label>
</div>
<div class="mdl-textfield mdl-js-textfield">
<input class="mdl-textfield__input" type="text" id="period4" />
<label class="mdl-textfield__label" for="userpass">Period 4</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="getUserAttributes();">update</button>
<script src="./js/classes.js"></script>
</div>
</div>
</main>
</div>
<div class="container">
<div>
<div id='logged-in'>
<p></p>
</div>
</div>
</div>
<script></script>
</body>
</html>