mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Delete song styling, start of title fix
This commit is contained in:
19
index.php
19
index.php
@@ -25,6 +25,13 @@
|
|||||||
<span class="hide-on-med-and-up">/</span>
|
<span class="hide-on-med-and-up">/</span>
|
||||||
<span id="chan" class="chan clickable" title="Show big URL" onclick="show()"><?php echo(ucfirst($list));?></span>
|
<span id="chan" class="chan clickable" title="Show big URL" onclick="show()"><?php echo(ucfirst($list));?></span>
|
||||||
</div>
|
</div>
|
||||||
|
<ul>
|
||||||
|
<li id="song-title">
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<input id="search" class="search_input" type="search" required title="Search for songs..." spellcheck="false" placeholder="Search" onsubmit="null;" autocomplete="off">
|
||||||
|
</li>
|
||||||
|
<div id="results"></div>
|
||||||
<ul class="right">
|
<ul class="right">
|
||||||
<li>
|
<li>
|
||||||
<a class="nav-btn" href="#" id="search-btn" onclick="">
|
<a class="nav-btn" href="#" id="search-btn" onclick="">
|
||||||
@@ -54,14 +61,6 @@
|
|||||||
<ul class="side-nav" id="settings-bar">
|
<ul class="side-nav" id="settings-bar">
|
||||||
<?php include("php/panel.php");?>
|
<?php include("php/panel.php");?>
|
||||||
</ul>
|
</ul>
|
||||||
<form id="searchform" onsubmit="return false;">
|
|
||||||
<div>
|
|
||||||
<input id="search" class="search_input" type="search" required title="Search for songs..." spellcheck="false" placeholder="Search" onsubmit="null;" autocomplete="off">
|
|
||||||
<!--<label for="search"><i class="mdi-action-search"></i></label>
|
|
||||||
<i class="mdi-navigation-close"></i>-->
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
<div id="results"></div>
|
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
@@ -103,8 +102,8 @@
|
|||||||
<span class="highlighted vote-text"> votes</span>
|
<span class="highlighted vote-text"> votes</span>
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
<div class="card-action hide">
|
<div class="list-remove card-action center-align hide">
|
||||||
<a id="del" onclick="vote('id','del')" class="waves-effect btn-flat clickable">Remove</a>
|
<a title="Remove song" id="del" onclick="vote('id','del')" class="waves-effect btn-flat clickable">Remove</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -251,6 +251,18 @@ hide mdi-action-visibility mdi-action-visibility-off
|
|||||||
background-color: rgba(0,0,0,0.4);
|
background-color: rgba(0,0,0,0.4);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.list-remove{
|
||||||
|
margin-top: 5px;
|
||||||
|
font-size: 12px;
|
||||||
|
height: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#del{
|
||||||
|
height: 100%;
|
||||||
|
line-height: normal;
|
||||||
|
padding-top: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
.result {
|
.result {
|
||||||
border-bottom: solid 1px #E5E5E5;
|
border-bottom: solid 1px #E5E5E5;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ socket.on("pw", function(msg)
|
|||||||
refresh_scroll();
|
refresh_scroll();
|
||||||
|
|
||||||
localStorage.setItem("passord_i_klartekst_lol", msg);
|
localStorage.setItem("passord_i_klartekst_lol", msg);
|
||||||
Materialize.toast("Correct Password. You are now admin", 4000);
|
Materialize.toast("Correct password. You now have access to the sacred relam of The Admin.", 4000);
|
||||||
});
|
});
|
||||||
|
|
||||||
socket.on(chan.toLowerCase()+",conf", function(msg)
|
socket.on(chan.toLowerCase()+",conf", function(msg)
|
||||||
|
|||||||
@@ -202,11 +202,11 @@ function getTitle(titt, v)
|
|||||||
var title= decodeURIComponent(titt);
|
var title= decodeURIComponent(titt);
|
||||||
document.title = title + " • Zöff";
|
document.title = title + " • Zöff";
|
||||||
if(!window.mobilecheck()){
|
if(!window.mobilecheck()){
|
||||||
document.getElementById('search').placeholder = title + " • " + v + " " + outPutWord;
|
document.getElementById('song-title').innerHTML = title + " • " + v + " " + outPutWord;
|
||||||
}else
|
}else
|
||||||
{
|
{
|
||||||
document.getElementById("mobileTitle").innerHTML = title;
|
document.getElementById("mobileTitle").innerHTML = title;
|
||||||
document.getElementById('search').placeholder = "Search • 1 " + v + " " + outPutWord;
|
document.getElementById('song-title').innerHTML = "Search • 1 " + v + " " + outPutWord;
|
||||||
//document.getElementById("viewers").innerHTML = viewers[5].length + " " + outPutWord;
|
//document.getElementById("viewers").innerHTML = viewers[5].length + " " + outPutWord;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user