Merge pull request #116 from nixolas1/control

Added toast on frontpage for remote
This commit is contained in:
KasperRT
2015-06-07 19:35:12 +02:00
2 changed files with 3 additions and 1 deletions

View File

@@ -7,7 +7,7 @@
<header> <header>
<nav id="fp-nav"> <nav id="fp-nav">
<div class="nav-wrapper"> <div class="nav-wrapper">
<a href="zoff.no" class="brand-logo hide-on-small-only"> <a href="http://zoff.no" class="brand-logo hide-on-small-only">
<img id="zicon" src="/static/images/squareicon_small.png" alt="zöff" title="Zöff"> <img id="zicon" src="/static/images/squareicon_small.png" alt="zöff" title="Zöff">
</a> </a>
<a href="zoff.no" class="brand-logo hide-on-med-and-up">Zöff</a> <a href="zoff.no" class="brand-logo hide-on-med-and-up">Zöff</a>

View File

@@ -76,6 +76,8 @@ function sortFunction(a, b) {
$(document).ready(function (){ $(document).ready(function (){
Materialize.toast("<a href='/remote' style='color:white;'>Try out our new feature, remote!</a>", 8000)
list_html = $("#channels").html(); list_html = $("#channels").html();
$("#channels").empty(); $("#channels").empty();