diff options
Diffstat (limited to 'template')
| -rw-r--r-- | template/banner.st | 16 | ||||
| -rw-r--r-- | template/banner_dis.st | 6 | ||||
| -rw-r--r-- | template/chat.st | 22 | ||||
| -rw-r--r-- | template/fullscreen.ryder.st | 46 | ||||
| -rw-r--r-- | template/fullscreen.st | 89 | ||||
| -rw-r--r-- | template/fullscreen2.st | 79 | ||||
| -rw-r--r-- | template/head.st | 2 | ||||
| -rw-r--r-- | template/log.st | 8 | ||||
| -rw-r--r-- | template/picnic.st | 16 | ||||
| -rw-r--r-- | template/popular.st | 8 | ||||
| -rw-r--r-- | template/userlog.st | 8 |
11 files changed, 277 insertions, 23 deletions
diff --git a/template/banner.st b/template/banner.st index 5d629ca..7ab45a6 100644 --- a/template/banner.st +++ b/template/banner.st @@ -8,7 +8,10 @@ </div> </div> <div class="white"> - <div id="bar7"> + $if(!user_nick)$ + <div id="bar7dis"> $else$ + <div id="bar7"> + $endif$ <div style="float: left;"> <div align="center"> $if(user_nick)$ @@ -53,7 +56,7 @@ $else$ - <a href="/register" id="registerlink">The coolest way to share pictures. Click here to get started!</a> + <a href="http://dump.fm/register" id="disregister">Register</a> $endif$ </div> </div> @@ -81,8 +84,8 @@ <div id="topic"></div> <div id="dumplist"> $if(user_nick)$ -<a href="http://dump.fm/static/sticker.html">SUPPORT DUMP.FM! BUY SOME STICKERS!!</a> $else$ Talk with pictures! $endif$ - <a href="http://dis.dump.fm">- dis magazine new style options</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$ Talk with pictures! $endif$ + $if(isadmin)$ -<a href="http://vip.dump.fm/"> NAUGHTY BOYS DELIGHT </a> $endif$ </div> @@ -102,6 +105,9 @@ $else$ $form_login()$ </div> $endif$ + + + <div id="search-results"> <div id="search-controls"> <a id="search-control-previous">previous</a> @@ -114,4 +120,4 @@ $endif$ </div> <div align="center"><br /></div> </div> -</div>
\ No newline at end of file +</div> diff --git a/template/banner_dis.st b/template/banner_dis.st index 1e075b8..1afc15e 100644 --- a/template/banner_dis.st +++ b/template/banner_dis.st @@ -8,7 +8,7 @@ $else$ $endif$ </style> - +<link rel="image_src" href="http://dismagazine.com/uploads/2010/08/idgi-arrow-glasses-dis-dump.png" /> <div id="rapper7"> <div id="header7"> <div id="logoicons"> @@ -35,7 +35,7 @@ $else$ $else$ - <a href="http://dump.fm/static/registerdis.html" id="disregister">Register</a> + <a href="http://dump.fm/registerdis" id="disregister">Register</a> $endif$ </div> @@ -118,7 +118,7 @@ $if(!user_nick)$ <div id="dis_content" name="content"> <p> - If you already have an account, <strong><a href="http://dis.dump.fm/login" class="signin">sign in</a></strong>. If not, <strong><a href="http://dis.dump.fm/register">register now</a></strong>. + If you already have an account, <strong><a href="http://dis.dump.fm/login" class="signin">sign in</a></strong>. If not, <strong><a href="http://dump.fm/registerdis">register now</a></strong>. </p> </div> <div id="dis_welcome"> diff --git a/template/chat.st b/template/chat.st index 21ae381..f4c4162 100644 --- a/template/chat.st +++ b/template/chat.st @@ -71,6 +71,28 @@ $if(dis)$ $banner_dis()$ $else$ $banner()$ + $if(!user_nick)$ + +<div id="dis_content" name="content"> + <p> + If you already have an account, <strong><a href="http://dump.fm/login" class="signin">sign in</a></strong>. If not, <strong><a href="http://dump.fm/register">register now</a></strong>. + </p> +</div> +<div id="dis_welcome"><center> + <a href="/"><img src="$domain$/static/img/dumppixellarge3.png"></a> + + <div id="midtxt"><a href="/">dump.fm</a> lets you <i>talk with pictures!</i> Paste an image url, upload, or snap a pic right from your webcam. Talk to friends, fav images, and keep track of the pix you love! + </div> + </center> +</div> + <link href="/static/css/pages.css" rel="stylesheet" type="text/css" media="screen" /> + <link href="/static/css/header.css" rel="stylesheet" type="text/css" media="screen" /> + <script type="text/javascript" src="/static/js/win.js"></script> +<script type="text/javascript"> + var topZ = 7; + CreateDropdownWindow('', '500px', true, 'dis_welcome', 300, 70); +</script> +$endif$ $endif$ diff --git a/template/fullscreen.ryder.st b/template/fullscreen.ryder.st new file mode 100644 index 0000000..83d5ae0 --- /dev/null +++ b/template/fullscreen.ryder.st @@ -0,0 +1,46 @@ +<html><head> +<meta http-equiv="content-type" content="text/html; charset=UTF-8"> + + + $head()$ + <title>$roomname$ dump.fm</title> + + <script> + jQuery(document).ready(initChat); + var Nick = $json_user_nick$; + var Room = $json_room_key$; + var Timestamp = $timestamp$; + var Version = $version$; + </script> + + + <style type="text/css"> + *{ + margin:0; + padding:0; + font:60px "Gotham Black", Arial, sans-serif; + color:#FFF; + } + #full img{ +width:100%;height:100%; + } + .content{ + width:100%;height:100%; + + } + .content img{ + width:100%;height:100%; + + } + </style> +</head><body> + +$messages: { m | + <div id="message-$m.message_id$"> + <div id="full"><span class="content"> +<img src="$m.content$"> +</span></div> +}$ +</div> + +</body></html>
\ No newline at end of file diff --git a/template/fullscreen.st b/template/fullscreen.st index 906cbe6..0ae2952 100644 --- a/template/fullscreen.st +++ b/template/fullscreen.st @@ -1,17 +1,102 @@ <html> <head> +$head()$ +<title>dump.fm - fullscreen</title> + <script type="text/javascript" src="$domain$/static/js/invalid_domains.js"></script> + <script type="text/javascript" src="$domain$/static/webcam/webcam.js"></script> + <script type="text/javascript" src="$domain$/static/js/ajaxupload.js"></script> +$if(user_nick)$ + <script type="text/javascript" src="$domain$/json/$user_nick$/favorites"></script> +$endif$ <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> + <script> + jQuery(document).ready(initChat); + var Nick = $json_user_nick$; + var Room = $json_room_key$; + var Timestamp = $timestamp$; + var Version = $version$; +$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(startTitleUpdater); + jQuery(initChatMsgs); + $if(user_nick)$ // + $else$ + function showAlert() { + alert('Join dump.fm @ http://dump.fm/register'); + } + +$endif$ + </script> <style> html, body, div, img { margin: 0; padding: 0; border: 0; overflow: hidden; } #controls { display: none; } -#big-image img { width: 100%; height: 100%; } +#big-image img { width: 100%; height: 100%;} +#big-image{font-size:120px;text-align: justify; text-justify: newspaper; text-shadow: 1px 1px #eee, 2px 2px #f0e, 3px 3px #eee,4px 4px #f0e,5px 5px #eee, 3px 3px #eee,4px 4px #f0e,5px 5px #eee,6px 6px #f0e,6px 6px #eee,7px 7px #f0e,7px 7px #eee,8px 8px #f0e,8px 8px #eee,9px 9px #f0e,9px 9px #eee; font-family: Monaco, "Courier New", Courier, monospace;color:#fff} +#tools-button{position:absolute;height:10px;width:10px;background-color:#eee;bottom:37px;left:2px;} +#msgInputDiv{display:none;} + +#msgInputDiv { + position:fixed; + min-width:500px; + z-index:100; +left:3px;opacity:0.5; +bottom: 0px; + width: 100%; +} + +#msgInput { + z-index:100; + left:-3px;border:1px solid #000; + position:relative;border-right:0px; +height:35px; +font-size:20px; + min-width:500px;padding-right:38px;padding-left:1px; + box-shadow: 2px 3px 4px #eee; +} +.msgInput { + min-width:500px;width:100%; + z-index:100;background-color:#eff5fb; +} +#msginputrapper{ +margin-right:0; +height:35px; + +} </style> </head> <body> -<div id="big-image"></div> +<div id="big-image">waiting 4 new image from dump.fm.............</div> <div id="controls"></div> +<!-- +<button id="tools-button"></button> + <div id="msgInputDiv"> + <div id="msginputrapper"> <input id="msgInput" class="msgInput" type="input" /> </div> + <input id="msgSubmit" type="submit" value="Send"/> + + <input id="upload" value="Upload" type="submit"> + <input id="webcam-button-upload" value="Webcam" type="submit"> + <input id="webcam-button-snap" value="Send Pic" type="submit" class="invisible blink"> + <button id="palette-button"><img src="/static/img/palette.gif"></button> + </div><div id="effects-msg"class="invisible">click on your face for effects!</div> + </div></div> + + + + <div id="palette"><div id="palette-thumbs"></div></div>--> <script> Timestamp = $timestamp$; initFullscreen() diff --git a/template/fullscreen2.st b/template/fullscreen2.st new file mode 100644 index 0000000..2927f47 --- /dev/null +++ b/template/fullscreen2.st @@ -0,0 +1,79 @@ +<html><head> +<meta http-equiv="content-type" content="text/html; charset=UTF-8"> + + + $head()$ + <title>$roomname$ dump.fm</title> + + <script> + jQuery(document).ready(initChat); + var Nick = $json_user_nick$; + var Room = $json_room_key$; + var Timestamp = $timestamp$; + var Version = $version$; + </script> + <script type="text/javascript" src="$domain$/static/js/supersized.js"></script> + <script type="text/javascript"> + + jQuery(function(){ + jQuery.fn.supersized.options = { + startwidth: 1024, + startheight: 768, + minsize: .50, + slideshow: 1, + slideinterval: 5000 + }; + jQuery('#supersize').supersized(); + }); + +</script> + + <style type="text/css"> + *{ + margin:0; + padding:0; + font:60px "Gotham Black", Arial, sans-serif; + color:#FFF; + } + img{ + border:none; + } + body { + overflow:hidden;/*Needed to eliminate scrollbars*/ + } + #content{ + margin:0px auto; + height:100px; + width:100%; + bottom:5%; + background-color:#262626; + border-top:3px solid #4F4F4F; + border-bottom:3px solid #4F4F4F; + position:absolute; + } + #contentframe{ + text-align:center; + } + + /*Supersize Plugin Styles*/ + #supersize img, #supersize a{ + height:100%; + width:100%; + display:none; + } + #supersize .activeslide, #supersize .activeslide img{ + display:inline; + } + + </style> +</head><body> +$messages: { m | +<div style="width: 1224px; height: 918px;" id="supersize"> + <div id="message-$m.message_id$"> + <span class="content">$m.content$</span> +</div> </div> + +}$ + + +</body></html>
\ No newline at end of file diff --git a/template/head.st b/template/head.st index e5b03c8..4171858 100644 --- a/template/head.st +++ b/template/head.st @@ -28,6 +28,6 @@ $endif$ <!--[if IE]> <script> -window.location.pathname = "http://dump.fm/error/ie" +window.location = "http://dump.fm/error/ie"; </script> <![endif]--> diff --git a/template/log.st b/template/log.st index c747305..5a36611 100644 --- a/template/log.st +++ b/template/log.st @@ -39,15 +39,15 @@ <div id="msginputrapper"> $if(prev)$ - <a href="http://$roomkey$dump.fm/log/$prev$"><input id="prevbutton" value="<- Prev"></a> + <a href="http://$roomkey$dump.fm/log/$prev$"><input id="prevbutton" value="<- Prev" readonly="true"></a> $else$ -<input id="prevbutton"> +<input id="prevbutton" readonly="true"> $endif$ $if(next)$ - <a href="http://$roomkey$dump.fm/log/$next$""> <input id="nextbutton" value="Next ->"></a> + <a href="http://$roomkey$dump.fm/log/$next$""> <input id="nextbutton" value="Next ->" readonly="true"></a> $else$ - <input id="nextbutton" value="nomodumps"> + <input id="nextbutton" value="nomodumps" readonly="true"> $endif$ diff --git a/template/picnic.st b/template/picnic.st new file mode 100644 index 0000000..e53af50 --- /dev/null +++ b/template/picnic.st @@ -0,0 +1,16 @@ +<html><head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>DIS/dump - 8/14/10 PICNIC</title> + $head()$ +<style> +#picnic{position:fixed;height:100%;width:100%} +#picnic img{position:fixed;height:100%;width:100%} +</style> +</head> + +<body> +<div id="picnic"> +<img src="http://dump.fm/images/20100812/1281635098481-dumpfm-pixelfuck-Untitled-66.gif"> +</div> + + +</body></html>
\ No newline at end of file diff --git a/template/popular.st b/template/popular.st index b48a999..65eeece 100644 --- a/template/popular.st +++ b/template/popular.st @@ -28,15 +28,15 @@ <div id="msgInputDiv"> <div id="msginputrapper"> $if(prev)$ - <a href="/$nick$/whofaved/$prev$"><input id="prevbutton" value="<- Prev"></a> + <a href="/$nick$/whofaved/$prev$"><input id="prevbutton" value="<- Prev" readonly="true"></a> $else$ - <input id="prevbutton"> + <input id="prevbutton" readonly="true"> $endif$ $if(next)$ - <a href="/$nick$/whofaved/$next$"> <input id="nextbutton" value="Next ->"></a> + <a href="/$nick$/whofaved/$next$"> <input id="nextbutton" value="Next ->" readonly="true"></a> $else$ - <input id="nextbutton" value="nomodumps"> + <input id="nextbutton" value="nomodumps" readonly="true"> $endif$ </div> <div id="footerc"> diff --git a/template/userlog.st b/template/userlog.st index 5c925fd..0019499 100644 --- a/template/userlog.st +++ b/template/userlog.st @@ -28,15 +28,15 @@ <div id="msgInputDiv"> <div id="msginputrapper"> $if(prev)$ - <a href="/$nick$/$prev$"><input id="prevbutton" value="<- Prev"></a> + <a href="/$nick$/$prev$"><input id="prevbutton" value="<- Prev" readonly="true"></a> $else$ - <input id="prevbutton"> + <input id="prevbutton" readonly="true"> $endif$ $if(next)$ - <a href="/$nick$/$next$"> <input id="nextbutton" value="Next ->"></a> + <a href="/$nick$/$next$"> <input id="nextbutton" value="Next ->" readonly="true"></a> $else$ - <input id="nextbutton" value="nomodumps"> + <input id="nextbutton" value="nomodumps" readonly="true"> $endif$ </div> <div id="footerc"> |
