quadfile/templates/upload.html

35 lines
782 B
HTML
Raw Normal View History

2015-12-23 15:30:48 +00:00
{% extends "shell.html" %}
2015-12-23 13:11:38 +00:00
{% block body %}
2015-12-23 15:30:48 +00:00
<h1 class="title">
QuadFile
</h1>
2015-12-23 13:41:25 +00:00
<form action="" id="form" name="fileForm" method="post" enctype="multipart/form-data" class="uploadForm">
<div class="uploadButton">
<p>
2015-12-23 15:30:48 +00:00
Click to select a file
2015-12-23 13:41:25 +00:00
</p>
<input id="file" type="file" name="file">
2015-12-23 13:41:25 +00:00
</div>
2015-12-23 13:11:38 +00:00
<input type="hidden" name="source" value="web">
</form>
2015-12-23 15:30:48 +00:00
<ul class="links">
<li>
<a href="/about">About</a>
</li>
<li>
<a href="/faq">F.A.Q</a>
</li>
<li>
<a href="/sharex">ShareX</a>
</li>
<li>
<a href="/terms">Terms</a>
</li>
</ul>
2015-12-23 13:11:38 +00:00
<script>
document.getElementById("file").onchange = function() {
document.getElementById("form").submit();
};
</script>
{% endblock %}