summaryrefslogtreecommitdiff
path: root/template/profile.st
diff options
context:
space:
mode:
Diffstat (limited to 'template/profile.st')
-rw-r--r--template/profile.st97
1 files changed, 66 insertions, 31 deletions
diff --git a/template/profile.st b/template/profile.st
index 8d57c93..46f0bb6 100644
--- a/template/profile.st
+++ b/template/profile.st
@@ -80,50 +80,85 @@
</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, upload it below &#x261F;</h3>
- $if(avatar)$
+
+
+ <div id="lolbanner">
+ <img src="/static/img/welcomebanner.gif">
+ </div>
+
+
+ <div class="logged-dump dump $if(dump.favorited)$favorite$endif$" id="message-$dump.message_id$" nick="$dump.nick$">
+ <div>
+ $nick$'s first dump.fm post!
+ </div>
+ <a href="/u/$nick$">
+ <div id="logavatar">
+$if(dump.avatar)$
+ <img height="50" width="50" src="$dump.avatar$" />
+$else$
+ <img height="50" width="50" src="/static/img/noinfo.png">
+$endif$
+ </div></a>
+$if(dump.favorited)$
+ <img src="/static/img/thumbs/heartover.gif" class="thumb favorite" onclick="Tag.favorite(this)">
+$else$
+ <img src="/static/img/thumbs/heart.gif" class="thumb" onclick="Tag.favorite(this)">
+$endif$
+ <div class="content2"><img src="/static/img/furieprofile.png"></div>
+<hr/>
+$share_buttons()$
+</div>
+
+ <div id="profile">
+
+ <h2>$nick$</h2>
+
+ $if(isadmin)$
+ <div id="adminmute">
+ <a href="#" onclick="Admin.mute('$nick$'); return false">Mute $nick$!</a><br>
+ </div>
+ $endif$
+
+ $if(avatar)$
<img id="avatarPic" src="$avatar$" width="150px"/>
$else$
- <b id="avatarPic"></b>
+ <img id="avatarPic" src="/static/img/noinfo.png">
$endif$
$if(is_home)$
- <div id="avatar-editing">
- <div id="avatar" class="editable">$avatar$</div>
+ <div id="avatar-editing" style="display: none">
<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>
+ <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>
- <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>
+ <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>
- <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>
+ <a href="/u/$nick$/favorites"><h7>$nick$'s <br>Favorite Pix</h7></a>
+
+ <div id="date">
+ <div type="text" id="datepicker"></div></div>
+ </div>
$endif$
<p>&nbsp;</p>