diff --git a/package.json b/package.json
index c5da52a2..08714c3e 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"author": "Calvin Montgomery",
"name": "CyTube",
"description": "Online media synchronizer and chat",
- "version": "1.6.2",
+ "version": "1.6.3",
"repository": {
"url": "http://github.com/calzoneman/sync"
},
diff --git a/www/assets/js/callbacks.js b/www/assets/js/callbacks.js
index 8d56afa6..e925c8fb 100644
--- a/www/assets/js/callbacks.js
+++ b/www/assets/js/callbacks.js
@@ -510,7 +510,8 @@ Callbacks = {
var li = $("#queue").children()[data.idx];
var buttons = $(li).find(".qe_btn");
if(buttons.length == 5) {
- $(buttons[4]).text(data.temp ? "Untemp" : "Temp");
+ $(buttons[4]).removeClass("btn-danger btn-success");
+ $(buttons[4]).addClass(data.temp ? "btn-success" : "btn-danger");
}
if(data.temp) {
$(li).addClass("alert alert-error");
diff --git a/www/assets/js/functions.js b/www/assets/js/functions.js
index d54bc18b..390becd3 100644
--- a/www/assets/js/functions.js
+++ b/www/assets/js/functions.js
@@ -313,7 +313,7 @@ function addQueueButtons(li) {
if(CHANNELOPTS.qopen_allow_qnext || fullperms) {
var btnNext = $("").attr("class", "btn qe_btn").appendTo(btnstrip);
- btnNext.text("Next");
+ $("").addClass("icon-share-alt").appendTo(btnNext);
$(btnNext).click(function() {
var idx = $("#queue").children().index(li);
var dest = idx < POSITION ? POSITION : POSITION + 1;
@@ -327,11 +327,12 @@ function addQueueButtons(li) {
if(RANK >= Rank.Moderator) {
var btnTemp = $("").attr("class", "btn qe_btn").appendTo(btnstrip);
var temp = $(li).hasClass("alert-error");
+ $("").addClass("icon-flag").appendTo(btnTemp);
if(temp) {
- btnTemp.text("Untemp");
+ btnTemp.addClass("btn-success");
}
else {
- btnTemp.text("Temp");
+ btnTemp.addClass("btn-danger");
}
$(btnTemp).click(function() {
temp = $(li).hasClass("alert-error");
diff --git a/www/help.html b/www/help.html
index 084ae1b7..75d9c851 100644
--- a/www/help.html
+++ b/www/help.html
@@ -119,7 +119,7 @@
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. If Voteskip is enabled in Channel Options, then pressing voteskip indicates you would like to skip the current video. If a majority of connected users does this, the video will be skipped.
+
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 "Next" to add it after the current video, or "End" to add it at the end of the playlist. If Voteskip is enabled in Channel Options, then pressing voteskip indicates you would like to skip the current video. If a majority of connected users does this, the video will be skipped.
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. +
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 arrow button will move the video to the next position after the currently playing video. The flag button will toggle whether the video is temporary (temporary videos are auto-removed after playing once).
- Moderators can apply various filters to chat messages using Regular Expressions. The first column contains a button to remove filters. The second is the regular expression to match in the message. The third is the replacement text, and the last is a checkbox for toggling the filter on/off. Regular Expressions are given in Javascript syntax, and by default have the "g" flag set. You can set custom flags by adding them at the end of the regex after a slash; for example js/ig matches "js", "JS", "jS", and "Js". The following example replaces money amounts of the form "$amount" to "amount dollars":
| + | Name | Regex | +Flags | Replacement | Active | @@ -247,9 +250,15 @@ +
+ The dollar filter
+ |
\$([0-9\.]+)
|
+
+ g
+ |
$1 dollars
|
@@ -283,7 +292,11 @@
|---|---|---|
| User | -0-1 | +1 | +
| Guest | +0 |