Added help-new.jade

This commit is contained in:
Teresa 2015-12-07 22:29:53 -08:00 committed by Naomi Black
parent 0018e75d01
commit 5be5985358
1 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,24 @@
div(flex)
p.
What's your question about?
select#dropdown(name="Angular Version" class="dropdown")
option(value="Angular2") Angular2
option(value="AngularJS") AngularJS
button#btn(class="btn").
Submit
script(src="//www.gstatic.com/feedback/api.js" type="text/javascript")
script.
var btn = document.getElementById("btn");
var submitFeedback = function() {
var dropdown = document.getElementById("dropdown");
var configuration = {
'productId': 'Angular',
'authuser': '1',
'bucket': dropdown.options[dropdown.selectedIndex].value
}
userfeedback.api.startFeedback(configuration);
}
btn.addEventListener("click", submitFeedback);