Data view

This commit is contained in:
2024-11-10 07:04:24 +01:00
parent 5d267af600
commit 99dddb9a0e
14 changed files with 201 additions and 10 deletions

View File

@@ -1,12 +1,13 @@
{% extends "website/base.html" %} {% block content %}
<script src="/static/js/data-upload.js" defer></script>
<div class="w-full mt-16"></div>
<form id="data-upload" class="text-black">
<form id="data-upload" class="flex flex-col gap-2 text-black">
<label class="text-white" for="file">Upload a file:</label>
<input id="file-input" type="file" id="file" name="file" required />
<label class="text-white" for="protected">Protected:</label>
<input id="protected-input" type="checkbox" id="protected" name="protected" />
<button class="text-white" type="submit">Upload</button>
<div>
<label class="text-white" for="protected">Protected:</label>
<input id="protected-input" type="checkbox" id="protected" name="protected" />
</div>
<button class="p-2 text-gray-900 bg-yellow-500 rounded-sm shadow hover:bg-yellow-600" type="submit">Upload</button>
</form>
{% endblock content%}