forked from danielmarcgardner/gHoodies
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
146 lines (139 loc) · 6.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
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.8/css/materialize.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Dosis|Great+Vibes|Tangerine|Josefin+Slab" rel="stylesheet">
<link rel="stylesheet" href="css/style.css">
<title>gHoodies</title>
</head>
<body>
<nav>
<div class="nav-wrapper #f57c00 orange darken-1">
<a href="#" class="brand-logo nav-text">gHoodies</a>
<ul id="nav-mobile" class="right">
<li><a href="#!" id="load-requests" class="nav-text">Submit Requests</a></li>
<li><a href="#!" id="load-results" class="nav-text">View Requests</a></li>
</ul>
</div>
</nav>
<main>
<div class="container" id="content">
<div class="row">
</div>
<div class="row">
</div>
<div class="row" id="name-form-row">
<form class="col s12" id="name-form">
<div class="row">
<div class="input-field col s6">
<input placeholder="Enter your full first name" id="first_name" type="text" class="validate">
<label for="first_name">First Name</label>
</div>
<div class="input-field col s6">
<input placeholder="Enter your last name" id="last_name" type="text" class="validate">
<label for="last_name">Last Name</label>
</div>
</div>
<div class="row center col s12">
<input type="submit" class="btn-large waves-effect waves-light grey valign-wrapper" id="submit-name" value="Submit">
</div>
</form>
</div>
<div class="row" id="post-row" style="display: none">
<form class="col s12" id="post-form" action="https://warm-hamlet-87053.herokuapp.com/students/" method="post" style="">
<div class="input-field col s6">
<input placeholder="Enter your full first name" id="first_name" type="text" class="validate" name="firstName">
<label for="first_name">First Name</label>
</div>
<div class="input-field col s6">
<input placeholder="Enter your last name" id="last_name" type="text" class="validate" name="lastName">
<label for="last_name">Last Name</label>
</div>
<div class="input-field col s12">
<input id="email" type="email" class="validate" name="email">
<label for="email">Email</label>
</div>
<div class="input-field col s12" id="cohort-input" name="cohort_id">
<select id="cohort-select" name="cohort_id">
<option value="" disabled selected>Select your cohort</option>
</select>
</div>
<div class="input-field col s12" id="size-input" name="size">
<select id="size-select" name="size">
<option value="" disabled selected>Select your size</option>
<option value="Small">Small</option>
<option value="Medium">Medium</option>
<option value="Large">Large</option>
<option value="XL">Extra Large</option>
<option value="XXL">XX Large</option>
</select>
</div>
<div class="row center col s12">
<input type="submit" class="btn-large waves-effect waves-light grey valign-wrapper" id="submit-post" value="Submit">
</div>
</form>
</div>
<div class="row" id="update-row" style="display: none">
<form class="col s12" id="update-form" action="" method="patch" style="">
<div class="input-field col s12" id="update-cohort-input">
<select id="update-cohort-select">
<option value="" disabled selected>Select your cohort</option>
</select>
</div>
<div class="input-field col s12" id="update-size-input">
<select id="update-size-select">
<option value="" disabled selected>Select your size</option>
<option value="Small">Small</option>
<option value="Medium">Medium</option>
<option value="Large">Large</option>
<option value="XL">Extra Large</option>
<option value="XXL">XX Large</option>
</select>
</div>
<div class="input-field col s6" style="display: none">
<input placeholder="Enter your full first name" id="id-input" type="text" name="id">
</div>
<div class="row center col s12">
<input type="submit" class="btn-large waves-effect waves-light grey valign-wrapper" id="submit-update" value="Update">
</div>
</form>
</div>
<div class="row" id="table-row" style="display: none">
<form class="col s12" id="report-form" style="">
<div class="input-field col s12" id="report-cohort-input">
<select id="report-cohort-select">
<option value="" disabled selected>Select a cohort</option>
</select>
</div>
<div class="row center col s12">
<input type="submit" class="btn-large waves-effect waves-light grey valign-wrapper" id="submit-report" value="View Report">
</div>
</form>
<div class="col s12" id="table-col">
</div>
</div>
</div>
</main>
<footer class="page-footer #f57c00 orange darken-1">
<div class="row">
<div class="col s6">
<ul>
<li><a class="grey-text text-lighten-3 left" href="index.html">Home</a></li>
</ul>
</div>
<div class="col s6">
<h5 class="right">gHoodies</h5><br><br>
</div>
</div>
<div class="footer-copyright #f57c00 orange darken-2" id="footer-copyright">
© 2017 Swag Hackers
</div>
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/fetch/2.0.2/fetch.js"></script>
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.0/js/materialize.js"></script>
<script type='text/javascript' src="js/script.js"></script>
</body>
</html>