summaryrefslogtreecommitdiff
path: root/template/profile.st
diff options
context:
space:
mode:
Diffstat (limited to 'template/profile.st')
-rw-r--r--template/profile.st138
1 files changed, 62 insertions, 76 deletions
diff --git a/template/profile.st b/template/profile.st
index 5278e77..ea554ab 100644
--- a/template/profile.st
+++ b/template/profile.st
@@ -10,92 +10,78 @@
</script>
</head>
<body>
- $if(avatar)$
- <div id="dashtotal"style="background-image:url($avatar$);opacity:0.1;width:100%;height:100%;z-index:-1"></div>
- $else$
+ $if(avatar)$
+ <div id="dashtotal"style="background-image:url($avatar$);opacity:0.1;width:100%;height:100%;z-index:-1"></div>
+ $else$
<div id="dashtotal"style="background-image:url(http://dump.fm/static/img/thumbs/stripes.gif);width:100%;height:100%;z-index:-1"></div>
$endif$
$banner()$
-
- <div id="dashrapper">
- <div id="dashuserlist">
- $if(avatar)$
- <div id="dashavatar">
- <img id="dashavatarPic" src="$avatar$"/> </div>
- $else$
- <img id="avatarPic" src="/static/img/noinfo.png">
-
- $endif$
+
+ <div id="dashrapper">
+ <div id="dashuserlist">
+ $if(avatar)$
+ <div id="dashavatar">
+ <img id="dashavatarPic" src="$avatar$"/>
+ </div>
+ $else$
+ <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>
- </div>
- $endif$
+ $if(isadmin)$
+ <div id="dashadminmute">
+ <a href="#" onclick="Admin.mute('$nick$'); return false">Mute $nick$!</a>
+ </div>
+ $endif$
-
-
-
- $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$
- <div id="dashinfo">
- <h2>
- $nick$$if(score_ent)$$score_ent$$endif$ </h2>
-
- <br> <h3>contact info</h3>
- $if(contact)$
- <div id="contact" class="linkify">$contact$</div>
- $else$
- <img id="contact" src="/static/img/noinfo.png">
- $endif$
+ $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$
+ <div id="dashinfo">
+ <h2>
+ $nick$$if(score_ent)$$score_ent$$endif$ </h2>
+
+ <br> <h3>contact info</h3>
+ $if(contact)$
+ <div id="contact" class="linkify">$contact$</div>
+ $else$
+ <img id="contact" src="/static/img/noinfo.png">
+ $endif$
<br>
- <h3>bio</h3>
- $if(bio)$
- <div id="bio" class="linkify">$bio$</div>
- $else$
- <img id="bio" src="/static/img/noinfo.png">
- $endif$
-
-</div>
-
-
- $if(is_home)$
-
- <div id="edit-toggle"><a href="#">edit profile</a></div>
- $endif$
-</div>
-
- <div id="middash">
-
-
- <h2><a href="http://dump.fm/$nick$/log">$dump_cnt$ dumps &#10145;</a></h2>
- <hr>
-
+ <h3>bio</h3>
+ $if(bio)$
+ <div id="bio" class="linkify">$bio$</div>
+ $else$
+ <img id="bio" src="/static/img/noinfo.png">
+ $endif$
+ </div>
+ $if(is_home)$
+
+ <div id="edit-toggle"><a href="#">edit profile</a></div>
+ $endif$
+ </div>
- </h8>
- <h2><a href="http://dump.fm/$nick$/favorites">$dumps_user_faved_cnt$ dumps Faved &#10145;</a></h2>
- <hr>
- <h3> $if(score_ent)$ $score$ $else$ 0 $endif$ of $if(is_home)$ your $else$ $nick$'s$endif$ dumps Faved</h3>
- </div>
- <div id="dashpix" style="display:none;">
+ <div id="middash">
+ <h2><a href="http://dump.fm/$nick$/log">$dump_cnt$ dumps &#10145;</a></h2>
+ <hr>
+ <h2><a href="http://dump.fm/$nick$/favorites">$dumps_user_faved_cnt$ dumps Faved &#10145;</a></h2>
+ <hr>
+ <h3>$if(score_ent)$ $score$ $else$ 0 $endif$ of $if(is_home)$ your $else$ $nick$'s$endif$ dumps Faved</h3>
+ </div>
+ <div id="dashpix">
<div id="favstxt">$nick$'s most recent favs</div>
- <img src="http://www.poppindots.com/Images/Quote_Glitter_Graphics/images/quote11.gif">
- <img src="http://polisat.com/Images/MotherEarthFlatNoMore-Gif-At377x480.gif">
- <img src="http://www.leconcombre.com/gifgallery/cuke/image/oiseaubleu1.gif">
- <img src="http://dump.fm/images/20100618/1276900577123-dumpfm-saywhaaa-webcam.jpg">
- </div>
- </div>
-</div></div></div>
- <div id="footerc">
- $footer()$
- </div>
+ $dumps: { d | $log_dump(dump=d)$ }$
+ </div>
+ </div>
+<div id="footerc">
+ $footer()$
+</div>
- </body>
+</body>
</html>