summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordumpfmprod <dumpfmprod@ubuntu.(none)>2010-09-28 12:00:09 -0400
committerdumpfmprod <dumpfmprod@ubuntu.(none)>2010-09-28 12:00:09 -0400
commit85def20064bbba680781be97765debdd698ee3ec (patch)
treeee7f7ac2e84239dbf1e255ebd1cbe05832b67077
parent0b4888b99afd0f607ccf253b05ff520746c9db2c (diff)
timb: fix z-index issue
-rw-r--r--static/js/pichat.js10
-rw-r--r--template/rooms/VIP.st15
-rw-r--r--template/rooms/chat.st14
3 files changed, 39 insertions, 0 deletions
diff --git a/static/js/pichat.js b/static/js/pichat.js
index 5163a2d..8d69e62 100644
--- a/static/js/pichat.js
+++ b/static/js/pichat.js
@@ -605,6 +605,16 @@ function paletteClicked(){
function initChat() {
Search.initInpage()
+
+ $('#textbutton input').attr('checked', TextEnabled).change(setTextEnable);
+ $('#imgbutton input').attr('checked', ImgsEnabled).change(setImgsEnable);
+/* $('#clearbutton input').click(function() {
+ track('UI', 'ClearScreen');
+ $('.dump').remove();
+ $(this).removeAttr('checked');
+ return false;
+ });
+*/
$('.oldmsg').each(function() {
var dump = $(this);
diff --git a/template/rooms/VIP.st b/template/rooms/VIP.st
index 9281203..f078d0d 100644
--- a/template/rooms/VIP.st
+++ b/template/rooms/VIP.st
@@ -115,6 +115,21 @@
<div id="palette">
<div id="palette-thumbs"></div>
</div>
+ <div id="chatbuttons">
+ <div id="textbutton">
+ <span>show text?</span>
+ <input type="checkbox">
+ </div>
+ <div id="imgbutton">
+ <span>show imgs?</span>
+ <input type="checkbox">
+ </div>
+ <div id="clearbutton">
+ <span>clear screen</span>
+ <input type="checkbox">
+ </div>
+ </div>
+
<div id="footerc">
$footer()$
</div>
diff --git a/template/rooms/chat.st b/template/rooms/chat.st
index cf2d64a..7a8df88 100644
--- a/template/rooms/chat.st
+++ b/template/rooms/chat.st
@@ -115,6 +115,20 @@
<div id="palette">
<div id="palette-thumbs"></div>
</div>
+ <div id="chatbuttons">
+ <div id="textbutton">
+ <span>show text?</span>
+ <input type="checkbox">
+ </div>
+ <div id="imgbutton">
+ <span>show imgs?</span>
+ <input type="checkbox">
+ </div>
+ <div id="clearbutton">
+ <span>clear screen</span>
+ <input type="checkbox">
+ </div>
+ </div>
<div id="footerc">
$footer()$
</div>