forked from Quasimo/FotoRatan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathupload.html
20 lines (19 loc) · 991 Bytes
/
upload.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{% extends "base.html" %}
{% block title %}{{image.created_at}}{% endblock %}
{% block main %}
<h2 class="panel-tit"><span>Upload Image</span></h2>
<div id="uploadpanle">
<form id="upload_form" action="/admin/upload/" enctype="multipart/form-data" method="post">
<div class="selete">Select image: <input type="file" name="file" id="file" /></div>
<div class="description"><span>Description: </span><textarea name="description" cols="40" rows="3"></textarea></div>
<div><input type="submit" value="Upload" class="super white button awesome" /></div>
</form>
<ul class="note">
<li class="error-msg-4ipad">Upload function DOSE NOT support in iPhone / iPad Yet for <a href="http://geekaa3.appspot.com/t/198" target="_blank">Some Reasons</a></li>
<li>maximum file size: <strong>1M</strong></li>
<li>image types allowed: <strong>jpeg</strong>, <strong>jpg</strong>, <strong>png</strong>, <strong>gif</strong></li>
</ul>
</div>
{% endblock %}
</body>
</html>