diff options
| author | dumpfmprod <dumpfmprod@ubuntu.(none)> | 2012-12-29 23:32:23 -0500 |
|---|---|---|
| committer | dumpfmprod <dumpfmprod@ubuntu.(none)> | 2012-12-29 23:32:23 -0500 |
| commit | c422e5bead4dd4ed9da274947df8edfb473537ea (patch) | |
| tree | 27d8065c74c99ca80e05ca2cab93f53d0882b146 /static | |
| parent | 65263103e2aba86a1735cb3a699a1350ae739c37 (diff) | |
reg open/closed html
Diffstat (limited to 'static')
| -rw-r--r-- | static/js/admin.js | 4 | ||||
| -rw-r--r-- | static/js/pichat.js | 12 | ||||
| -rw-r--r-- | static/js/pichat2.js | 12 | ||||
| -rw-r--r-- | static/js/src/util.js | 12 | ||||
| -rw-r--r-- | static/register-closed.html | 48 | ||||
| -rw-r--r-- | static/register-open.html | 67 | ||||
| -rw-r--r-- | static/register.html | 85 |
7 files changed, 206 insertions, 34 deletions
diff --git a/static/js/admin.js b/static/js/admin.js index 948fa99..422f818 100644 --- a/static/js/admin.js +++ b/static/js/admin.js @@ -63,6 +63,8 @@ Admin.mute = function(nick) { }; Admin.cancelMute = function(id, nick) { + alert ("cancelling mutes disabled w/e"); + return; var reason = $('<textarea name="reason" rows="4" cols="30">'); var html = $('<div>') .append($('<div>').text('Cancelling mute for ' + nick)) @@ -120,4 +122,4 @@ $('.msgDiv').live('mouseleave', function() { }) -*/
\ No newline at end of file +*/ diff --git a/static/js/pichat.js b/static/js/pichat.js index ad48981..5f20803 100644 --- a/static/js/pichat.js +++ b/static/js/pichat.js @@ -2335,6 +2335,18 @@ function timeFunc(f){ // console.log((new Date().getTime()) - start + " msecs"); return res; } + +window.requestAnimFrame = (function(){ + return window.requestAnimationFrame || + window.webkitRequestAnimationFrame || + window.mozRequestAnimationFrame || + window.oRequestAnimationFrame || + window.msRequestAnimationFrame || + function( callback ){ + window.setTimeout(callback, 1000 / 60); + }; +})(); + Youtube = { "timer": 0, diff --git a/static/js/pichat2.js b/static/js/pichat2.js index ad48981..5f20803 100644 --- a/static/js/pichat2.js +++ b/static/js/pichat2.js @@ -2335,6 +2335,18 @@ function timeFunc(f){ // console.log((new Date().getTime()) - start + " msecs"); return res; } + +window.requestAnimFrame = (function(){ + return window.requestAnimationFrame || + window.webkitRequestAnimationFrame || + window.mozRequestAnimationFrame || + window.oRequestAnimationFrame || + window.msRequestAnimationFrame || + function( callback ){ + window.setTimeout(callback, 1000 / 60); + }; +})(); + Youtube = { "timer": 0, diff --git a/static/js/src/util.js b/static/js/src/util.js index fdfd1c9..814c81b 100644 --- a/static/js/src/util.js +++ b/static/js/src/util.js @@ -78,3 +78,15 @@ function timeFunc(f){ // console.log((new Date().getTime()) - start + " msecs"); return res; } + +window.requestAnimFrame = (function(){ + return window.requestAnimationFrame || + window.webkitRequestAnimationFrame || + window.mozRequestAnimationFrame || + window.oRequestAnimationFrame || + window.msRequestAnimationFrame || + function( callback ){ + window.setTimeout(callback, 1000 / 60); + }; +})(); + diff --git a/static/register-closed.html b/static/register-closed.html new file mode 100644 index 0000000..7ccf80d --- /dev/null +++ b/static/register-closed.html @@ -0,0 +1,48 @@ +<html> + <head> + <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script> + <script type="text/javascript" src="/static/js/underscore-min.js"></script> + <script type="text/javascript" src="/static/js/register.js"></script> + <script> + $(document).ready(initRegister); + </script> + <link rel="stylesheet" type="text/css" href="static/css/index.css"> + <link rel="shortcut icon" href="static/favicon.ico"> + <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> + <META NAME="keywords" CONTENT="dump.fm, image chat, realtime, internet 3.0, dump, dump fm, image dump, pictures, image links, image board"> + <META NAME="description" CONTENT="Talk with pictures!"> + <title>dump.fm - register</title></head> + <body> + + <div id="rapper"></div> + <div id="content" style="z-index:77;height:100%;"> + + <div id="main" align="center"> + + <div id="passwordreset"> + <div id="passwordreset"> + <div id="logo-and-text"> + <a href="/"><img src="/static/img/dumppixellarge3.png"></a> + <div align="center"> + <label style="text-align:center;margin-bottom:10px;">Registration is currently closed. + + <br><br> + Maybe ask a friend?</label> + + </div> + </div> + </div> + </div> + + <script type="text/javascript"> + var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); + document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); + </script> + <script type="text/javascript"> + try { + var pageTracker = _gat._getTracker("UA-12364576-1"); + pageTracker._trackPageview(); + } catch(err) {}</script> + + </body> +</html> diff --git a/static/register-open.html b/static/register-open.html new file mode 100644 index 0000000..0382d56 --- /dev/null +++ b/static/register-open.html @@ -0,0 +1,67 @@ +<html><head> + <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script> + <script type="text/javascript" src="http://dump.fm//static/js/underscore-min.js"></script> + <script type="text/javascript" src="http://dump.fm//static/js/register.js"></script> + <script> + $(document).ready(initRegister); + </script> + <link rel="stylesheet" type="text/css" href="http://dump.fm/static/css/index.css"> + + <link rel="shortcut icon" href="static/favicon.ico"> + <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> + <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> + <META NAME="keywords" CONTENT="dump.fm, image chat, realtime, internet 3.0, dump, dump fm, image dump, pictures, image links, image board"> + <META NAME="description" CONTENT="Talk with pictures!"> + <title>dump.fm - register</title></head> +<body> + +<div id="rapper"></div> +<div id="content" style="z-index:77;"> + +<div id="main" align="center"> + + <div id="passwordreset"> + <img src="/static/img/furie3.png" id="furie3" /> + <div id="passwordreset"> + <div id="logo-and-text"> + <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" /> + <br> + + <label style="text-align:left;margin-bottom:-8px;">password</label> + <input type="password" class="field" id="passwordInput" /> + <br> + <label style="text-align:left;margin-bottom:-8px;">password2x</label> + <input type="password" class="field" id="passwordInput2" /> + + <label style="text-align:left;margin-bottom:-8px;">email</label> + <input type="text" class="field"id="emailInput" /> + </h1> + + </form> + + <br> + + + <div align="center"> + <input type="submit" class="submit" id="submit" value="Register!" /> + </div> + </div> + </div> + </div> +</div> + +<script type="text/javascript"> +var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); +document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); +</script> +<script type="text/javascript"> +try { +var pageTracker = _gat._getTracker("UA-12364576-1"); +pageTracker._trackPageview(); +} catch(err) {}</script> + +</body> +</html> diff --git a/static/register.html b/static/register.html index 7ccf80d..0382d56 100644 --- a/static/register.html +++ b/static/register.html @@ -1,48 +1,67 @@ -<html> - <head> +<html><head> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script> - <script type="text/javascript" src="/static/js/underscore-min.js"></script> - <script type="text/javascript" src="/static/js/register.js"></script> + <script type="text/javascript" src="http://dump.fm//static/js/underscore-min.js"></script> + <script type="text/javascript" src="http://dump.fm//static/js/register.js"></script> <script> $(document).ready(initRegister); </script> - <link rel="stylesheet" type="text/css" href="static/css/index.css"> - <link rel="shortcut icon" href="static/favicon.ico"> + <link rel="stylesheet" type="text/css" href="http://dump.fm/static/css/index.css"> + + <link rel="shortcut icon" href="static/favicon.ico"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> + <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <META NAME="keywords" CONTENT="dump.fm, image chat, realtime, internet 3.0, dump, dump fm, image dump, pictures, image links, image board"> <META NAME="description" CONTENT="Talk with pictures!"> <title>dump.fm - register</title></head> - <body> +<body> + +<div id="rapper"></div> +<div id="content" style="z-index:77;"> - <div id="rapper"></div> - <div id="content" style="z-index:77;height:100%;"> +<div id="main" align="center"> - <div id="main" align="center"> + <div id="passwordreset"> + <img src="/static/img/furie3.png" id="furie3" /> + <div id="passwordreset"> + <div id="logo-and-text"> + <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" /> + <br> + + <label style="text-align:left;margin-bottom:-8px;">password</label> + <input type="password" class="field" id="passwordInput" /> + <br> + <label style="text-align:left;margin-bottom:-8px;">password2x</label> + <input type="password" class="field" id="passwordInput2" /> + + <label style="text-align:left;margin-bottom:-8px;">email</label> + <input type="text" class="field"id="emailInput" /> + </h1> - <div id="passwordreset"> - <div id="passwordreset"> - <div id="logo-and-text"> - <a href="/"><img src="/static/img/dumppixellarge3.png"></a> - <div align="center"> - <label style="text-align:center;margin-bottom:10px;">Registration is currently closed. - - <br><br> - Maybe ask a friend?</label> - - </div> - </div> - </div> + </form> + + <br> + + + <div align="center"> + <input type="submit" class="submit" id="submit" value="Register!" /> </div> + </div> + </div> + </div> +</div> - <script type="text/javascript"> - var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); - document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); - </script> - <script type="text/javascript"> - try { - var pageTracker = _gat._getTracker("UA-12364576-1"); - pageTracker._trackPageview(); - } catch(err) {}</script> +<script type="text/javascript"> +var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); +document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); +</script> +<script type="text/javascript"> +try { +var pageTracker = _gat._getTracker("UA-12364576-1"); +pageTracker._trackPageview(); +} catch(err) {}</script> - </body> +</body> </html> |
