-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
117 lines (102 loc) · 4.43 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Local Storage Test</title>
<meta name="description" content="A Local storage form and display">
<meta name="author" content="Matthew Laver">
<link rel="stylesheet" href="css/style.css" type="text/css" />
</head>
<body>
<a id="admin" href="#"></a>
<div id="container">
<span id="alert" style="display:none;"></span>
<span id="logo"></span>
<header>
<h1>Sign Up <span>Now</span></h1>
</header>
<div id="main">
<!-- ========== the Form ============================== -->
<form method="post" id="subForm">
<div class="input">
<input tabindex="1" type="email" name="email" id="email" placeholder="Email" required>
</div>
<div class="input">
<input tabindex="2" type="text" name="firstname" id="firstname" placeholder="First Name" required>
</div>
<div class="input">
<input tabindex="3" type="text" name="lastname" id="lastname" placeholder="Last Name" required>
</div>
<div class="input">
<button type="submit" id="submit" class="orange">Subscribe</button>
<!-- <input tabindex="20" type="submit" value="Subscribe" id="submit"> -->
</div>
<div id="checkboxes">
<p><input tabindex="4" type="checkbox" value="True" name="natvis" id="natvis" checked="checked">
<label for="natvis">National Vision</label><br /></p>
<p><input tabindex="5" type="checkbox" value="True" name="london" id="london">
<label for="london">London</label></p>
<p><input tabindex="6" type="checkbox" value="True" name="eastmid" id="eastmid">
<label for="eastmid">East Midlands</label></p>
<p><input tabindex="7" type="checkbox" value="True" name="westmid" id="westmid">
<label for="westmid">West Midlands</label></p>
<p><input tabindex="8" type="checkbox" value="True" name="manchester" id="manchester">
<label for="manchester">Manchester</label></p>
<p><input tabindex="9" type="checkbox" value="True" name="mersey" id="mersey">
<label for="mersey">Merseyside</label></p>
<p><input tabindex="10" type="checkbox" value="True" name="swales" id="swales">
<label for="swales">South Wales</label></p>
<p><input tabindex="11" type="checkbox" value="True" name="neast" id="neast">
<label for="neast">North East</label></p>
<p><input tabindex="12" type="checkbox" value="True" name="yorks" id="yorks">
<label for="yorks">Yorkshire</label></p>
<p><input tabindex="13" type="checkbox" value="True" name="humb" id="humb">
<label for="humb">Humber</label></p>
</div>
<a id="more" href="#" style="display:block;clear:both;text-align:right; margin-right: 54px; color: #fff; text-decoration: none;padding-top:20px;padding-bottom:5px;"><span>More</span><span style="display:none;">Less</span></a>
<div id="address">
<div class="input">
<input tabindex="15" type="text" name="address1" id="address1" placeholder="Address Line 1" >
</div>
<div class="input">
<input tabindex="16" type="text" name="address2" id="address2" placeholder="Address Line 2" >
</div>
<div class="input">
<input tabindex="17" type="text" name="city" id="city" placeholder="City" >
</div>
<div class="input">
<input tabindex="18" type="text" name="pcode" id="pcode" placeholder="Post Code" >
</div>
<div class="input">
<select name="pack" id="pack">
<option>London</option>
<option>East Midlands</option>
<option>West Midlands</option>
<option>Manchester</option>
<option>Merseyside</option>
<option>South Wales</option>
<option>North East</option>
<option>Yorkshire</option>
<option>Humber</option>
</select>
</div>
</div>
</form>
<div style="clear:both;"
</div>
<div id="adminScreen" style="display:none;">
<h2>Admin Options</h2>
<p>Please be careful here, you don't want to lose all your data!</p>
<p>
<a class="orange" type="button" id="download" download="contacts.csv" href="#">Download CSV</a>
<button class="red" type="button" id="clear">Clear All</button>
<button class="orange" type="button" id="cancel">Cancel</button>
</p>
</div>
<footer>
</footer>
</div> <!--! end of #container -->
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/form.js"></script>
</body>
</html>