36 lines
1,023 B
HTML
36 lines
1,023 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>videopdf</title>
|
|
<script type="text/javascript">
|
|
var UPLOAD_URL = "{{PREFIX}}/add";
|
|
</script>
|
|
<script src="{{PREFIX}}/static/js/jquery.js" type="text/javascript"></script>
|
|
<script src="{{PREFIX}}/static/js/chunkupload.js" type="text/javascript"></script>
|
|
<script src="{{PREFIX}}/static/js/upload.js?1" type="text/javascript"></script>
|
|
</head>
|
|
<body>
|
|
<h1>videopdf</h1>
|
|
{% if anonymous %}
|
|
<div>
|
|
You have to
|
|
<a href="{{PREFIX}}/login">login</a>
|
|
or <a href="{{PREFIX}}/register">register</a>.
|
|
|
|
</div>
|
|
{% else %}
|
|
<div>
|
|
<div id='status'></div>
|
|
<form id="addFile">
|
|
<input id="file" name="file" type="file" value="Select File.." />
|
|
<input id="upload" type="button" value="Upload" style="display: none" />
|
|
</form>
|
|
</div>
|
|
<ul>
|
|
{% for item in items %}
|
|
<li><a href="{{item.get_absolute_url}}">{{item.filename}}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
</body>
|
|
</html>
|