summaryrefslogtreecommitdiff
path: root/templates/download.html
diff options
context:
space:
mode:
authorJfriedli2021-03-18 14:18:28 +0100
committerJfriedli2021-03-18 14:18:28 +0100
commitb325dcc4523f13dfe7c741335a7bb80a91a1fac6 (patch)
tree1af6e2456419a7f3ebbb41c95fb08f5a53151212 /templates/download.html
parent81780062aea2f9de8dd704de1da7743937b79c38 (diff)
refactor index and download finished
Diffstat (limited to 'templates/download.html')
-rw-r--r--templates/download.html35
1 files changed, 23 insertions, 12 deletions
diff --git a/templates/download.html b/templates/download.html
index 2313d04..77f081a 100644
--- a/templates/download.html
+++ b/templates/download.html
@@ -2,14 +2,29 @@
2 2
3{% block content %} 3{% block content %}
4<div class="grid grid-rows-1 w-50"> 4<div class="grid grid-rows-1 w-50">
5 <div class="flex justify-center"> 5 <div class="grid grid-rows-1">
6 <div class="rounded overflow-hidden shadow-lg p-4"> 6 {% if not meta_after %}
7 {% if not meta_after %}
8 <div class="px-6 py-4 grid grid-rows-1"> 7 <div class="px-6 py-4 grid grid-rows-1">
9 <h1 class="font-bold text-xl mb-2">Metadata removed</h1> 8 <div class="font-light text-center text-4xl mb-2">Cleaned Metadata</div>
10 </div> 9 </div>
10 <p class="text-gray-700 text-center text-sm text-opacity-80">
11 Successfully removed the metadata.
12 </p>
13 {% endif %}
14 {% if meta_after %}
15 <div class="px-6 py-4 grid grid-rows-1">
16 <div class="font-light text-center text-4xl mb-2">Metadata Partially Removed</div>
17 </div>
18 <p class="text-gray-700 text-center text-sm text-opacity-80">
19 Could not remove all the metadata. Consult the table below for the remaining metadata.
20 </p>
21 {% endif %}
22 </div>
23
24 <div class="flex justify-center mt-8">
25 <div class="rounded w-50 overflow-hidden shadow-lg p-4">
26 {% if not meta_after %}
11 <p class="text-gray-700 text-base text-center"> 27 <p class="text-gray-700 text-base text-center">
12 Successfully removed the metadata
13 <svg class="max-h-40 fill-current text-green-600" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" 28 <svg class="max-h-40 fill-current text-green-600" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"
14 fill="currentColor"> 29 fill="currentColor">
15 <path fill-rule="evenodd" 30 <path fill-rule="evenodd"
@@ -20,11 +35,7 @@
20 {% endif %} 35 {% endif %}
21 36
22 {% if meta_after %} 37 {% if meta_after %}
23 <div class="px-6 py-4 grid grid-rows-1">
24 <h1 class="font-bold text-xl mb-2">Metadata partially removed</h1>
25 </div>
26 <p class="text-gray-700 text-base text-center"> 38 <p class="text-gray-700 text-base text-center">
27 Could not remove all the metadata
28 <svg class="max-h-40 fill-current text-yellow-600" xmlns="http://www.w3.org/2000/svg" 39 <svg class="max-h-40 fill-current text-yellow-600" xmlns="http://www.w3.org/2000/svg"
29 viewBox="0 0 20 20" fill="currentColor"> 40 viewBox="0 0 20 20" fill="currentColor">
30 <path fill-rule="evenodd" 41 <path fill-rule="evenodd"
@@ -37,9 +48,9 @@
37 48
38 <a class="uk-flex-1" href='{{ download_uri }}'> 49 <a class="uk-flex-1" href='{{ download_uri }}'>
39 <button 50 <button
40 class="w-full bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded flex justify-center" 51 class="w-full bg-blue-dark hover:bg-blue-700 text-white py-2 px-4 rounded flex justify-center"
41 > 52 >
42 <svg class="w-4 h-4 mr-2 text-white" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"> 53 <svg class="w-4 h-4 mr-2 text-white self-center" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">
43 <path style="fill: white" d="M13 8V2H7v6H2l8 8 8-8h-5zM0 18h20v2H0v-2z" /> 54 <path style="fill: white" d="M13 8V2H7v6H2l8 8 8-8h-5zM0 18h20v2H0v-2z" />
44 </svg> 55 </svg>
45 <span>Download Cleaned File</span> 56 <span>Download Cleaned File</span>
@@ -52,7 +63,7 @@
52 <div class="bg-white shadow-md rounded my-6"> 63 <div class="bg-white shadow-md rounded my-6">
53 <table class="text-left w-full border-collapse"> 64 <table class="text-left w-full border-collapse">
54 <div class="px-6 py-4 grid grid-rows-1"> 65 <div class="px-6 py-4 grid grid-rows-1">
55 <h1 class="font-bold text-xl mb-2">Remaining Metadata</h1> 66 <h1 class="font-light text-center text-4xl">Remaining Metadata</h1>
56 </div> 67 </div>
57 <thead> 68 <thead>
58 <tr> 69 <tr>