Updated mobile look, and fixed error where leaving channel before player initialized crashes

This commit is contained in:
Kasper Rynning-Tønnesen
2016-08-16 11:17:45 +02:00
parent 63f6e19fc0
commit 01989bc39a
4 changed files with 14 additions and 15 deletions

View File

@@ -15,11 +15,11 @@ if(isset($_GET['chan'])){
<header>
<nav id="fp-nav">
<div class="nav-wrapper">
<a href="#" class="brand-logo hide-on-small-only noselect">
<a href="#" class="brand-logo noselect">
<img id="zicon" src="static/images/squareicon_small.png" alt="zöff" title="Zöff" />
</a>
<span id="frontpage-viewer-counter" class="hide-on-small-only noselect" title="Divided among all channels. Hidden or not"></span>
<a href="//zoff.no" class="brand-logo brand-mobile hide-on-med-and-up">Zöff</a>
<!--<a href="//zoff.no" class="brand-logo brand-mobile hide-on-med-and-up">Zöff</a>-->
<ul id="nav-mobile" class="right hide-on-med-and-down">
<li><a class="modal-trigger waves-effect waves-red" title="Need help with the site?" onclick="$('#help').openModal()">Help</a></li>
<li><a class="waves-effect green" title="Remote control a Zöff player" href="https://remote.zoff.no">Remote</a></li>
@@ -81,7 +81,7 @@ if(isset($_GET['chan'])){
<a href="#" class=" modal-action modal-close waves-effect waves-green btn-flat">Close</a>
</div>
</div>
</header>
<div class="section mega">