diff options
| author | Scott Ostler <sostler@deathmachine.local> | 2010-02-22 22:29:02 -0500 |
|---|---|---|
| committer | Scott Ostler <sostler@deathmachine.local> | 2010-02-22 22:29:02 -0500 |
| commit | 8a981f390c286cb9c5935290e7846df903148278 (patch) | |
| tree | 35a8589c0a4a64747ee3651510d668bf3c3f8939 /template/profile.st | |
| parent | d5ddcebc328d4bf8825c2e9f186caa46d94096ab (diff) | |
Avatar-uploading
Diffstat (limited to 'template/profile.st')
| -rwxr-xr-x | template/profile.st | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/template/profile.st b/template/profile.st index c3d77e2..071b888 100755 --- a/template/profile.st +++ b/template/profile.st @@ -5,8 +5,8 @@ <link rel="stylesheet" type="text/css" media="screen" href="/static/profile.css"> <script src="/static/jquery.editinplace.1.0.1.packed.js" - type="text/javascript" > - </script> + type="text/javascript"></script> + <script src="/static/js/ajaxupload.js"></script> <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" /> @@ -20,7 +20,7 @@ var text = jQuery(this).text(); jQuery(this).html(linkify(text)); }); - }); + }); </script> </head> @@ -51,6 +51,8 @@ $if(is_home)$ <div id="avatar" class="editable">$avatar$</div> + <input id="upload" value="Upload" type="submit"> + <img id="spinner" src="/static/spinner.gif" style="display: none" /> $endif$ |
