-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathfeedback.html
192 lines (156 loc) · 7.16 KB
/
feedback.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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta content="StartupStorm is a club for aspiring entrepreneurs, programmers and designers at the University of British Columbia." name="description">
<meta content="StartupStorm,UBC,entrepreneurs,programmers,designers,software,technology,tech,hackathon" name="keywords">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>StartupStorm</title>
<link href="css/bulma.css" rel="stylesheet" type="text/css">
<link href="css/style.css" rel="stylesheet" type="text/css">
<link href="css/aos.css" rel="stylesheet" type="text/css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!-- Favicons -->
<link rel="apple-touch-icon" sizes="57x57" href="img/favicons/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="img/favicons/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="img/favicons/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="img/favicons/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="img/favicons/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="img/favicons/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="img/favicons/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="img/favicons/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="img/favicons/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="img/favicons/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="img/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="img/favicons/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="img/favicons/favicon-16x16.png">
<link rel="manifest" href="img/favicons/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="img/favicons/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
</head>
<body style="background-color: #212D86;">
<div class="navbar" id="main-navbar">
<span class="link" onclick="window.open('index.html','_self')"><img class="logo" src="img/nav_logo.png"></span>
<div class="align-items-right" id="link-container">
<p hidden="">    </p>
<!-- Unicode spaces to push first link off navbar (for formatting purposes) -->
<p hidden="">    </p>
<!-- Unicode spaces to push first link off navbar (for formatting purposes) -->
<a href="index.html">Home</a> <!-- <a href="team.html">Our Team</a> -->
<a href="contact-us.html">Contact Us</a> <span class="link" onclick="window.open('https://www.facebook.com/StartupStorm/')"><img class="social-icon first" src="img/facebook_icon.svg"></span> <span class="link" onclick="window.open('https://twitter.com/UBCStartupStorm')"><img class="social-icon" src="img/twitter_icon.svg"></span> <span class="link" onclick="window.open('https://www.instagram.com/startupstorm/')"><img class="social-icon last" src="img/ig_icon.svg"></span>
</div>
<a class="hamburger-menu" href="javascript:void(0);" onclick="expandMenu()"><img src="img/hamburger_menu.png"></a>
</div>
<div id="feedback-panel">
<div class="columns">
<div class="column is-offset-3">
<div class="container">
<div class="tile is-parent">
<article class="tile is-child">
<h1 data-aos="fade">Submit your feedback</h1>
<div class="content" data-aos="fade">
<p>Thank you for attending our event! If you'd like, you can provide some feedback below to let us know how we can improve for next time!</p>
</div>
</article>
</div>
</div>
</div>
</div>
<div class="columns" data-aos="slide-up">
<div class="column is-offset-3">
<div class="container">
<form id="feedback-form" action="" method="post">
<input name="_next" type="hidden" value="https://www.startupstorm.org/contact-us-complete">
<div class="field">
<label class="label">How would you rate our event?</label>
<div class="control">
<label class="radio">
<input type="radio" id="r1" name="answer" required>
1
</label>
<label class="radio">
<input type="radio" id="r2" name="answer">
2
</label>
<label class="radio">
<input type="radio" id="r3" name="answer">
3
</label>
<label class="radio">
<input type="radio" id="r4" name="answer">
4
</label>
<label class="radio">
<input type="radio" id="r5" name="answer">
5
</label>
</div>
</div>
<div class="field">
<label class="label">What did we do well? What could we have done better?</label>
<div class="control">
<textarea class="textarea" id="suggestions" placeholder="Enter your message"></textarea>
</div>
</div>
<div class="field">
<label class="label">Other comments</label>
<div class="control">
<textarea class="textarea" name="comments" placeholder="Enter your message"></textarea>
</div>
</div>
<center>
<button id="form-submit" type="submit">Submit Feedback</button>
</center>
</form>
</div>
</div>
</div>
<!-- <div class="column is-centered"><img src="img/sent_icon.svg"></img></div> -->
</div>
<!-- Scripts -->
<script src="js/aos.js"></script>
<script src="animation/bodymovin.js"></script>
<script src="js/main.js"></script>
<script>
function getRating(){
if (isChecked('r1')) {
rate_value = 1
} else if (isChecked('r2')) {
rate_value = 2
} else if (isChecked('r3')) {
rate_value = 3
} else if (isChecked('r4')) {
rate_value = 4
} else if (isChecked('r5')) {
rate_value = 5
} else {
rate_value = null;
}
return rate_value;
}
function isChecked(radio_id){
return document.getElementById(radio_id).checked;
}
$('#feedback-form').one('submit',function(){
var baseURL = 'https://docs.google.com/forms/d/e/1FAIpQLSfOvzghGBh4vtvsQU6TdaDMmN4iKkhmQvCqNjTsl_9UIDjNmw/formResponse?';
var rating = 'entry.1227901969='+encodeURIComponent(getRating()) + '&';
var suggestions = 'entry.349499540='+encodeURIComponent($('#suggestions').val()) + '&';
var comments = 'entry.1340586078='+encodeURIComponent($('#suggestions').val()) + '&';
var submitRef = '&submit=Submit';
var submitURL = (baseURL + rating + suggestions + comments + submitRef);
$(this)[0].action=submitURL;
});
</script>
</body>
</html>
<!-- <html>
<head>
<meta http-equiv="refresh" content="0; url=https://goo.gl/forms/sDvdj2a5p0i7aZTu1" />
</head>
<body>
<p><a href="https://goo.gl/forms/sDvdj2a5p0i7aZTu1">Redirect</a></p>
</body>
</html>
https://docs.google.com/spreadsheets/d/136goj0sSAD3SX1vmp1dMinOMxb7gYlhoL6usUAmkW3c/edit?usp=sharing
-->