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 id="chan" class="chan clickable" title="Show big URL" onclick="show()"><?php echo(ucfirst($list));?></span>
|
||||
</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">
|
||||
<li>
|
||||
<a class="nav-btn" href="#" id="search-btn" onclick="">
|
||||
@@ -54,14 +61,6 @@
|
||||
<ul class="side-nav" id="settings-bar">
|
||||
<?php include("php/panel.php");?>
|
||||
</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>
|
||||
</nav>
|
||||
</div>
|
||||
@@ -103,8 +102,8 @@
|
||||
<span class="highlighted vote-text"> votes</span>
|
||||
</span>
|
||||
</span>
|
||||
<div class="card-action hide">
|
||||
<a id="del" onclick="vote('id','del')" class="waves-effect btn-flat clickable">Remove</a>
|
||||
<div class="list-remove card-action center-align hide">
|
||||
<a title="Remove song" id="del" onclick="vote('id','del')" class="waves-effect btn-flat clickable">Remove</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -251,6 +251,18 @@ hide mdi-action-visibility mdi-action-visibility-off
|
||||
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 {
|
||||
border-bottom: solid 1px #E5E5E5;
|
||||
text-align: left;
|
||||
|
||||
@@ -50,7 +50,7 @@ socket.on("pw", function(msg)
|
||||
refresh_scroll();
|
||||
|
||||
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)
|
||||
|
||||
@@ -202,11 +202,11 @@ function getTitle(titt, v)
|
||||
var title= decodeURIComponent(titt);
|
||||
document.title = title + " • Zöff";
|
||||
if(!window.mobilecheck()){
|
||||
document.getElementById('search').placeholder = title + " • " + v + " " + outPutWord;
|
||||
document.getElementById('song-title').innerHTML = title + " • " + v + " " + outPutWord;
|
||||
}else
|
||||
{
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user