summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rwxr-xr-xstatic/css/dump.css10
-rw-r--r--static/js/pichat.js18
-rw-r--r--static/js/pichat2.js18
-rwxr-xr-xstatic/js/register.js8
-rw-r--r--static/js/src/fun.js10
-rw-r--r--static/js/src/messages.js4
-rw-r--r--static/js/src/util.js4
-rw-r--r--static/super/index.html8
8 files changed, 69 insertions, 11 deletions
diff --git a/static/css/dump.css b/static/css/dump.css
index 5ae714f..0b6055e 100755
--- a/static/css/dump.css
+++ b/static/css/dump.css
@@ -2506,3 +2506,13 @@ a#disregister:hover {
color: green;
}
+.rainbow {
+ background-image:-webkit-gradient( linear, left top, right top, color-stop(0, #f22), color-stop(0.15, #f2f), color-stop(0.3, #22f), color-stop(0.45, #2ff), color-stop(0.6, #2f2),color-stop(0.75, #2f2), color-stop(0.9, #ff2), color-stop(1, #f22) );
+ color:transparent;
+ -webkit-background-clip: text;
+}
+
+.nick_aids_enoch { opacity: 0.3; color: transparent; text-shadow: 0 0 5px #857E96; }
+
+.bigimage { max-width: none!important; max-height: none!important;width:100% }
+
diff --git a/static/js/pichat.js b/static/js/pichat.js
index 5fd0de8..61489c0 100644
--- a/static/js/pichat.js
+++ b/static/js/pichat.js
@@ -787,6 +787,16 @@ function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
+
+$(function(){
+ var d = new Date()
+ var mon = (d.getMonth()+1)
+ var day = d.getDate()
+ mon = mon < 10 ? "0" + mon : mon
+ day = day < 10 ? "0" + day : day
+ $("#hall-link").attr("href", "/top/" + (d.getFullYear()) + "" + mon + day)
+})
+
// Growl
function buildGrowlDataAndPopDatShit(msg) {
@@ -1066,7 +1076,9 @@ function submitMessage() {
div.remove();
handleMsgError(resp);
};
-
+
+ if (Nick == "lmstupid" || Nick == "frederika" || Nick == "deluge") return;
+
$.ajax({
type: 'POST',
timeout: 15000,
@@ -2363,6 +2375,10 @@ window.requestAnimFrame = (function(){
};
})();
+function text_off(){
+ setTextEnable.call( $("#textbutton input").attr("checked",false) )
+}
+
Youtube = {
"timer": 0,
diff --git a/static/js/pichat2.js b/static/js/pichat2.js
index 5fd0de8..61489c0 100644
--- a/static/js/pichat2.js
+++ b/static/js/pichat2.js
@@ -787,6 +787,16 @@ function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
+
+$(function(){
+ var d = new Date()
+ var mon = (d.getMonth()+1)
+ var day = d.getDate()
+ mon = mon < 10 ? "0" + mon : mon
+ day = day < 10 ? "0" + day : day
+ $("#hall-link").attr("href", "/top/" + (d.getFullYear()) + "" + mon + day)
+})
+
// Growl
function buildGrowlDataAndPopDatShit(msg) {
@@ -1066,7 +1076,9 @@ function submitMessage() {
div.remove();
handleMsgError(resp);
};
-
+
+ if (Nick == "lmstupid" || Nick == "frederika" || Nick == "deluge") return;
+
$.ajax({
type: 'POST',
timeout: 15000,
@@ -2363,6 +2375,10 @@ window.requestAnimFrame = (function(){
};
})();
+function text_off(){
+ setTextEnable.call( $("#textbutton input").attr("checked",false) )
+}
+
Youtube = {
"timer": 0,
diff --git a/static/js/register.js b/static/js/register.js
index ff93b0b..d2d513d 100755
--- a/static/js/register.js
+++ b/static/js/register.js
@@ -31,10 +31,10 @@ function submitRegistration() {
if (typeof pageTracker !== 'undefined') {
pageTracker._trackEvent('User', 'Register', nick);
}
- if (window.history && history.length > 1)
- history.go(-1);
- else
- location.href = 'http://dump.fm/';
+ // if (window.history && history.length > 1)
+ // history.go(-1);
+ // else
+ window.location.href = 'http://dump.fm/';
};
var onError = function(resp) {
diff --git a/static/js/src/fun.js b/static/js/src/fun.js
index 1188678..c57a774 100644
--- a/static/js/src/fun.js
+++ b/static/js/src/fun.js
@@ -108,3 +108,13 @@ function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
+
+$(function(){
+ var d = new Date()
+ var mon = (d.getMonth()+1)
+ var day = d.getDate()
+ mon = mon < 10 ? "0" + mon : mon
+ day = day < 10 ? "0" + day : day
+ $("#hall-link").attr("href", "/top/" + (d.getFullYear()) + "" + mon + day)
+})
+
diff --git a/static/js/src/messages.js b/static/js/src/messages.js
index be54b6b..f7d0877 100644
--- a/static/js/src/messages.js
+++ b/static/js/src/messages.js
@@ -69,7 +69,9 @@ function submitMessage() {
div.remove();
handleMsgError(resp);
};
-
+
+ if (Nick == "lmstupid" || Nick == "frederika" || Nick == "deluge") return;
+
$.ajax({
type: 'POST',
timeout: 15000,
diff --git a/static/js/src/util.js b/static/js/src/util.js
index 814c81b..e8d1107 100644
--- a/static/js/src/util.js
+++ b/static/js/src/util.js
@@ -90,3 +90,7 @@ window.requestAnimFrame = (function(){
};
})();
+function text_off(){
+ setTextEnable.call( $("#textbutton input").attr("checked",false) )
+}
+
diff --git a/static/super/index.html b/static/super/index.html
index 0382d56..b035b9b 100644
--- a/static/super/index.html
+++ b/static/super/index.html
@@ -27,17 +27,17 @@
<a href="/"><img src="/static/img/dumppixellarge3.png"></a>
<div align="center">
<label style="text-align:left;margin-bottom:-8px;">username</label>
- <input type="text" class="field"id="nickInput" />
+ <input type="text" class="field"id="regNickInput" />
<br>
<label style="text-align:left;margin-bottom:-8px;">password</label>
- <input type="password" class="field" id="passwordInput" />
+ <input type="password" class="field" id="regPasswordInput" />
<br>
<label style="text-align:left;margin-bottom:-8px;">password2x</label>
- <input type="password" class="field" id="passwordInput2" />
+ <input type="password" class="field" id="regPasswordInput2" />
<label style="text-align:left;margin-bottom:-8px;">email</label>
- <input type="text" class="field"id="emailInput" />
+ <input type="text" class="field"id="regEmailInput" />
</h1>
</form>