diff options
| author | yo momma <shutup@oops.wtf> | 2026-01-27 03:33:16 +0000 |
|---|---|---|
| committer | yo momma <shutup@oops.wtf> | 2026-01-27 03:33:16 +0000 |
| commit | fc9a4ea22eb91757b95cbe1bf1708be17fc2337a (patch) | |
| tree | 76a0122149e3288ee21d7fb6d0410b1b7b8970a4 /template/fullscreen.st | |
| parent | 25b74138d68ade87689e714f10e1f3116da5bbee (diff) | |
- Replace hardcoded dump.fm URLs with host/scheme config\n- Add optional passwordless login flow\n- Update templates/static assets to avoid blocked HTTP resources\n- Ignore local uploads/SQL dumps
Diffstat (limited to 'template/fullscreen.st')
| -rwxr-xr-x | template/fullscreen.st | 68 |
1 files changed, 33 insertions, 35 deletions
diff --git a/template/fullscreen.st b/template/fullscreen.st index 346597b..9e61957 100755 --- a/template/fullscreen.st +++ b/template/fullscreen.st @@ -1,13 +1,13 @@ <html> <head> - <title>dump.fm - fullscreen</title> - <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> - <script src="$domain$/static/js/pichat.js"></script> - <script src="$domain$/static/js/fullscreen.js"></script> - $if(user_nick)$ - $else$ - <script src="$domain$/static/js/register.js"></script> - $endif$ + <title>dump.fm - fullscreen</title> + <script src="/static/js/jquery-1.4.2.min.js?v=20260126"></script> + <script src="$domain$/static/js/pichat.js"></script> + <script src="$domain$/static/js/fullscreen.js?v=20260126"></script> + $if(user_nick)$ + $else$ + <script src="$domain$/static/js/register.js"></script> + $endif$ <script> var LoggedIn = $if(user_nick)$true$else$false$endif$; var Timestamp = $timestamp$; @@ -155,7 +155,7 @@ #toplogo{position: fixed;display:none; top: 0; left: 0;} - #big-image {cursor:url('http://hump.fm/static/img/thumbs/heartfaved.gif'), pointer} + #big-image {cursor:url('/static/img/thumbs/heartfaved.gif'), pointer} </style> <script>jQuery(initLogin)</script> </head> @@ -165,22 +165,20 @@ $if(user_nick)$ $else$ <div id="loginbox" class="box b"> <a href="#" class="close"onclick="jQuery('#loginbox').fadeOut(); return false;">x</a> - <img src="http://hump.fm/static/dumplogo.png"><br> + <img src="/static/dumplogo.png"><br> <p class="block1"> - this is dump.fm, the first ever real-time image sharing website. - behind this is a fullscreen feed of whats currently being posted. - <a href="/register" class="bluelink" id="reglink">Register</a> to join the club. - <form onsubmit="login(); return false;" class="log-in"> - <p>username <input id="nickInput" tabindex="1"></p> - <p>password <input id="passwordInput" type="password" tabindex="2"></p> - <p> - remember me? <input id="remembermeInput" type="checkbox" checked="true" tabindex="4"> <input type="submit" value="LOGIN" tabindex="3"></p> - <img id="spinner" src="/static/img/spinner.gif"> - </form> - <div id="errormsg"></div> - <div id="forgetpw"><a href="$domain$/reset">forgot password?</a></div> - </div> - </div> + this is dump.fm, the first ever real-time image sharing website. + behind this is a fullscreen feed of whats currently being posted. + type a username below to join (new usernames create an account instantly; no password required). + <form onsubmit="login(); return false;" class="log-in"> + <p>username <input id="nickInput" tabindex="1"></p> + <p> + remember me? <input id="remembermeInput" type="checkbox" checked="true" tabindex="2"> <input type="submit" value="LOGIN" tabindex="3"></p> + <img id="spinner" src="/static/img/spinner.gif"> + </form> + <div id="errormsg"></div> + </div> + </div> <div id="registerbox" class="box"> <a href="/"><img src="/static/img/dumppixellarge3.png"></a> <span class="regclosed"> @@ -214,17 +212,17 @@ <script> function choice(a) { return a[Math.floor(Math.random()*a.length)] } var urls = [ - "http://dumpfm.s3.amazonaws.com/images/20100601/1275428508049-dumpfm-foot-oie_oie_overlay-1.gif", - "http://dumpfm.s3.amazonaws.com/images/20100928/1285728674225-dumpfm-timb-running.unicorn.gif", - "http://dumpfm.s3.amazonaws.com/images/20100726/1280119193796-dumpfm-enso-human-condition.gif", - "http://dumpfm.s3.amazonaws.com/images/20100521/1274415795577-dumpfm-ucnv-mx.gif", - "http://hump.fm/images/replaced/20100912/crabmonster.gif", - "http://hump.fm/images/20110927/1317105622918-dumpfm-peachfist-test8scam.gif", - "http://hump.fm/images/20110323/1300915179773-dumpfm-blingscience-fishtank.gif", - "http://hump.fm/images/20110418/1303108538834-dumpfm-LAVARLAMAR-lettuce_lavarlamar.gif", - "http://i.asdf.us/im/84/gradient_horse_1318306378_1322355741_ryz_1337322355_ryz.gif", - "http://dumpfm.s3.amazonaws.com/images/20110724/1311552093462-dumpfm-hologrampa-1291586335941-dumpfm-jeeeelings-cat_face_wink_hologrampa-lettuce.gif", - "http://i.asdf.us/im/be/tt7620731fltt_1315431978.gif" + "https://archive.hump.fm/images/20100601/1275428508049-dumpfm-foot-oie_oie_overlay-1.gif", + "https://archive.hump.fm/images/20100928/1285728674225-dumpfm-timb-running.unicorn.gif", + "https://archive.hump.fm/images/20100726/1280119193796-dumpfm-enso-human-condition.gif", + "https://archive.hump.fm/images/20100521/1274415795577-dumpfm-ucnv-mx.gif", + "https://archive.hump.fm/images/20100912/1284315873224-dumpfm-Neontoast-1283990707508-dumpfm-crunkus-crabtoon.gif", + "https://archive.hump.fm/images/20110927/1317105622918-dumpfm-peachfist-test8scam.gif", + "https://archive.hump.fm/images/20110323/1300915179773-dumpfm-blingscience-fishtank.gif", + "https://archive.hump.fm/images/20110418/1303108538834-dumpfm-LAVARLAMAR-lettuce_lavarlamar.gif", + "https://s3.amazonaws.com/i.asdf.us/im/84/gradient_horse_1318306378_1322355741_ryz_1337322355_ryz.gif", + "https://archive.hump.fm/images/20110724/1311552093462-dumpfm-hologrampa-1291586335941-dumpfm-jeeeelings-cat_face_wink_hologrampa-lettuce.gif", + "https://s3.amazonaws.com/i.asdf.us/im/be/tt7620731fltt_1315431978.gif" ] if (window.location.href.indexOf("nologin") != -1) { jQuery("#loginbox").hide(); |
