mirror of
https://github.com/voc/streaming-website
synced 2024-11-10 06:34:17 +00:00
feedback form interaction
This commit is contained in:
parent
addbb6b5ce
commit
a51c188eb7
4 changed files with 24 additions and 2 deletions
|
@ -5467,6 +5467,11 @@ h1 + .news-item {
|
|||
padding: 20px; }
|
||||
.tab-content #feedback label {
|
||||
color: white; }
|
||||
.tab-content #feedback h3 {
|
||||
display: none;
|
||||
color: white; }
|
||||
.tab-content #feedback iframe {
|
||||
display: none; }
|
||||
.tab-content #feedback .col {
|
||||
padding: 0 30px; }
|
||||
|
||||
|
|
|
@ -238,6 +238,8 @@ h1 + .news-item {
|
|||
padding: 20px;
|
||||
|
||||
label { color: white; }
|
||||
h3 { display: none; color: white; }
|
||||
iframe { display: none; }
|
||||
|
||||
.col {
|
||||
padding: 0 30px;
|
||||
|
|
|
@ -379,3 +379,12 @@ $(function() {
|
|||
|
||||
fetchProgram();
|
||||
});
|
||||
|
||||
|
||||
// feedback form
|
||||
$(function() {
|
||||
$('.feedback-form').on('submit', function() {
|
||||
$('.feedback-form').hide();
|
||||
$('.feedback-thankyou').show();
|
||||
});
|
||||
});
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<form action="http://c3voc.de/feedback/" target="_blank" method="post" role="form" class="form-horizontal row">
|
||||
<form action="http://c3voc.de/feedback/" target="feedback-target" method="post" role="form" class="feedback-form form-horizontal row">
|
||||
<div class="col-sm-4 col">
|
||||
<div class="form-group">
|
||||
<label for="net">Network Connection</label>
|
||||
|
@ -124,9 +124,15 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="issuetext">Something else was good/bad</label>
|
||||
<input type="text" value="" name="issuetext" id="issuetext" class="form-control" />
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<input type="submit" value="Submit" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
<h3 class="feedback-thankyou">Thank you!</h3>
|
||||
<iframe name="feedback-target"></iframe>
|
||||
|
|
Loading…
Reference in a new issue