summaryrefslogtreecommitdiff
path: root/template/profile.st
diff options
context:
space:
mode:
Diffstat (limited to 'template/profile.st')
-rw-r--r--[-rwxr-xr-x]template/profile.st91
1 files changed, 44 insertions, 47 deletions
diff --git a/template/profile.st b/template/profile.st
index 034c648..d0c3edd 100755..100644
--- a/template/profile.st
+++ b/template/profile.st
@@ -1,48 +1,26 @@
<html>
- <head>
- <title>$nick$ | PERSONAL DUMP LOG</title>
- <link rel="shortcut icon" href="static/favicon.ico">
+<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/jquery.editinplace.1.0.1.packed.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">
- #profile {
- float: right;
- border: 1px solid black;
- padding: 10px;
- width: 25%;
- }
-
- .editable {
- color: #0AA;
- }
- .editing {
- color: #F0F;
- }
- div#avatar {
- overflow: hidden;
- text-overflow: ellipsis;
- }
-
- img#avatarPic {
- max-height:250px;
- }
-
- #logged-dump {
- border: 1px solid dotted;
- padding: 5px;
- }
-
+
</style>
- <script>
+<script>
jQuery(document).ready(initProfile);
</script>
- </head>
- <body>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></head>
+<body>
$header()$
- <h1>$nick$ | PERSONAL DUMP LOG</h1>
+<div id="chatrap">
+
<div id="profile">
+
<h2>$nick$</h2>
$if(avatar)$
@@ -55,26 +33,45 @@
<div id="avatar" class="editable">$avatar$</div>
$endif$
- <h3>Contact:</h3>
+ <h3>contact info</h3>
<div id="contact" $if(is_home)$class="editable"$endif$>$contact$</div>
<br>
- <h3>Bio:</h3>
+ <h3>personal info</h3>
<div id="bio" $if(is_home)$class="editable"$endif$>$bio$</div>
<br>
</div>
- <div id="log">
- <h2>Log</h2>
-
- $if(dumps)$
+ <div id="log">
+ <div id="loghead">
+ $nick$'s log
+ </div><div id="posts">
+ <hr align="left" width="70%">
+ <p>&nbsp;</p>
+ <p>$if(dumps)$
$dumps:{ d | $logged_dump(dump=d)$ }$
- $else$
- <h3>No dumps yet!</h3>
- $endif$
-
+ $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>&nbsp;</p>
+ <hr align="left" width="70%">
+ <p>&nbsp;</p>
+ <p><img
+ src="broken.png"
+ onerror="this.style.display='none'"
+/></p>
</div>
+</div>
+ <div id="footer">
+ <p>
+ $footer()$</p>
+ <p>
+ </p>
+</div>
+</div>
+
+<div style="position: fixed; bottom: 3px; right: 3px; font-size: xx-small; z-index: 10;"><button onclick="getBackground()" title="Rotate background image" style="font-size: xx-small;">+</button></div>
- $footer()$
- </body>
+</body>
</html>