From d788721b3ff7d28f0f01201beb8deca57b9a0375 Mon Sep 17 00:00:00 2001 From: calzoneman Date: Thu, 28 Mar 2013 18:56:29 -0500 Subject: [PATCH] Update help page, fix acp login bug --- www/assets/js/acp.js | 11 +++++++---- www/help.html | 7 ++++--- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/www/assets/js/acp.js b/www/assets/js/acp.js index 793f4a27..b882ff2c 100644 --- a/www/assets/js/acp.js +++ b/www/assets/js/acp.js @@ -43,9 +43,11 @@ function initCallbacks() { $("#logoutform").css("display", ""); $("#loginform").css("display", "none"); } - socket.emit("adm", { - cmd: "listchannels" - }); + setInterval(function() { + socket.emit("adm", { + cmd: "listchannels" + }); + }, 10000); }); } @@ -80,9 +82,10 @@ if(uname != null && pw != null && pw != "false") { function loginClick() { uname = $("#username").val(); + pw = $("#password").val(); socket.emit("login", { name: uname, - pw: $("#password").val() + pw: pw }); }; diff --git a/www/help.html b/www/help.html index 90017830..f541be84 100644 --- a/www/help.html +++ b/www/help.html @@ -104,6 +104,7 @@ +

There are also some other chat features. When your name appears in a message, the message will be highlighted. If you type the beginning of someone's name in chat, pressing tab will attempt to autocomplete the name.

Queue Controls

Queue Controls are only visible to moderators by default. A moderator can unlock the queue to make the controls visible to everyone.
Below is an example of the queue controls. On your channel, simply paste a link of one of the following accepted formats and press "Queue Next" to add it after the current video, or "Queue @ End" to add it at the end of the playlist. Press "Play Next" to advance to the next video in the playlist.
@@ -125,14 +126,14 @@ -

Below is an example of an entry in the playlist. Please note the control buttons only appear if you are a moderator or if the queue is unlocked. The red "X" button will remove the video from the playlist. The next two buttons will shift its position up or down. The "Next" button will move the video so that it plays after the current video. +

Below is an example of an entry in the playlist. Please note the control buttons only appear if you are a moderator or if the queue is unlocked. The button with vertical arrows is for moving videos in the playlist. Click and hold the button and drag the mouse up and down to move the video in the playlist. The red "X" button will remove the video from the playlist. The green play button will jump the playlist to that video. The "Next" button will move the video so that it plays after the current video.