diff options
Diffstat (limited to 'template/profile.st')
| -rwxr-xr-x | template/profile.st | 112 |
1 files changed, 51 insertions, 61 deletions
diff --git a/template/profile.st b/template/profile.st index a9dcfd9..5f77c68 100755 --- a/template/profile.st +++ b/template/profile.st @@ -1,76 +1,66 @@ <html> -<head> + <head> <title>$nick$'s dump.fm</title> - <link rel="shortcut icon" href="/static/favicon.ico"> - <link rel="stylesheet" type="text/css" href="/static/profile.css"> - <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> - <script type="text/javascript" src="/static/pichat.js"></script> - <script type="text/javascript" src="/static/background.js"></script> -<script type="text/javascript" src="/static/jquery.editinplace.1.0.1.packed.js"></script> - <style type="text/css"> - - </style> -<script> + $head()$ + <link rel="stylesheet" type="text/css" href="/static/profile.css"> + <script type="text/javascript" src="/static/background.js"></script> + <script type="text/javascript" src="/static/jquery.editinplace.1.0.1.packed.js"></script> + <script> jQuery(document).ready(initProfile); </script> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></head> -<body> - $header()$ -<div id="chatrap"> + </head> + <body> + $banner()$ + <div id="chatrap"> - <div id="log"> - <div id="loghead"> - $nick$'s log - </div><div id="posts"> + <div id="log"> + <div id="loghead"> + $nick$'s log + </div><div id="posts"> + $if(dumps)$ + $dumps:{ d | $logged_dump(dump=d)$ }$ + $else$ + <h3>This is your user log, it's where all the images you post are saved. <br> + To get started join <a href="/chat">Room A</a> and post a few pictures.</h3> + $endif$ + <p> </p> - <p>$if(dumps)$ - $dumps:{ d | $logged_dump(dump=d)$ }$ - $else$ </p> -<h3>This is your user log, its where all the images you post are saved. <br> - To get started join <a href="/chat">Room A</a> and post a few pictures.</h3> - <p>$endif$ </p> - <p> </p> + <p> </p> + <p><img + src="broken.png" + onerror="this.style.display='none'" + /></p> + </div> + + <div id="profile"> + + <h2>$nick$</h2> - <p> </p> - <p><img - src="broken.png" - onerror="this.style.display='none'" -/></p> - </div> - - <div id="profile"> - - <h2>$nick$</h2> + $if(avatar)$ + <img id="avatarPic" src="$avatar$" width="150px"/> + $else$ + <b id="avatarPic">No avatar</b> + $endif$ - $if(avatar)$ - <img id="avatarPic" src="$avatar$" width="150px"/> - $else$ - <b id="avatarPic">No avatar</b> - $endif$ + $if(is_home)$ + <div id="avatar" class="editable">$avatar$</div> + $endif$ - $if(is_home)$ - <div id="avatar" class="editable">$avatar$</div> - $endif$ + <h3>contact info</h3> + <div id="contact" $if(is_home)$class="editable"$endif$>$contact$</div> + <br> - <h3>contact info</h3> - <div id="contact" $if(is_home)$class="editable"$endif$>$contact$</div> - <br> + <h3>personal info</h3> + <div id="bio" $if(is_home)$class="editable"$endif$>$bio$</div> + <br> + </div> - <h3>personal info</h3> - <div id="bio" $if(is_home)$class="editable"$endif$>$bio$</div> - <br> + <div id="footer"> + $footer()$ + </div> + </div> </div> - - <div id="footer"> - <p> - $footer()$</p> - <p> - </p> -</div> -</div> -</div> - -</body> + </body> </html> |
