summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/banner.st6
-rw-r--r--template/footer.st4
-rw-r--r--template/messagepane.st41
-rw-r--r--template/mini_profile.st8
-rw-r--r--template/rooms/VIP.st2
-rw-r--r--template/share_buttons.st4
6 files changed, 51 insertions, 14 deletions
diff --git a/template/banner.st b/template/banner.st
index 6083678..a4229f5 100644
--- a/template/banner.st
+++ b/template/banner.st
@@ -35,7 +35,7 @@
<div id="toptools">
<form name="Tools" >
- <select class="toolsmenu" name="menu" onChange="location=document.Tools.menu.options[document.Tools.menu.selectedIndex].value;">
+ <select class="toolsmenu" name="menu" onChange="if (document.Tools.menu.selectedIndex != 0) { location=document.Tools.menu.options[document.Tools.menu.selectedIndex].value; } ">
<option>Tools</option>
<option value="http://bon.gs/tile/" target="_blank">Tile Tool</option>
<option value="http://dump.fm/m/oie">Online Image Editor</option>
@@ -86,7 +86,7 @@
<div id="dumplist">
$if(user_nick)$
- <a href="http://dump.fm/fullscreen">checkout dump.fm in full-screen - </a><a href="http://dump.fm/stickers">SUPPORT DUMP.FM! BUY SOME STICKERS!!</a><a href="http://dis.dump.fm">- dis magazine new style options</a> $else$ <style>#dumplist{z-index:-1!important;}</style> $endif$
+ <a href="http://dump.fm/fullscreen">checkout dump.fm in full-screen - </a><a href="http://dump.fm/stickers">SUPPORT DUMP.FM! BUY SOME STICKERS!!</a>$else$ <style>#dumplist{z-index:-1!important;}</style> $endif$
$if(isadmin)$ -<a href="http://vip.dump.fm/">NAUGHTY BOYS DELIGHT </a>
$endif$
</div>
@@ -109,7 +109,7 @@
- <div id="search-results">
+ <div id="search-results" style="background-color: white;">
<div id="search-controls">
<a id="search-control-previous">previous</a>
<span id="search-control-text"></span>
diff --git a/template/footer.st b/template/footer.st
index 6df573b..5987bd1 100644
--- a/template/footer.st
+++ b/template/footer.st
@@ -1,7 +1,7 @@
@2010 <a href="/">dump.fm</a>
-<a href="http://dump.fm/about_us"><span style="word-spacing:normal;">About Us</span></a>
-<a href="http://dump.fm/help"><span style="word-spacing:normal;">Help FAQ</span></a>
+<a href="http://dump.fm/about_us" style="word-spacing: normal">About Us</a>
+<a href="http://dump.fm/help" style="word-spacing: normal">Help FAQ</a>
<a href="http://dump.fm/terms">Terms</a>
<a href="http://dump.fm/privacy">Privacy</a>
$google_analytics()$
diff --git a/template/messagepane.st b/template/messagepane.st
index f925629..673c2ec 100644
--- a/template/messagepane.st
+++ b/template/messagepane.st
@@ -1,19 +1,46 @@
<div id="messagePane">
<style>
- #textbutton {
+ #chatbuttons {
position: absolute;
- left: 10px;
+ right: 25px;
top: 0px;
- background: lightblue;
- z-index: 100000;
+ }
+ #textbutton, #imgbutton, #clearbutton {
+ float: right;
+ background: #CDF8FF;
+ color: #666;
+ z-index: 0;
+ margin-left: 15px;
+ height: 20px;
+ }
+ #clearbutton {
+ text-decoration: underline
+ cursor: pointer;
}
</style>
- <div id="textbutton">
- <span>show text?</span>
- <input type="checkbox">
+ <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>
<script>
jQuery('#textbutton input').attr('checked', TextEnabled).change(setTextEnable);
+ jQuery('#imgbutton input').attr('checked', ImgsEnabled).change(setImgsEnable);
+ jQuery('#clearbutton input').click(function() {
+ track('UI', 'ClearScreen');
+ jQuery('.dump').remove();
+ jQuery(this).removeAttr('checked');
+ return false;
+ });
</script>
$if(user_nick)$
diff --git a/template/mini_profile.st b/template/mini_profile.st
index b7c82cc..a991f6b 100644
--- a/template/mini_profile.st
+++ b/template/mini_profile.st
@@ -35,3 +35,11 @@
<div><img id="bio" src="/static/img/noinfo.png"><br><br></div>
$endif$
</div>
+<script>
+jQuery(function() {
+ jQuery(".linkify").each(function() {
+ var text = jQuery(this).text();
+ jQuery(this).html(linkifyWithoutImage(text));
+ });
+});
+</script> \ No newline at end of file
diff --git a/template/rooms/VIP.st b/template/rooms/VIP.st
index 54bf72a..9281203 100644
--- a/template/rooms/VIP.st
+++ b/template/rooms/VIP.st
@@ -119,7 +119,7 @@
$footer()$
</div>
$preload()$
- <div id="vipinfo" style="position: absolute; z-index: 100000; right: 50; bottom: 75;">
+ <div id="vipinfo" style="position: absolute; z-index: 100000; right: 50; bottom: 125; background: white; padding: 10px; opacity: .75;">
<h1>Welcome to the cool club</h1>
<ul>
<li><a href="/roomlist">Rooms</a></li>
diff --git a/template/share_buttons.st b/template/share_buttons.st
index 83c387f..882ec07 100644
--- a/template/share_buttons.st
+++ b/template/share_buttons.st
@@ -7,6 +7,8 @@
$if(dump.favorited)$
<img src="/static/img/thumbs/heartfaved.gif" class="thumb favorite" onclick="Tag.favorite(this)">
$else$
- <img src="/static/img/thumbs/heart.gif" class="thumb" onclick="Tag.favorite(this)">
+ <div style="position: relative">
+ <img src="/static/img/thumbs/heart.gif" class="thumb" onclick="Tag.favorite(this)">
+ </div>
$endif$
</span> \ No newline at end of file