aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/cover_photo.tpl
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-01-13 17:32:09 -0800
committerredmatrix <git@macgirvin.com>2016-01-13 17:32:09 -0800
commit9584ca080c10777407c59c5939dd0cf2a88a847b (patch)
treeeaa3aa8f820d83e3305156a8b8f5cd420013b874 /view/tpl/cover_photo.tpl
parent86b550e43e91f39084398bf3540ec2bd3da5d179 (diff)
downloadvolse-hubzilla-9584ca080c10777407c59c5939dd0cf2a88a847b.tar.gz
volse-hubzilla-9584ca080c10777407c59c5939dd0cf2a88a847b.tar.bz2
volse-hubzilla-9584ca080c10777407c59c5939dd0cf2a88a847b.zip
some initial work on uploading and cropping cover photos
Diffstat (limited to 'view/tpl/cover_photo.tpl')
-rwxr-xr-xview/tpl/cover_photo.tpl23
1 files changed, 23 insertions, 0 deletions
diff --git a/view/tpl/cover_photo.tpl b/view/tpl/cover_photo.tpl
new file mode 100755
index 000000000..1db139e7b
--- /dev/null
+++ b/view/tpl/cover_photo.tpl
@@ -0,0 +1,23 @@
+<div class="generic-content-wrapper-styled">
+<h1>{{$title}}</h1>
+
+<form enctype="multipart/form-data" action="cover_photo" method="post">
+<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
+
+<div id="profile-photo-upload-wrapper">
+
+<label id="profile-photo-upload-label" class="form-label" for="profile-photo-upload">{{$lbl_upfile}}</label>
+<input name="userfile" class="form-input" type="file" id="profile-photo-upload" size="48" />
+<div class="clear"></div>
+
+<div id="profile-photo-submit-wrapper">
+<input type="submit" name="submit" id="profile-photo-submit" value="{{$submit}}">
+</div>
+</div>
+
+</form>
+
+<div id="profile-photo-link-select-wrapper">
+{{$select}}
+</div>
+</div>