Merge pull request #5128 from tobiasd/20180525-5067
[friendica.git/.git] / view / theme / frost-mobile / templates / cropbody.tpl
1 <h1>{{$title}}</h1>
2 <p id="cropimage-desc">
3 {{$desc}}
4 </p>
5 <div id="cropimage-wrapper">
6 <img src="{{$image_url}}" id="croppa" class="imgCrop" alt="{{$title}}" />
7 </div>
8 <div id="cropimage-preview-wrapper" >
9 <div id="previewWrap" ></div>
10 </div>
11
12 <form action="profile_photo/{{$resource}}" id="crop-image-form" method="post" />
13 <input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
14
15 <input type="hidden" name="cropfinal" value="1" />
16 <input type="hidden" name="xstart" id="x1" />
17 <input type="hidden" name="ystart" id="y1" />
18 <input type="hidden" name="xfinal" id="x2" />
19 <input type="hidden" name="yfinal" id="y2" />
20 <input type="hidden" name="height" id="height" />
21 <input type="hidden" name="width"  id="width" />
22
23 <div id="crop-image-submit-wrapper" >
24 <input type="submit" name="submit" value="{{$done}}" />
25 </div>
26
27 </form>