Added help-new.jade
This commit is contained in:
parent
0018e75d01
commit
5be5985358
|
@ -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);
|
||||
|
Loading…
Reference in New Issue