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">
|
2015-12-24 20:09:38 +00:00
|
|
|
<p id="uploadText">
|
2015-12-23 15:30:48 +00:00
|
|
|
Click to select a file
|
2015-12-23 13:41:25 +00:00
|
|
|
</p>
|
2015-12-23 13:57:03 +00:00
|
|
|
<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="/terms">Terms</a>
|
|
|
|
</li>
|
2015-12-24 14:26:55 +00:00
|
|
|
<li>
|
|
|
|
<a href="/privacy">Privacy</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="/faq">FAQ</a>
|
|
|
|
</li>
|
2015-12-23 15:30:48 +00:00
|
|
|
</ul>
|
2015-12-23 13:11:38 +00:00
|
|
|
<script>
|
|
|
|
document.getElementById("file").onchange = function() {
|
2015-12-24 20:09:38 +00:00
|
|
|
document.getElementById("uploadText").innerHTML = "Uploading...";
|
2015-12-23 13:11:38 +00:00
|
|
|
document.getElementById("form").submit();
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
{% endblock %}
|