diff options
Diffstat (limited to 'template')
-rw-r--r-- | template/assemblies/chat.phtml | 30 | ||||
-rw-r--r-- | template/assemblies/feedback.phtml | 7 |
2 files changed, 18 insertions, 19 deletions
diff --git a/template/assemblies/chat.phtml b/template/assemblies/chat.phtml index e3aab6c..13da67e 100644 --- a/template/assemblies/chat.phtml +++ b/template/assemblies/chat.phtml @@ -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 ?> diff --git a/template/assemblies/feedback.phtml b/template/assemblies/feedback.phtml index 6633d32..6979bfc 100644 --- a/template/assemblies/feedback.phtml +++ b/template/assemblies/feedback.phtml @@ -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> |