summaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
authorJfriedli2021-03-18 14:18:28 +0100
committerJfriedli2021-03-18 14:18:28 +0100
commitb325dcc4523f13dfe7c741335a7bb80a91a1fac6 (patch)
tree1af6e2456419a7f3ebbb41c95fb08f5a53151212 /templates/index.html
parent81780062aea2f9de8dd704de1da7743937b79c38 (diff)
refactor index and download finished
Diffstat (limited to '')
-rw-r--r--templates/index.html34
1 files changed, 23 insertions, 11 deletions
diff --git a/templates/index.html b/templates/index.html
index f0268f3..addf868 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,24 +1,36 @@
1{% extends "base.html" %} 1{% extends "base.html" %}
2{% block content %} 2{% block content %}
3<div class="flex justify-center"> 3
4<div class="grid grid-rows-1">
5 <div class="font-light text-center text-4xl mb-2">Remove Metadata</div>
6 <p class="text-gray-700 text-center text-sm text-opacity-80">
7 The file you see is just the tip of the iceberg. Remove the hidden metadata.
8 </p>
9</div>
10
11<div class="flex justify-center mt-8">
4 <div class="w-50 rounded overflow-hidden shadow-lg pb-4"> 12 <div class="w-50 rounded overflow-hidden shadow-lg pb-4">
5 <div class="px-6 py-4">
6 <div class="font-bold text-xl mb-2">Remove Metadata</div>
7 <p class="text-gray-700 text-base">
8 The file you see is just the tip of the iceberg. Remove the hidden metadata.
9 </p>
10 </div>
11 <div class="px-6 pt-4 pb-2 grid grid-rows-1"> 13 <div class="px-6 pt-4 pb-2 grid grid-rows-1">
12 <form method="post" enctype="multipart/form-data" class="grid grid-rows-1"> 14 <form method="post" enctype="multipart/form-data" class="grid grid-rows-1">
13 <input type="file" name="file" id="upload_file" accept="{{ mimetypes | join(', ') }}"> 15 <input class="border rounded" type="file" name="file" id="upload_file" accept="{{ mimetypes | join(', ') }}">
14 <button class="mt-4 bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded" type="submit" 16 <button
15 value="Upload">Remove Metadata</button> 17 class="w-full mt-4 bg-blue-dark hover:bg-blue-700 text-white py-2 px-4 rounded flex justify-center"
18 type="submit"
19 value="Upload"
20 >
21 <svg class="w-4 h-4 mr-2 text-white self-center" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
22 <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16" />
23 </svg>
24 <span>
25 Remove Metadata
26 </span>
27 </button>
16 </form> 28 </form>
17 </div> 29 </div>
18 </div> 30 </div>
19</div> 31</div>
20<button 32<button
21 class="p-0 w-10 h-10 absolute sm:bottom-8 md:bottom-16 sm:right-8 md:right-16 bg-blue-300 hover:bg-blue-400 rounded-full active:shadow-lg mouse shadow transition ease-in duration-200 focus:outline-none"> 33 class="p-0 w-10 h-10 absolute bottom-8 md:bottom-16 lg:bottom-24 right-8 md:right-16 lg:right-24 bg-blue-300 hover:bg-blue-400 rounded-full active:shadow-lg mouse shadow transition ease-in duration-200 focus:outline-none">
22 <a href="/info" role="link" class="w-6 h-6 text-white inline-block font-bold"> 34 <a href="/info" role="link" class="w-6 h-6 text-white inline-block font-bold">
23 ? 35 ?
24 </a> 36 </a>