mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Better messages and some styling
This commit is contained in:
@@ -211,7 +211,7 @@ hide mdi-action-visibility mdi-action-visibility-off
|
|||||||
text-transform: none;
|
text-transform: none;
|
||||||
text-rendering: auto;
|
text-rendering: auto;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
content: "\e800";
|
content: "\e684";/*"\e800";*/
|
||||||
color:white;
|
color:white;
|
||||||
font-size:44px;
|
font-size:44px;
|
||||||
position:absolute;
|
position:absolute;
|
||||||
@@ -219,7 +219,7 @@ hide mdi-action-visibility mdi-action-visibility-off
|
|||||||
top:0; left:0;
|
top:0; left:0;
|
||||||
background:rgba(0,0,0,0.8);
|
background:rgba(0,0,0,0.8);
|
||||||
opacity:0;
|
opacity:0;
|
||||||
transition: all 0.3s;
|
transition: all .1s ease;
|
||||||
}
|
}
|
||||||
.list-song:hover .list-image:after {
|
.list-song:hover .list-image:after {
|
||||||
opacity:1;
|
opacity:1;
|
||||||
|
|||||||
@@ -7,31 +7,31 @@ socket.on("toast", function(msg)
|
|||||||
pass_corr = "correct";
|
pass_corr = "correct";
|
||||||
switch(msg) {
|
switch(msg) {
|
||||||
case "savedsettings":
|
case "savedsettings":
|
||||||
msg="Saved settings"
|
msg="I saved your settings <3"
|
||||||
break;
|
break;
|
||||||
case "wrongpass":
|
case "wrongpass":
|
||||||
msg="Wrong password"
|
msg="That's not the right password! ಠ_ಠ"
|
||||||
break;
|
break;
|
||||||
case "shuffled":
|
case "shuffled":
|
||||||
msg="Shuffled playlist"
|
msg="I vigorously stirred your playlist! (J °O°)J"
|
||||||
break;
|
break;
|
||||||
case "deletesong":
|
case "deletesong":
|
||||||
msg="Deleted song"
|
msg="Your song is now in a better place..."
|
||||||
break;
|
break;
|
||||||
case "voted":
|
case "voted":
|
||||||
msg="Voted on song"
|
msg="You vote like a boss \\(*0*)/"
|
||||||
break;
|
break;
|
||||||
case "alreadyvoted":
|
case "alreadyvoted":
|
||||||
msg="You have already voted on that song"
|
msg="You can't vote twice on that song! (¬_¬)"
|
||||||
break;
|
break;
|
||||||
case "listhaspass":
|
case "listhaspass":
|
||||||
msg="The list is passwordprotected"
|
msg="I'm sorry, but you have to be an admin to do that (⌒_⌒;)"
|
||||||
break;
|
break;
|
||||||
case "noskip":
|
case "noskip":
|
||||||
msg="Only admin can skip songs on this channel"
|
msg="Only Admins can skip songs, peasant (`∀´)Ψ"
|
||||||
break;
|
break;
|
||||||
case "alreadyskip":
|
case "alreadyskip":
|
||||||
msg="You've already voted to skip!"
|
msg="Skipping is democratic, only one vote per person! (〃・ω・〃)"
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
Materialize.toast(msg, 4000);
|
Materialize.toast(msg, 4000);
|
||||||
|
|||||||
Reference in New Issue
Block a user