summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorScott Ostler <scottbot9000@gmail.com>2010-06-20 05:05:41 -0400
committerScott Ostler <scottbot9000@gmail.com>2010-06-20 05:05:41 -0400
commit5851c64e3056836f907fd0c7833c9ba7c17c4f01 (patch)
treea6e38ae84f6d885dd064d21ce5ca1f585e4b1bd0 /template
parent4e783d4b42907f8b3da08feeaeec102d0ff16248 (diff)
user logs
Diffstat (limited to 'template')
-rw-r--r--template/profile.st6
-rw-r--r--template/userlog.st123
2 files changed, 125 insertions, 4 deletions
diff --git a/template/profile.st b/template/profile.st
index 1abee8e..7bad5cd 100644
--- a/template/profile.st
+++ b/template/profile.st
@@ -27,9 +27,7 @@
<img id="avatarPic" src="/static/img/noinfo.png">
$endif$
-
-
-
+
$if(isadmin)$
<div id="dashadminmute">
<a href="#" onclick="Admin.mute('$nick$'); return false">Mute $nick$!</a>
@@ -79,7 +77,7 @@
<div id="middash">
- <h2><a onclick="alert('Back soon! We promise.'); return false;" href="http://dump.fm/$nick$/log">$dump_cnt$ dumps &#10145;</a></h2>
+ <h2><a href="http://dump.fm/$nick$/log">$dump_cnt$ dumps &#10145;</a></h2>
<hr>
diff --git a/template/userlog.st b/template/userlog.st
new file mode 100644
index 0000000..547772e
--- /dev/null
+++ b/template/userlog.st
@@ -0,0 +1,123 @@
+<html>
+ <head>
+ <title>$nick$'s dump.fm</title>
+ $head()$
+ <link rel="stylesheet" type="text/css" media="screen" href="/static/css/dump.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="dcontent">
+ <div id="messagetabs"></div>
+ <div id="rapper">
+ </div>
+
+ <div id="messagePanep">
+ <div id="userListp"><br> $if(is_home)$<br>$endif$
+ <h2>
+ $if(avatar)$
+ <img id="avatarPic" src="$avatar$"/>
+ $else$<br><br>
+ <img id="avatarPic" src="/static/img/noinfo.png">
+ $endif$
+
+ $nick$ </h2><br>
+ $if(score_ent)$
+ <h8>
+ fav score: $score$
+ <h9>$score_ent$</h9>
+ $endif$</h8>
+ $if(isadmin)$<br><br>
+ <div id="adminmute">
+ <a href="#" onclick="Admin.mute('$nick$'); return false">Mute $nick$!</a><br>
+ </div>
+ $endif$
+
+ <div>dumps posted: $dump_cnt$</div>
+ <div>dumps $nick$ faved: $dumps_user_faved_cnt$</div>
+
+ $if(is_home)$
+ <div id="avatar-editing" style="display: none">
+ <input id="uploadp" value="Upload Icon" type="submit">
+ <img id="spinner" src="/static/img/spinner.gif" style="display: none" />
+ </div>
+ $endif$
+
+ <br> <h3>contact info</h3>
+ $if(contact)$
+ <br><div id="contact" class="linkify">$contact$</div>
+ $else$
+ <div><img id="contact" src="/static/img/noinfo.png"><br><br></div>
+ $endif$
+
+ <br><br><h3>bio</h3>
+ $if(bio)$
+ <br> <div id="bio" class="linkify">$bio$</div>
+ $else$
+ <div><img id="bio" src="/static/img/noinfo.png"><br><br></div>
+ $endif$
+
+
+
+
+ $if(is_home)$
+ <br>
+ <div id="edit-toggle"><a href="#">edit profile</a></div><br><br>
+ $endif$
+
+ <br>
+
+ <a href="http://dump.fm/$nick$/favorites"><h7>$nick$'s <br>Favorite Pix</h7></a>
+
+ <div id="date">
+ <div type="text" id="datepicker"></div></div>
+ </div>
+
+ <div id="favbox" style="display: hidden"></div>
+ <div id="messageList">
+
+ $if(dumps)$ <span class="content">
+ $dumps:{ d | $profile_dump(dump=d)$ }$
+
+
+
+ </span>
+
+
+
+ $else$
+ no dumps
+ $endif$
+ </div>
+
+
+
+ <div id="msgInputDiv">
+ <div id="msginputrapper">
+
+ $if(prev)$
+ <a href="/$nick$/$prev$"><input id="prevbutton" value="<- Prev"></a>
+ $else$
+<input id="prevbutton">
+ $endif$
+
+ $if(next)$
+ <a href="/$nick$/$next$"> <input id="nextbutton" value="Next ->"></a>
+ $else$
+ <input id="nextbutton" value="nomodumps">
+ $endif$
+
+
+ </div>
+ <div id="footerc">
+ $footer()$
+ </div>
+ </div>
+ </div></div></div>
+ </body>
+</html>