diff options
Diffstat (limited to 'template/profilenew.st')
| -rw-r--r-- | template/profilenew.st | 130 |
1 files changed, 130 insertions, 0 deletions
diff --git a/template/profilenew.st b/template/profilenew.st new file mode 100644 index 0000000..dded235 --- /dev/null +++ b/template/profilenew.st @@ -0,0 +1,130 @@ +<html> + <head> + <title>$nick$'s dump.fm</title> + <meta property="og:image" content="$avatar$"/> + <meta property="og:title" content="$nick$'s dump.fm"/> + <meta property="og:site_name" content="dump.fm"/> + $head()$ + <script src="/static/js/jquery.editinplace.1.0.1.packed.js" type="text/javascript"></script> + <script src="/static/js/ajaxupload.js"></script> + <script> + jQuery(function() { + initProfile($recips$); + }); + </script> + <script> +//MESSAGE STUFF + +jQuery(document).ready(function() { + jQuery('#msgbtn').toggle( + + function(){ + + jQuery("#directmsgs").animate({right: "0px"}, 400); + }, + function() + { + jQuery("#directmsgs").animate({right: "-263px"}, 400); + + }); + }); + </script> + </head> + <body class="profiledash"> + $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="posts" class="clickable clearfix"> + + <div class="logged-dump"> + $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$ + + <div id="posts" class="clickable clearfix"> + $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-text">$contact$</div> + $else$ + <img id="contact" src="/static/img/noinfo.png"> + $endif$ + <br> + <h3>bio</h3> + $if(bio)$ + <div id="bio" class="linkify-text">$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 class="logged-dump"> + + <h2><a href="http://dump.fm/$nick$/log">$if(is_home)$ your $else$ $nick$'s$endif$ posts ➡</a></h2> + <hr> + <h2><a href="http://dump.fm/$nick$/favorites"> $if(is_home)$ your $else$ $nick$'s $endif$ favs ➡</a></h2> + + <hr> + <a href="http://dump.fm/$nick$/popular"><h3> $if(is_home)$ your $else$ $nick$'s$endif$ most popular ➡</h3></a> + + </div> + <div class="logged-dump"> + <a href="http://dump.fm/$nick$/log"><div id="favstxt">$if(is_home)$ your $else$ $nick$'s$endif$ most recent dumps</div></a> + <div class="logged-dump"> + $imgs: { img | <a target="_blank" href="$img$"><img src="$img$"></img></a> }$ + </div> + + + </div> + + +<a href="#"class="msgbtn" id="msgbtn">messages!</a> + <div id="directmsgs"> + <h2>Messages</h2> + + $dms: { dm | + <div id="singlemsg"> + <b><a href="/$dm.nick$">$dm.nick$</a>:</b> + <span class="linkify-full">$dm.content$</span> + </div> + }$ + </div> + </div> +<div id="footerc"> + $footer()$ +</div> + +</body> +</html> |
