Delete song styling, start of title fix

This commit is contained in:
Nicolas A. Tonne
2015-04-17 22:28:18 +02:00
parent 170126fbe4
commit 065f434c98
4 changed files with 24 additions and 13 deletions

View File

@@ -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">&nbsp;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>

View File

@@ -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;

View File

@@ -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)

View File

@@ -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;
}
}