Add: some kind of instructions for the form

This commit is contained in:
Óscar M. Lage 2024-12-05 14:41:27 +01:00
parent 8a0de290b8
commit 516b2a9bdf

View File

@ -3,6 +3,9 @@
<div class="container flex justify-center items-center">
<div class="bg-gray-800 p-8 rounded-lg shadow-xl max-w-md w-full">
<h1 class="text-3xl text-center text-white mb-6 font-semibold">Bash Wrapped</h1>
<p class="mb-8">Upload your .bash_history to see your usage statistics.</p>
<form action="/upload" method="post" enctype="multipart/form-data" class="space-y-4">
<div class="flex justify-center">
<input type="file" name="file" class="p-3 text-white bg-gray-700 rounded-md border-2 border-gray-600 w-full" />
@ -13,6 +16,10 @@
</button>
</div>
</form>
<p class="mb-8 mt-8"><small>Warning: Be sure to edit it beforehand to remove any passwords
or commands that might leak sensitive information. While the file is
deleted immediately after being uploaded, double-check it before
submitting.</small></p>
</div>
</div>