summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/about_us.st26
-rwxr-xr-xtemplate/banner.st13
-rwxr-xr-xtemplate/browser.st6
-rw-r--r--template/butt.st1
-rwxr-xr-xtemplate/chat.st33
-rw-r--r--template/directory.st6
-rw-r--r--template/form_login.st2
-rwxr-xr-xtemplate/head.st8
-rw-r--r--template/help.st17
-rwxr-xr-xtemplate/log.st4
-rwxr-xr-xtemplate/logged_dump.st20
-rw-r--r--template/preload.st18
-rw-r--r--template/privacy.st13
-rwxr-xr-xtemplate/profile.st20
-rw-r--r--template/profile.st.save145
-rw-r--r--template/profile_dump.st2
-rw-r--r--template/share_buttons.st8
-rw-r--r--template/single_message.st2
-rw-r--r--template/terms.st13
-rw-r--r--template/test.st84
20 files changed, 340 insertions, 101 deletions
diff --git a/template/about_us.st b/template/about_us.st
index 61c0a4a..14cc454 100644
--- a/template/about_us.st
+++ b/template/about_us.st
@@ -1,8 +1,8 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <link href="/static/pages.css" rel="stylesheet" type="text/css" media="screen"/>
- <link href="/static/win.css" rel="stylesheet" type="text/css" media="screen"/>
+ <link href="/static/css/pages.css" rel="stylesheet" type="text/css" media="screen"/>
+ <link href="/static/css/win.css" rel="stylesheet" type="text/css" media="screen"/>
<script type="text/javascript" src="/static/js/win.js"></script>
<script type="text/javascript">
@@ -20,7 +20,7 @@ jQuery(function()
</head>
<body style="font-family: Arial, Helvetica, sans-serif;
background-color:#ffffee;
- background-image:url(/static/chanbg.png);
+ background-image:url(/static/img/chanbg.png);
background-repeat:repeat-x;
background-position:1 10;
background-attachment:fixed;" onload="
@@ -37,33 +37,33 @@ background-attachment:fixed;" onload="
<div style="overflow:hidden; height:600px; position:absolute;display:none;" id="news">
<div style="padding:0px" id="content" name="content"> <div style="background-color:#fff"><center>
-<img src="/static/dumpclouds.png"><br><br>
+<img src="/static/img/dumpclouds.png"><br><br>
<h5 style="padding:2px;">
-DUMP.FM is a <img src="/static/newanim.gif"> exciting tool for the internets; allowing pictures to be used for realtime communication and collaboration. Users can send image URLs (which display instantly in the chat), upload locally from their hard drive or post a pics right from their webcam. Every image gets stored in your DUMP.FM log, similarly, a log is kept of the entire collaboration.
+DUMP.FM is a <img src="/static/img/newanim.gif"> exciting tool for the internets; allowing pictures to be used for realtime communication and collaboration. Users can send image URLs (which display instantly in the chat), upload locally from their hard drive or post a pics right from their webcam. Every image gets stored in your DUMP.FM log, similarly, a log is kept of the entire collaboration.
</center><br></div></h5>
</div></div>
<div style="display:none;"id="link">
- <div id="content" name="content"style="background-image:url(/static/hearts.gif);background-repeat:repeat;">
-<img src="/static/dumpteam.gif"><br><br>
+ <div id="content" name="content"style="background-image:url(/static/img/hearts.gif);background-repeat:repeat;">
+<img src="/static/img/dumpteam.gif"><br><br>
<h1><br>
<a href="/u/ryder">Ryder Ripps</a> - screams, rapping<br></h1>
- <h2> <img src="/static/dot.gif"> Ryder is also the founder of <a href="http://www.internetarchaeology.org" target="_blank">Internet Archaeology</a></h2>
+ <h2> <img src="/static/img/dot.gif"> Ryder is also the founder of <a href="http://www.internetarchaeology.org" target="_blank">Internet Archaeology</a></h2>
<h1><a href="/u/scottbot">Scott Ostler</a> - clean vocals <br></h1>
- <h2> <img src="/static/dot.gif"> Scott also worked on the development of <a href="http://www.simile-widgets.org/exhibit/"target="_blank">MIT Exhibit</a></h2>
+ <h2> <img src="/static/img/dot.gif"> Scott also worked on the development of <a href="http://www.simile-widgets.org/exhibit/"target="_blank">MIT Exhibit</a></h2>
<h1><a href="/u/timb">Tim Baker</a> - synths, guitars, beats, backing vocals <br></h1>
- <h2> <img src="/static/dot.gif"> Tim also helped make <a href="http://www.delicious.com" target="_blank">delicious</a></h2>
+ <h2> <img src="/static/img/dot.gif"> Tim also helped make <a href="http://www.delicious.com" target="_blank">delicious</a></h2>
<h1><a href="/u/stefan">Stefan Moore</a> - beats, fog machine, lights <br></h1>
- <h2> <img src="/static/dot.gif"> Stefan is also one half of <a href="http://www.that-go.net" target="_blank">That-Go</a></h2>
+ <h2> <img src="/static/img/dot.gif"> Stefan is also one half of <a href="http://www.that-go.net" target="_blank">That-Go</a></h2>
</h1>
</div>
</div>
<div style="display:none;background-color:#fff;"id="contact">
<div id="content" name="content">
- <center><div style="background-color:#fff"><br><br><img src="/static/tvfun.gif"><img src="/static/tvfun.gif"><img src="/static/tvfun.gif"><br><br>
+ <center><div style="background-color:#fff"><br><br><img src="/static/img/tvfun.gif"><img src="/static/img/tvfun.gif"><img src="/static/img/tvfun.gif"><br><br>
<h5><br>
@@ -73,7 +73,7 @@ You can shoot us an email at
</div>
</div>
</div>
-<div id="hugescreen"><img src="/static/hugescreen.png"></div>
+<div id="hugescreen"><img src="/static/img/hugescreen.png"></div>
<div id="footer">
$footer()$
diff --git a/template/banner.st b/template/banner.st
index 9c6198c..02613c6 100755
--- a/template/banner.st
+++ b/template/banner.st
@@ -4,7 +4,6 @@
<div id="logoicons">
<div id="logo7">
<div align="center"><a href="/">dump.fm</a></div>
- <div id="strapline"><img src="/static/talkwith.png" width="179" height="53" /></div>
</div>
<div class="white">
@@ -14,16 +13,16 @@
$if(user_nick)$
- <a href="/log" ><img src="/static/text.gif"width="20px" height="20px"> Log</a>
- <a href="/u/$user_nick$">$if(user_avatar)$<img src="$user_avatar$" width="19px" height="19px" />$else$<img src="/static/home4.gif"width="22px" height="22px" />$endif$ Profile</a>
- <a href="/directory"><img src="/static/directory.gif"width="20px" height="20px" /> Directory</a>
- <a href="/browser"><img src="/static/image_draw.gif"/> Image Search</a>
+ <a href="/log" ><img src="/static/img/log.gif"width="20px" height="20px"> Log</a>
+ <a href="/u/$user_nick$">$if(user_avatar)$<img src="$user_avatar$" width="19px" height="19px" />$else$<img src="/static/img/profile.gif"width="22px" height="22px" />$endif$ Profile</a>
+ <a href="/directory"><img src="/static/img/directory.gif"width="20px" height="20px" /> Directory</a>
+ <a href="/browser"><img src="/static/img/image_draw.gif"/> Image Search</a>
$else$
<div id="registerlink">
-<a href="/register"><img src="/static/ako.gif"width="21px" height="21px" /> Register</a>
+<a href="/register"><img src="/static/img/ako.gif"width="21px" height="21px" /> Register</a>
</div>
@@ -43,7 +42,7 @@
</div>
$endif$
<div id="logout7" class="white">
- <div align="center">$if(user_nick)$ <a href="/logout"><img src="/static/door2.gif" width="16" height="16" /> Logout</a> $else$ $form_login()$ $endif$
+ <div align="center">$if(user_nick)$ <a href="/logout"><img src="/static/img/door.gif" width="16" height="16" /> Logout</a> $else$ $form_login()$ $endif$
</div>
</div>
diff --git a/template/browser.st b/template/browser.st
index 721bb98..8cb6403 100755
--- a/template/browser.st
+++ b/template/browser.st
@@ -2,7 +2,7 @@
<head>
<title>dump.fm | Image Search Beta</title>
$head()$
- <link rel="stylesheet" type="text/css" href="/static/browser.css">
+ <link rel="stylesheet" type="text/css" href="/static/css/browser.css">
<script type="text/javascript" src="/static/gritter/js/jquery.gritter.js"></script>
<link rel="stylesheet" type="text/css" href="/static/gritter/css/jquery.gritter.css" />
@@ -49,9 +49,7 @@
</div>
<div id="messagePane">
<div id="messageList">
- <iframe src="/static/search/browser.html"
- allowtransparency="true"
- scrolling="auto" ></iframe>
+ <iframe src="/static/search/browser.html" allowtransparency="true" scrolling="auto" ></iframe>
</div>
</div>
diff --git a/template/butt.st b/template/butt.st
new file mode 100644
index 0000000..b14df64
--- /dev/null
+++ b/template/butt.st
@@ -0,0 +1 @@
+Hi
diff --git a/template/chat.st b/template/chat.st
index 3bf86ed..f0b5259 100755
--- a/template/chat.st
+++ b/template/chat.st
@@ -7,7 +7,7 @@
$if(user_avatar)$
$else$
- <link rel="stylesheet" type="text/css" href="/static/dumpnewuser.css">
+ <link rel="stylesheet" type="text/css" href="/static/css/dumpnewuser.css">
$endif$
<script type="text/javascript" src="/static/webcam/webcam.js"></script>
<script type="text/javascript" src="/static/js/tooltip.js"></script>
@@ -25,7 +25,7 @@
var IsAdmin = false;
$endif$
</script>
- <script src="/static/away.js"></script>
+ <script src="/static/js/away.js"></script>
<script src="/static/js/ajaxupload.js"></script>
<script>
if (Nick) {
@@ -41,7 +41,7 @@ function pop(url)
}
</script>
</head>
-<body onload="MM_preloadImages('/static/thumbs_up_sm.gif')">
+<body onload="MM_preloadImages('/static/img/thumbs_up_sm.gif')">
$banner()$
<div id="chatrap">
<div id="logc">
@@ -53,7 +53,7 @@ function pop(url)
<div id="userList">
$users: { u |
<div class="username"><a href="/u/$u.nick$" target="_blank">
- $if(u.avatar)$<img src="$u.avatar$" width="50" height="50">$else$<img src="/static/noinfo.png"> $endif$
+ $if(u.avatar)$<img src="$u.avatar$" width="50" height="50">$else$<img src="/static/img/noinfo.png"> $endif$
$u.nick$</a><br>
</div>
}$
@@ -68,7 +68,7 @@ function pop(url)
<div id="faving" style="display:none;">
-<a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('like','','/static/thumbs_up_sm.gif',1)"><img src="/static/thumbup.gif" alt="like it!" name="like" width="14" height="15" border="0" id="like" /></a>
+<a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('like','','/static/img/thumbs_up_sm.gif',1)"><img src="/static/thumbup.gif" alt="like it!" name="like" width="14" height="15" border="0" id="like" /></a>
</div>
</div>
@@ -77,7 +77,7 @@ function pop(url)
<hr />
</div>
$if(user_avatar)$
- <link rel="stylesheet" type="text/css" href="/static/dump.css">
+ <link rel="stylesheet" type="text/css" href="/static/css/dump.css">
<div id="msgInputDiv">
<div id="msginputrapper"> <input id="msgInput" class="msgInput" type="input" /> </div>
<input id="msgSubmit" type="submit" value="Send"
@@ -85,11 +85,11 @@ function pop(url)
<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">
- <div id="trophy"><a href="javascript:pop('http://www.likeneveralways.com/trash/count/index.php');"class="tooltip" title="Contest Counter"><img src="/static/trophyicon.gif"></a></div>
+ <div id="trophy"><a href="javascript:pop('http://www.likeneveralways.com/trash/count/index.php');"class="tooltip" title="Contest Counter"><img src="/static/img/trophyicon.gif"></a></div>
</div><div id="effects-msg"class="invisible">click on your face for effects!</div>
$else$
- <link rel="stylesheet" type="text/css" href="/static/dump.css">
+ <link rel="stylesheet" type="text/css" href="/static/css/dump.css">
<div id="msgInputDiv">
<div id="msginputrapper"> <input id="msgInput" class="msgInput" type="input" /> </div>
<input id="msgSubmit" type="submit" value="Send"onClick="showAlert();"
@@ -97,7 +97,7 @@ $else$
<input id="upload" value="Upload" type="submit"onClick="showAlert();">
<input id="webcam-button-upload" value="Webcam" type="submit"onClick="showAlert();">
<input id="webcam-button-snap" value="Send Pic" type="submit" class="invisible blink"onClick="showAlert();">
- <div id="trophy"><a href="javascript:pop('http://www.likeneveralways.com/trash/count/index.php');"class="tooltip" title="Contest Counter"onClick="showAlert();"><img src="/static/trophyicon.gif"></a></div>
+ <div id="trophy"><a href="javascript:pop('http://www.likeneveralways.com/trash/count/index.php');"class="tooltip" title="Contest Counter"onClick="showAlert();"><img src="/static/img/trophyicon.gif"></a></div>
</div>
</div>
@@ -106,14 +106,13 @@ $else$
</div>
<div id="newuserwrap">
- <div id="posthelp"><img src="/static/posthere.png"></div>
- <div id="webcamhelp"><img src="/static/webcamhelp.png"></div>
- <div id="userlisthelp"><img src="/static/userlisthelp.png"></div>
- <div id="imageboard"><img src="/static/imageboard.png"></div>
- <div id="uploadstuff"><img src="/static/uploadstuff.png"></div>
- <div id="signinblurb"><img src="/static/signinblurb.png"></div>
-
- <div id="beingpostednow"><img src="/static/beingpostednow.png"></div>
+ <div id="posthelp"><img src="/static/img/blurbs/posthere.png"></div>
+ <div id="webcamhelp"><img src="/static/img/blurbs/webcamhelp.png"></div>
+ <div id="userlisthelp"><img src="/static/img/blurbs/userlisthelp.png"></div>
+ <div id="imageboard"><img src="/static/img/blurbs/imageboard.png"></div>
+ <div id="uploadstuff"><img src="/static/img/blurbs/uploadstuff.png"></div>
+ <div id="signinblurb"><img src="/static/img/blurbs/signinblurb.png"></div>
+ <div id="beingpostednow"><img src="/static/img/blurbs/beingpostednow.png"></div>
<script>
jQuery(document).ready(function(){ setTimeout( function(){ jQuery("#newuserwrap div").hide(1000) }, 10000 ) })
</script>
diff --git a/template/directory.st b/template/directory.st
index aec8363..05d13e2 100644
--- a/template/directory.st
+++ b/template/directory.st
@@ -6,7 +6,7 @@
<title>dump.fm directory</title>
$endif$
$head()$
- <link rel="stylesheet" type="text/css" href="/static/directory.css">
+ <link rel="stylesheet" type="text/css" href="/static/css/directory.css">
<script>
jQuery(document).ready(initDirectory);
</script>
@@ -25,7 +25,7 @@
<center>
<h2>&#x272D; &#x272D; DUMP STARS &#x272D; &#x272D;</h2>
<div id="lolbanner">
- <img src="/static/welcomebanner.gif">
+ <img src="/static/img/welcomebanner.gif">
</div>
</center>
$if(users)$
@@ -39,7 +39,7 @@
</div>
$else$
<div id="logavatar">
- <img height="50" width="50" src="/static/noinfo.png" />
+ <img height="50" width="50" src="/static/img/noinfo.png" />
</div>
$endif$
</a>
diff --git a/template/form_login.st b/template/form_login.st
index ad61bbb..7d7adf5 100644
--- a/template/form_login.st
+++ b/template/form_login.st
@@ -24,7 +24,7 @@
</p>
<p class="remember"><br>
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="/static/signin.gif" id="signin-submit">
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="/static/img/signin.gif" id="signin-submit">
<!-- <input id="signin-submit" value="Sign in" tabindex="6" type="submit"> -->
</p>
diff --git a/template/head.st b/template/head.st
index 9f30ac0..2431e49 100755
--- a/template/head.st
+++ b/template/head.st
@@ -8,8 +8,8 @@
<script type="text/javascript" src="/static/js/pichat.js"></script>
<script type="text/javascript" src="/static/js/jquery.lavalamp.js"></script>
<script type="text/javascript" src="/static/js/jquery.easing.1.1.js"></script>
-<link rel="stylesheet" type="text/css" href="/static/reset.css">
-<link rel="stylesheet" type="text/css" href="/static/header.css">
+<link rel="stylesheet" type="text/css" href="/static/css/reset.css">
+<link rel="stylesheet" type="text/css" href="/static/css/header.css">
$if(!user_nick)$
<link href="/static/form_login/front.css" media="screen, projection" rel="stylesheet" type="text/css">
$endif$
@@ -39,10 +39,6 @@ function MM_swapImage() { //v3.0
}
//-->
-jQuery(document).ready(function () { MM_preloadImages('/static/mouseover.gif'); });
-
- jQuery(function() { jQuery("#banner-menu").lavaLamp({ fx: "backout", speed: 700 })});
-
</script>
diff --git a/template/help.st b/template/help.st
index 9d8628e..aa10652 100644
--- a/template/help.st
+++ b/template/help.st
@@ -1,10 +1,10 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <link href="/static/pages.css" rel="stylesheet" type="text/css" media="screen"/>
- <link href="/static/win.css" rel="stylesheet" type="text/css" media="screen"/>
+ <link href="/static/css/pages.css" rel="stylesheet" type="text/css" media="screen"/>
+ <link href="/static/css/win.css" rel="stylesheet" type="text/css" media="screen"/>
<script type="text/javascript" src="/static/js/win.js"></script>
- <script type="text/javascript" src="/static/jquery.em.js"></script>
+
<script type="text/javascript">
jQuery(function()
@@ -20,11 +20,12 @@ jQuery(function()
</head>
<body style="font-family: Arial, Helvetica, sans-serif;
background-color:#ffffee;
- background-image:url(/static/chanbg.png);
+ background-image:url(/static/img/chanbg.png);
background-repeat:repeat-x;
background-position:1 10;
background-attachment:fixed;" onload="
javascript:CreateDropdownWindow('dump.fm', '360px', true, 'news', 30, 115);
+
javascript:CreateDropdownWindow('frequently asked questions', '520px', true, 'archive', 440, 60);
@@ -37,18 +38,18 @@ background-attachment:fixed;" onload="
<div style="overflow:hidden; height:600px; position:absolute;display:none;" id="news">
<div style="padding:0px;" id="content" name="content"> <div style="background-color:#fff"><center>
-<img src="/static/dumpclouds.png"><br><br>
+<img src="/static/img/dumpclouds.png"><br><br>
<h5>
&#169;2010 All Rights Reserved<br><br>
<a href="mailto:info@dump.fm"> info@dump.fm</a>
</center><br></div></h5>
</div></div>
-
+
<div style="display:none;"id="archive">
<div style="padding:0px" id="content" name="content">
- <iframe src="/static/help.html" style="overflow-x:hidden; padding:5;background-image:url(/static/hearts.gif);background-repeat:repeat;" width="510px" height="500px"></iframe>
+ <iframe src="/static/html/help.html" style="overflow-x:hidden; padding:5;background-image:url(/static/img/hearts.gif);background-repeat:repeat;" width="510px" height="500px"name="iframe"></iframe>
</div>
</div>
<div style="display:none;"id="link">
@@ -61,7 +62,7 @@ background-attachment:fixed;" onload="
</div>
</div>
</div>
-<div id="hugescreen"><img src="/static/hugescreen.png"></div>
+<div id="hugescreen"><img src="/static/img/hugescreen.png"></div>
<div id="footer">
diff --git a/template/log.st b/template/log.st
index 45de47e..a30b28b 100755
--- a/template/log.st
+++ b/template/log.st
@@ -2,7 +2,7 @@
<head>
<title>dump.fm log</title>
$head()$
- <link rel="stylesheet" type="text/css" href="/static/log.css">
+ <link rel="stylesheet" type="text/css" href="/static/css/log.css">
<script>
jQuery(document).ready(initLog);
</script>
@@ -16,7 +16,7 @@
<div id="posts">
<div id="lolbanner">
- <img src="/static/welcomebanner.gif">
+ <img src="/static/img/welcomebanner.gif">
</div>
$if(dumps)$
$dumps: { d | $log_dump(dump=d)$ }$
diff --git a/template/logged_dump.st b/template/logged_dump.st
new file mode 100755
index 0000000..3b8336a
--- /dev/null
+++ b/template/logged_dump.st
@@ -0,0 +1,20 @@
+
+<div class="logged-dump" id="message-$dump.message_id$">
+ <div>$dump.created_on$ -- by <b><a href="/u/$dump.nick$">$dump.nick$</a></b></div>
+
+ <a href="/u/$dump.nick$">
+
+ <div id="logavatar">
+
+ $if(dump.avatar)$<img height="50" width="50" src="$dump.avatar$" />
+
+ $else$
+
+ <img height="50" width="50" src="/static/noinfo.png">
+
+ $endif$
+ </div></a>
+ <div class="content">$dump.content$</div>
+ <hr />
+ $share_buttons()$
+</div>
diff --git a/template/preload.st b/template/preload.st
index 8963e70..3339e4e 100644
--- a/template/preload.st
+++ b/template/preload.st
@@ -1,13 +1,13 @@
<!-- todo: just put this lot in javascript? -->
<div id="preload">
<img src="/static/img/cursors/osx.hand.gif" class="no-cursor invisible" id="cursor-big" />
- <img src="/static/upload.png" class="invisible" />
- <img src="/static/dblue2.png" class="invisible" />
-<img src="/static/text.gif" class="invisible" />
-<img src="/static/directory.gif" class="invisible" />
-<img src="/static/image_draw.gif" class="invisible" />
-<img src="/static/door2.gif" class="invisible" />
-<img src="/static/cambutton.png" class="invisible" />
-<img src="/static/urlbutton.png" class="invisible" />
-<img src="/static/upbutton.png" class="invisible" />
+ <img src="/static/img/upload.png" class="invisible" />
+ <img src="/static/img/dblue2.png" class="invisible" />
+<img src="/static/img/log.gif" class="invisible" />
+<img src="/static/img/directory.gif" class="invisible" />
+<img src="/static/img/image_draw.gif" class="invisible" />
+<img src="/static/img/door.gif" class="invisible" />
+<img src="/static/img/cambutton.png" class="invisible" />
+<img src="/static/img/urlbutton.png" class="invisible" />
+<img src="/static/img/upbutton.png" class="invisible" />
</div> \ No newline at end of file
diff --git a/template/privacy.st b/template/privacy.st
index a133ac2..e18666c 100644
--- a/template/privacy.st
+++ b/template/privacy.st
@@ -1,10 +1,9 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <link href="/static/pages.css" rel="stylesheet" type="text/css" media="screen"/>
- <link href="/static/win.css" rel="stylesheet" type="text/css" media="screen"/>
- <script type="text/javascript" src="/static/js/win.js"></script>
- <script type="text/javascript" src="/static/jquery.em.js"></script>
+ <link href="/static/css/pages.css" rel="stylesheet" type="text/css" media="screen"/>
+ <link href="/static/css/win.css" rel="stylesheet" type="text/css" media="screen"/>
+ <script type="text/javascript" src="/static/js/win.js"></script>
<script type="text/javascript">
jQuery(function()
@@ -20,7 +19,7 @@ jQuery(function()
</head>
<body style="font-family: Arial, Helvetica, sans-serif;
background-color:#ffffee;
- background-image:url(/static/chanbg.png);
+ background-image:url(/static/img/chanbg.png);
background-repeat:repeat-x;
background-position:1 10;
background-attachment:fixed;" onload="
@@ -37,7 +36,7 @@ background-attachment:fixed;" onload="
<div style="overflow:hidden; height:600px; position:absolute;display:none;" id="news">
<div style="padding:0px;" id="content" name="content"> <div style="background-color:#fff"><center>
-<img src="/static/dumpclouds.png"><br><br>
+<img src="/static/img/dumpclouds.png"><br><br>
<h5>
&#169;2010 All Rights Reserved<br><br>
<a href="mailto:info@dump.fm"> info@dump.fm</a>
@@ -48,7 +47,7 @@ background-attachment:fixed;" onload="
<div style="padding:0px" id="content" name="content">
- <iframe src="/static/privacy.html" style="overflow-x:hidden; padding:5;background-image:url(/static/hearts.gif);background-repeat:repeat;" width="550px" height="500px"></iframe>
+ <iframe src="/static/html/privacy.html" style="overflow-x:hidden; padding:5;background-image:url(/static/img/hearts.gif);background-repeat:repeat;" width="550px" height="500px"></iframe>
</div>
</div>
<div style="display:none;"id="link">
diff --git a/template/profile.st b/template/profile.st
index 855f8e2..a50a4d5 100755
--- a/template/profile.st
+++ b/template/profile.st
@@ -5,12 +5,10 @@
<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!">
$head()$
- <link rel="stylesheet" type="text/css" media="screen"
- href="/static/profile.css">
- <script src="/static/jquery.editinplace.1.0.1.packed.js"
- type="text/javascript"></script>
+ <link rel="stylesheet" type="text/css" media="screen" href="/static/css/profile.css">
+ <script src="/static/js/jquery.editinplace.1.0.1.packed.js" type="text/javascript"></script>
<script src="/static/js/ajaxupload.js"></script>
- <script type="text/javascript" src="/static/jquery.editinplace.1.0.1.packed.js"></script>
+
<script>
jQuery(document).ready(initProfile);
</script>
@@ -30,7 +28,7 @@
<div id="cats">
$if(dumps)$
<div id="lolbanner">
- <img src="/static/welcomebanner.gif">
+ <img src="/static/img/welcomebanner.gif">
</div>
$dumps:{ d | $profile_dump(dump=d)$ }$
@@ -40,14 +38,14 @@
$if(avatar)$
<img id="avatarPic" src="$avatar$" width="150px"/>
$else$
- <img id="avatarPic"><img src="/static/noinfo.png">
+ <img id="avatarPic"><img src="/static/img/noinfo.png">
$endif$
$if(is_home)$
<div id="avatar-editing" style="display: none">
<div id="avatar" class="editable">$avatar$</div>
<input id="upload" value="Upload Icon" type="submit">
- <img id="spinner" src="/static/spinner.gif" style="display: none" />
+ <img id="spinner" src="/static/img/spinner.gif" style="display: none" />
</div>
$endif$
@@ -55,7 +53,7 @@
$if(contact)$
<div id="contact" class="linkify">$contact$</div>
$else$
- <div><img id="contact" src="/static/noinfo.png"></div>
+ <div><img id="contact" src="/static/img/noinfo.png"></div>
$endif$
<br>
@@ -63,7 +61,7 @@
$if(bio)$
<div id="bio" class="linkify">$bio$</div>
$else$
- <div><img id="bio" src="/static/noinfo.png"></div>
+ <div><img id="bio" src="/static/img/noinfo.png"></div>
$endif$
$if(is_home)$
@@ -99,7 +97,7 @@
<div id="avatar-editing">
<div id="avatar" class="editable">$avatar$</div>
<input id="upload" value="Upload Icon" type="submit">
- <img id="spinner" src="/static/spinner.gif" style="display: none" />
+ <img id="spinner" src="/static/img/spinner.gif" style="display: none" />
</div>
$endif$
diff --git a/template/profile.st.save b/template/profile.st.save
new file mode 100644
index 0000000..7a3944f
--- /dev/null
+++ b/template/profile.st.save
@@ -0,0 +1,145 @@
+
+<html>
+ <head>
+ <title>$nick$'s dump.fm</title>
+ $head()$
+ <link rel="stylesheet" type="text/css" media="screen"
+ href="/static/profile.css">
+ <script src="/static/jquery.editinplace.1.0.1.packed.js"
+ type="text/javascript"></script>
+ <script src="/static/js/ajaxupload.js"></script>
+ <script type="text/javascript" src="/static/jquery.editinplace.1.0.1.packed.js"></script>
+ <script>
+ jQuery(document).ready(initProfile);
+ </script>
+
+ </head>
+ <body>
+ $banner()$
+ <div id="chatrap">
+ <div id="headerbar"></div>
+
+ <div id="log">
+ <div id="loghead">
+ </div>
+ <br>
+ <div id="posts">
+
+ <div id="cats">
+ $if(dumps)$
+ <div id="lolbanner">
+ <img src="/static/welcomebanner.gif">
+ </div>
+
+ $dumps:{ d | $profile_dump(dump=d)$ }$
+ <div id="profile">
+
+ <h2>$nick$</h2>
+ $if(avatar)$
+ <img id="avatarPic" src="$avatar$" width="150px"/>
+ $else$
+ <img id="avatarPic"><img src="/static/noinfo.png">
+ $endif$
+
+ $if(is_home)$
+ <div id="avatar-editing" style="display: none">
+ <div id="avatar" class="editable">$avatar$</div>
+ <input id="upload" value="Upload Icon" type="submit">
+ <img id="spinner" src="/static/spinner.gif" style="display: none" />
+ </div>
+ $endif$
+
+ <h3>contact info</h3>
+ $if(contact)$
+ <div id="contact" class="linkify">$contact$</div>
+ $else$
+ <div><img id="contact" src="/static/noinfo.png"></div>
+ $endif$
+ <br>
+
+ <h3>bio</h3>
+ $if(bio)$
+ <div id="bio" class="linkify">$bio$</div>
+ $else$
+ <div><img id="bio" src="/static/noinfo.png"></div>
+ $endif$
+
+ $if(is_home)$
+ <br>
+ <div id="edit-toggle"><a href="#">edit profile</a></div>
+ $endif$
+
+ <br>
+ <div id="date">
+ <div type="text" id="datepicker"></div></div>
+ </div>
+
+ $else$
+ <h3>&nbsp;</h3>
+ <h3>&nbsp;</h3>
+ <h3>&nbsp;</h3>
+ <h3>&nbsp;</h3>
+ <h3>&nbsp;</h3>
+ <h3>&nbsp;</h3>
+ <div id="newuser">
+ <h2>Welcome to dump.fm</h2>
+ <br><br>
+
+ <h1>Step &#x2776;</h1>
+ <h3>&#x261F; Find a sweet image for your avatar, paste the URL below &#x261F;</h3>
+ $if(avatar)$
+ <img id="avatarPic" src="$avatar$" width="150px"/>
+ $else$
+ <b id="avatarPic"></b>
+ $endif$
+
+ $if(is_home)$
+ <div id="avatar-editing">
+ <div id="avatar" class="editable">$avatar$</div>
+ <input id="upload" value="Upload Icon" type="submit">
+ <img id="spinner" src="/static/spinner.gif" style="display: none" />
+ </div>
+ $endif$
+
+ <h1>Step &#x2777;</h1>
+ <h3>&#x261F; Enter some contact info below &#x261F;</h3>
+ <div id="contact" class="$if(is_home)$editable$else$linkify$endif$">$contact$</div>
+ <br>
+
+ <h1>Step &#x2778;</h1>
+ <h3>&#x261F; Enter some personal info below &#x261F;</h3>
+ <div id="bio" class="$if(is_home)$editable$else$linkify$endif$">$bio$</div>
+ <br>
+ <h1>Step &#x2779;</h1>
+
+ <h3> <a href="/chat">Join the &#x2663; and start posting pictures!</a></h3>
+ <h3>&nbsp;</h3></div>
+ <h3>&nbsp;</h3>
+ <h3>&nbsp;</h3>
+ <h3>&nbsp;</h3>
+ <h3>&nbsp;</h3>
+ <h3>&nbsp;</h3>
+ $endif$
+
+ <p>&nbsp;</p>
+ <div id="pnav">
+
+ $if(next)$
+ <div id="pnavn"><a href="/u/$nick$/$next$">next &#9758;</a></div>
+ $endif$
+
+ &nbsp;
+ $if(prev)$
+ <div id="pnavo"> <a href="/u/$nick$/$prev$">&#9756; prev</a></div>
+ $endif$
+
+ <br><br>
+ </div>
+
+ <div id="footer">
+ $footer()$
+ </div>
+ </div>
+ </div></div></div>
+ </body>
+</html>
diff --git a/template/profile_dump.st b/template/profile_dump.st
index b93c2fc..184cd55 100644
--- a/template/profile_dump.st
+++ b/template/profile_dump.st
@@ -8,7 +8,7 @@
$if(dump.avatar)$
<img height="50" width="50" src="$dump.avatar$" />
$else$
- <img height="50" width="50" src="/static/noinfo.png">
+ <img height="50" width="50" src="/static/img/noinfo.png">
$endif$
</div></a>
diff --git a/template/share_buttons.st b/template/share_buttons.st
index 883c66d..b510db5 100644
--- a/template/share_buttons.st
+++ b/template/share_buttons.st
@@ -1,6 +1,6 @@
<div class="share-buttons">
-<img src="/static/tumblricon.png" class="share-button" onclick="Share.tumblr(this)">
-<img src="/static/fbbutton.png" class="share-button" onclick="Share.facebook(this)">
-<img src="/static/twittericon.png" class="share-button" onclick="Share.twitter(this)">
-<img src="/static/delishicon.png" class="share-button" onclick="Share.delicious(this)">
+<img src="/static/img/tumblricon.png" class="share-button" onclick="Share.tumblr(this)">
+<img src="/static/img/fbbutton.png" class="share-button" onclick="Share.facebook(this)">
+<img src="/static/img/twittericon.png" class="share-button" onclick="Share.twitter(this)">
+<img src="/static/img/delishicon.png" class="share-button" onclick="Share.delicious(this)">
</div> \ No newline at end of file
diff --git a/template/single_message.st b/template/single_message.st
index 7047cbd..df43eed 100644
--- a/template/single_message.st
+++ b/template/single_message.st
@@ -3,7 +3,7 @@
<title>dump.fm</title>
$head()$
- <link rel="stylesheet" type="text/css" href="/static/directory.css">
+ <link rel="stylesheet" type="text/css" href="/static/css/directory.css">
<script>
jQuery(document).ready(initDirectory);
</script>
diff --git a/template/terms.st b/template/terms.st
index 2f23cee..306f940 100644
--- a/template/terms.st
+++ b/template/terms.st
@@ -1,10 +1,9 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <link href="/static/pages.css" rel="stylesheet" type="text/css" media="screen"/>
- <link href="/static/win.css" rel="stylesheet" type="text/css" media="screen"/>
+ <link href="/static/css/pages.css" rel="stylesheet" type="text/css" media="screen"/>
+ <link href="/static/css/win.css" rel="stylesheet" type="text/css" media="screen"/>
<script type="text/javascript" src="/static/js/win.js"></script>
- <script type="text/javascript" src="/static/jquery.em.js"></script>
<script type="text/javascript">
jQuery(function()
@@ -20,7 +19,7 @@ jQuery(function()
</head>
<body style="font-family: Arial, Helvetica, sans-serif;
background-color:#ffffee;
- background-image:url(/static/chanbg.png);
+ background-image:url(/static/img/chanbg.png);
background-repeat:repeat-x;
background-position:1 10;
background-attachment:fixed;" onload="
@@ -37,7 +36,7 @@ background-attachment:fixed;" onload="
<div style="overflow:hidden; height:600px; position:absolute;display:none;" id="news">
<div style="padding:0px;" id="content" name="content"> <div style="background-color:#fff"><center>
-<img src="/static/dumpclouds.png"><br><br>
+<img src="/static/img/dumpclouds.png"><br><br>
<h5>
&#169;2010 All Rights Reserved<br><br>
<a href="mailto:info@dump.fm"> info@dump.fm</a>
@@ -48,7 +47,7 @@ background-attachment:fixed;" onload="
<div style="padding:0px" id="content" name="content">
- <iframe src="/static/terms.html" style="overflow-x:hidden; padding:5;background-image:url(/static/hearts.gif);background-repeat:repeat;" width="550px" height="500px"></iframe>
+ <iframe src="/static/html/terms.html" style="overflow-x:hidden; padding:5;background-image:url(/static/img/hearts.gif);background-repeat:repeat;" width="550px" height="500px"></iframe>
</div>
</div>
<div style="display:none;"id="link">
@@ -61,7 +60,7 @@ background-attachment:fixed;" onload="
</div>
</div>
</div>
-<div id="hugescreen"><img src="/static/hugescreen.png"></div>
+<div id="hugescreen"><img src="/static/img/hugescreen.png"></div>
<div id="footer">
$footer()$
diff --git a/template/test.st b/template/test.st
new file mode 100644
index 0000000..ee6a4c6
--- /dev/null
+++ b/template/test.st
@@ -0,0 +1,84 @@
+
+ <head>
+ <title>dump.fm</title>
+ <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!">
+<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/sha1.js"></script>
+<script type="text/javascript" src="/static/js/home.js"></script>
+
+<script>
+$(document).ready(initLoginForm);
+
+</script>
+<link rel="stylesheet" type="text/css" href="static/css/reset.css">
+<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"><title>dump.fm</title></head>
+
+</head>
+<body>
+
+<div id="main" align="center">
+
+ <img src="/static/img/flyhorse.gif" id="horse" />
+ <img src="/static/img/guaranteed_customer_satisfaction.gif" id="customer" />
+
+ <div id="registerbox">
+ <div id="logo-and-text">
+ <a href="/"><img src="/static/img/dumpclearlogo.png"></a>
+ <p align="center" class="line">Talk with pictures!</p>
+ <div align="right" class="txt">
+ <br>
+ <div align="center">dump.fm lets you talk with pictures<br>
+ <a href="/register" style="text-decoration:none;">Click here to Register!</a> <br>
+ </div>
+ </div>
+ </div>
+ <input type="text" id="nickInput" size="17" />
+ <input id="passwordInputLabel" name="passwordInputLabel" size="17" type="text" class="invisible">
+ <input type="password" id="passwordInput" size="17" /><br />
+
+
+ <!-- <br /><a id="signin-submit">Sign In</a> -->
+ <input id="signin-submit" value="Sign In" />
+ <div id="remember"><label>
+ <input checked="checked" type="checkbox" name="rememberme" id="remembermeInput" />
+ Remember Me
+ </label></div>
+ </div>
+</div>
+<div id="info" align="right">
+ <img src="/static/img/vxhtml.gif">
+ <img src="/static/img/aol_suck.gif">
+ <img src="/static/img/html_3_2.gif">
+ <img src="/static/img/geocities.gif">
+ <img src="/static/img/valid_html.gif">
+
+</div>
+<div id="dumpednow">
+
+
+</div>
+<div id="preload">
+ <img src="/static/img/cursors/osx.hand.gif" class="no-cursor invisible" id="cursor-big">
+</div>
+
+
+ <div id="preload">
+ <img src="/static/img/cursors/osx.hand.gif" class="no-cursor invisible" id="cursor-big">
+ </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>
+