forked from genomicsafrica/genomicsafrica.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmember_registration.html
116 lines (107 loc) · 2.72 KB
/
member_registration.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
---
layout: default
title: Member Registration
---
<style>
/* body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 20px;
} */
.form-container {
background-color: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
max-width: 600px;
margin: 20px auto;
}
.form-container h1 {
text-align: center;
color: #333;
}
.form label {
display: block;
margin-top: 10px;
color: #333;
}
.form input[type='text'],
.form input[type='email'],
.form input[type='url'],
.form input[type='submit'] {
width: 100%;
padding: 10px;
margin-top: 5px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
.form .container {
display: flex;
align-items: center;
margin-top: 10px;
}
.form .container label {
margin-right: 10px;
}
.form input[type='submit'] {
background-color: #4caf50;
color: white;
border: none;
cursor: pointer;
}
.form input[type='submit']:hover {
background-color: #45a049;
}
</style>
<div class="form-container">
<script type="text/javascript">
var submitted = false;
</script>
<iframe
name="hidden_iframe"
id="hidden_iframe"
style="display: none"
onload="if(submitted) {window.location='/registered';}"
></iframe>
<form
class="form"
target="hidden_iframe"
onsubmit="submitted=true;"
action="https://docs.google.com/forms/d/e/1FAIpQLSenCYMl_vX-L9XP4N1CwOPT5L89Pk_bICzKfPlqbhvfKHtgEw/viewform"
>
<label for="name">Name</label>
<input id="name" name="entry.287414696" type="text" required />
<label for="email">Email</label>
<input id="email" name="emailAddress" type="email" required />
<label for="institute">Institute</label>
<input id="institute" name="entry.173623171" type="text" />
<label for="website">Website</label>
<input id="website" name="entry.846401907" type="url" />
<label for="twitter">Twitter</label>
<input id="twitter" name="entry.1785595554" type="text" />
<label for="github">GitHub</label>
<input id="github" name="entry.804654090" type="text" />
<label for="interests">Interests</label>
<input id="interests" name="entry.1840383585" type="text" />
<label>Show email on Members page?</label>
<div class="container">
<label for="yes"
>Yes
<input
id="yes"
type="radio"
checked="checked"
name="entry.460495396"
value="Yes"
/>
</label>
<label for="no"
>No
<input id="no" type="radio" name="entry.460495396" value="No" />
</label>
</div>
<input type="submit" value="Register" />
</form>
</div>