summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtemplate/profile.st19
1 files changed, 9 insertions, 10 deletions
diff --git a/template/profile.st b/template/profile.st
index e3f59ae..46e8cb4 100755
--- a/template/profile.st
+++ b/template/profile.st
@@ -11,12 +11,9 @@
<script type="text/javascript" src="/static/jquery.editinplace.1.0.1.packed.js"></script>
<link type="text/css" href="http://jqueryui.com/latest/themes/base/ui.all.css" rel="stylesheet" />
-
<script>
- jQuery(document).ready(function(){
- initProfile();
- });
- </script>
+ jQuery(document).ready(initProfile);
+ </script>
</head>
<body>
@@ -28,7 +25,8 @@
<div id="loghead">
</div>
<br>
- <div id="posts"> <div id="cats">
+ <div id="posts">
+ <div id="cats">
$if(dumps)$
$dumps:{ d | $logged_dump(dump=d)$ }$
@@ -48,8 +46,6 @@
<img id="spinner" src="/static/spinner.gif" style="display: none" />
</div>
$endif$
-
- $endif$
<h3>contact info</h3>
$if(contact)$
@@ -72,7 +68,6 @@
<div id="edit-toggle"><a href="#">--> Edit your information <--</a></div>
$endif$
-
<br>
<div id="date">
<div type="text" id="datepicker"></div></div>
@@ -98,7 +93,11 @@
$endif$
$if(is_home)$
- <div id="avatar" class="editable">$avatar$</div>
+ <div id="avatar-editing">
+ <div id="avatar" class="editable">$avatar$</div>
+ <input id="upload" value="Upload" type="submit">
+ <img id="spinner" src="/static/spinner.gif" style="display: none" />
+ </div>
$endif$
<h1>Step &#x2777;</h1>