diff options
Diffstat (limited to 'template')
| -rw-r--r-- | template/rooms/dumptest.st | 41 |
1 files changed, 35 insertions, 6 deletions
diff --git a/template/rooms/dumptest.st b/template/rooms/dumptest.st index 0002070..f041c1b 100644 --- a/template/rooms/dumptest.st +++ b/template/rooms/dumptest.st @@ -76,10 +76,40 @@ _____ ___ ___ ___ ___ ___ <script src="$domain$/static/js/fullscreen.js"></script> <script> jQuery(document).ready(initChat); + var Nick = $json_user_nick$; + var Room = $json_room_key$; + var Timestamp = $timestamp$; + $if(isadmin)$ + var IsAdmin = true; + $else$ + var IsAdmin = false; + $endif$ + if (Nick) { + jQuery(document).ready(function() { setupUpload('upload', Room); }); + } + function showAlert() { alert('MUST LOGIN'); } + var newwindow; + function pop(url) { + newwindow=window.open(url,'name','height=50,width=400,left=20,top=20,location=0,status=0,scrollbar=0,resizable=0'); + if (window.focus) {newwindow.focus()} + } + jQuery(Away.startTitleUpdater); + jQuery(initChatMsgs); + $if(user_nick)$ // + $else$ + function showAlert() { + alert('Join dump.fm @ http://dump.fm/register'); + } + + $endif$ </script> <script>jQuery(initLogin)</script> <script>initFullscreen()</script> <style> + @-webkit-keyframes b { + from {-webkit-transform:rotatey(-360deg) rotateX(-360deg) scale(7);} + to {-webkit-transform:rotatey(360deg) rotateX(0deg) scale(1);} + } html, body, div, img { margin: 0; padding: 0; border: 0; overflow: hidden; font-family: Monaco, "Courier New", Courier, monospace; } input { font-family: Monaco, "Courier New", Courier, monospace; @@ -96,10 +126,12 @@ _____ ___ ___ ___ ___ ___ width: 400px; margin-left: -200px; left: 50%; - padding: 10px; + padding: 10px 10px 20px 10px; top: 20%; text-align: justify; font-size:12px; + -webkit-animation:b 1s ease-out; + } #loginbox img{ max-width:100%; @@ -131,7 +163,7 @@ _____ ___ ___ ___ ___ ___ #spinner { display: none; } #forgetpw a{ font-size: 80%; - margin-top: -15px; + margin-top: -10px; position: absolute } #fav-indicator { @@ -166,7 +198,6 @@ _____ ___ ___ ___ ___ ___ margin-top: 0; margin-left: 0; } #loginbox form p{ - font-size:16px; margin-bottom:5px; } #loginbox form p:first-child{ @@ -184,13 +215,11 @@ _____ ___ ___ ___ ___ ___ left: 0;} #big-image {cursor:url('http://dump.fm/static/img/thumbs/heartfaved.gif'), pointer} </style> - - </head> <body> <div class="notloggedin"> <div id="big-image"></div> - <div id="loginbox"> <a href="#" class="close"onclick="jQuery('#loginbox').hide(); return false;">x</a> + <div id="loginbox"> <a href="#" class="close"onclick="jQuery('#loginbox').fadeOut(); return false;">x</a> <img src="http://dump.fm/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">Register</a> to join the club. <form onsubmit="login(); return false;" class="log-in"> |
