summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authordumpfmprod <dumpfmprod@ubuntu.(none)>2010-04-11 02:48:57 -0400
committerdumpfmprod <dumpfmprod@ubuntu.(none)>2010-04-11 02:48:57 -0400
commit3b502423fc5bb2ed22051c465e8384f3e44519cc (patch)
treeb57e1239727103b91be45f0c968b6d037811801b /template
parent9baa796668784cd6068f06a4aeafd23610999447 (diff)
sostler PROD commit
Diffstat (limited to 'template')
-rw-r--r--template/butt.st142
-rw-r--r--template/chat.st6
-rw-r--r--template/log_dump.st4
-rw-r--r--template/profile.st3
-rw-r--r--template/profile_dump.st4
-rw-r--r--template/tagged_dumps.st6
6 files changed, 154 insertions, 11 deletions
diff --git a/template/butt.st b/template/butt.st
index b14df64..e89a285 100644
--- a/template/butt.st
+++ b/template/butt.st
@@ -1 +1,141 @@
-Hi
+<html>
+ <head>
+ <title>$nick$'s dump.fm</title>
+ $head()$
+ <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>
+ 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/img/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/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/img/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/img/noinfo.png"></div>
+ $endif$
+ <br>
+
+ <h3>bio</h3>
+ $if(bio)$
+ <div id="bio" class="linkify">$bio$</div>
+ $else$
+ <div><img id="bio" src="/static/img/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/img/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/chat.st b/template/chat.st
index a018174..422c640 100644
--- a/template/chat.st
+++ b/template/chat.st
@@ -60,11 +60,11 @@ $users: { u |
$messages: { m |
<div class="msgDiv oldmsg dump $if(m.favorited)$favorite$endif$" id="message-$m.message_id$" nick="$m.nick$">
<span class="nick">
- <b><a href="/u/$m.nick$">$m.nick$</a>:</b>
+ <b><a href="/u/$m.nick$">$m.nick$</a></b>
$if(m.favorited)$
- <img src="/static/img/thumbs/color.right.gif" class="chat-thumb" onclick="Tag.favorite(this)">
+ <img src="/static/img/thumbs/chatheartover.gif" class="chat-thumb" onclick="Tag.favorite(this)">
$else$
- <img src="/static/img/thumbs/pink.circle.gif" class="chat-thumb" onclick="Tag.favorite(this)">
+ <img src="/static/img/thumbs/smallheart.gif" class="chat-thumb" onclick="Tag.favorite(this)">
$endif$
</span>
<span class="content">$m.content$</span>
diff --git a/template/log_dump.st b/template/log_dump.st
index 2f06e81..633338f 100644
--- a/template/log_dump.st
+++ b/template/log_dump.st
@@ -13,9 +13,9 @@ $else$
$endif$
</div></a>
$if(dump.favorited)$
- <img src="/static/img/thumbs/color.left.gif" class="thumb favorite" onclick="Tag.favorite(this)">
+ <img src="/static/img/thumbs/heartfaved.gif" class="thumb favorite" onclick="Tag.favorite(this)">
$else$
- <img src="/static/img/thumbs/bw.left.gif" class="thumb" onclick="Tag.favorite(this)">
+ <img src="/static/img/thumbs/heart.gif" class="thumb" onclick="Tag.favorite(this)">
$endif$
<div class="content">$dump.content$</div>
<hr />
diff --git a/template/profile.st b/template/profile.st
index e89a285..2af0072 100644
--- a/template/profile.st
+++ b/template/profile.st
@@ -66,6 +66,9 @@
$endif$
<br>
+
+ <a href="/u/$nick$/favorites"><h7>$nick$'s <br>Favorite Pix</h7></a>
+
<div id="date">
<div type="text" id="datepicker"></div></div>
</div>
diff --git a/template/profile_dump.st b/template/profile_dump.st
index b910274..adc47f3 100644
--- a/template/profile_dump.st
+++ b/template/profile_dump.st
@@ -11,9 +11,9 @@ $else$
$endif$
</div></a>
$if(dump.favorited)$
- <img src="/static/img/thumbs/color.left.gif" class="thumb favorite" onclick="Tag.favorite(this)">
+ <img src="/static/img/thumbs/heartover.gif" class="thumb favorite" onclick="Tag.favorite(this)">
$else$
- <img src="/static/img/thumbs/bw.left.gif" class="thumb" onclick="Tag.favorite(this)">
+ <img src="/static/img/thumbs/heart.gif" class="thumb" onclick="Tag.favorite(this)">
$endif$
<div class="content">$dump.content$</div>
<hr/>
diff --git a/template/tagged_dumps.st b/template/tagged_dumps.st
index 037a52b..94b66e7 100644
--- a/template/tagged_dumps.st
+++ b/template/tagged_dumps.st
@@ -2,7 +2,7 @@
<head>
<title>dump.fm - $page_title$</title>
$head()$
- <link rel="stylesheet" type="text/css" href="/static/css/log.css">
+ <link rel="stylesheet" type="text/css" href="/static/css/directory.css">
<script>
jQuery(document).ready(initLog);
</script>
@@ -31,11 +31,11 @@ $else$
$endif$
<div id="pnav">
$if(next)$
- <div id="pnavn"><a href="/$page_url$/$next$">next &#9758;</a></div>
+ <div id="pnavo"><a href="/$page_url$/$next$">MOAR!</a></div>
$endif$
&nbsp;
$if(prev)$
- <div id="pnavo"> <a href="/$page_url$/$prev$">&#9756; prev</a> </div>
+ <div id="pnavn"> <a href="/$page_url$/$prev$">BACK</a> </div>
$endif$
<br><br>
</div>