mirror of
https://github.com/voc/streaming-website
synced 2024-11-10 06:34:17 +00:00
Feedback-Form and Chat-Tab tweaks
This commit is contained in:
parent
83a5c99209
commit
f8362a9c02
4 changed files with 35 additions and 22 deletions
|
@ -55,6 +55,20 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@import "_program.less";
|
||||
#feedback {
|
||||
padding: floor(@grid-gutter-width/2) 0;
|
||||
|
||||
.feedback-thankyou {
|
||||
font-size: @jumbo-font-size;
|
||||
text-align: center;
|
||||
padding: 30px;
|
||||
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
#program {
|
||||
@import "_program.less";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
@jumbo-line-height: 45px;
|
||||
|
||||
@program-now: @brand-danger;
|
||||
@program-now-bg: fade(lighten(@brand-danger, 20%), 60%);
|
||||
@program-now-bg: fade(lighten(@brand-danger, 5%), 60%);
|
||||
|
||||
@program-room: darken(@brand-primary, 15%);
|
||||
@program-author: #444;
|
||||
|
|
|
@ -1,16 +1,14 @@
|
|||
<div class="chat">
|
||||
<? if(room_has_irc($room)): ?>
|
||||
<div>
|
||||
<a class="btn btn-primary irclink" href="<?=h(room_get_irc_url($room))?>">
|
||||
<span class="fa fa-comment"></span> <?=h(room_get_irc_display($room))?>
|
||||
</a>
|
||||
</div>
|
||||
<? endif ?>
|
||||
<? if(room_has_twitter($room)): ?>
|
||||
<div>
|
||||
<a class="btn btn-success twitterlink" href="https://twitter.com/intent/tweet?text=<?=h(rawurlencode(room_get_twitter_hashtag($room)))?>" target="_blank">
|
||||
<span class="fa fa-twitter"></span> <?=h(room_get_twitter_display($room))?>
|
||||
</a>
|
||||
</div>
|
||||
<? endif ?>
|
||||
</div>
|
||||
<? if(room_has_irc($room)): ?>
|
||||
<div>
|
||||
<a class="btn btn-primary irclink" href="<?=h(room_get_irc_url($room))?>">
|
||||
<span class="fa fa-comment"></span> <?=h(room_get_irc_display($room))?>
|
||||
</a>
|
||||
</div>
|
||||
<? endif ?>
|
||||
<? if(room_has_twitter($room)): ?>
|
||||
<div>
|
||||
<a class="btn btn-success twitterlink" href="https://twitter.com/intent/tweet?text=<?=h(rawurlencode(room_get_twitter_hashtag($room)))?>" target="_blank">
|
||||
<span class="fa fa-twitter"></span> <?=h(room_get_twitter_display($room))?>
|
||||
</a>
|
||||
</div>
|
||||
<? endif ?>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<form action="feedback/" target="feedback-target" method="post" role="form" class="feedback-form form-horizontal">
|
||||
<form action="feedback/" target="feedback-target" method="post" role="form" class="feedback-form">
|
||||
<div class="col-sm-4 col">
|
||||
<div class="form-group">
|
||||
<label for="net">Network Connection</label>
|
||||
|
@ -134,9 +134,10 @@
|
|||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<input type="submit" value="Submit" />
|
||||
<input class="btn btn-primary" type="submit" value="Submit" />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<h3 class="feedback-thankyou">Thank you!</h3>
|
||||
<iframe name="feedback-target"></iframe>
|
||||
<iframe name="feedback-target" style="display: none;"></iframe>
|
||||
|
|
Loading…
Reference in a new issue