diff options
-rw-r--r-- | File-decryption/webapp/index.html | 32 | ||||
-rw-r--r-- | File-decryption/webapp/style.css | 53 |
2 files changed, 72 insertions, 13 deletions
diff --git a/File-decryption/webapp/index.html b/File-decryption/webapp/index.html index 2d20c57..99590b2 100644 --- a/File-decryption/webapp/index.html +++ b/File-decryption/webapp/index.html @@ -12,7 +12,12 @@ <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap" rel="stylesheet"> + <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css" integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ==" crossorigin="anonymous" referrerpolicy="no-referrer" /> + <link rel="stylesheet" href="./style.css"/> + <script src="/sha1.js"></script> + <script src="/main.js"></script> + </head> <body> @@ -22,19 +27,20 @@ </header> <div class="content"> - Enter your Quad Cortex serial number (leave blank for global encrypted file): - <br /> - <br /> - <input type="text" id="serial-input" /> - <br /> - <br /> - Encrypted file: - <br /> - <br /> - <input type="file" id="file-input" /> - - <script src="/sha1.js"></script> - <script src="/main.js"></script> + <div class="serial-input"> + <h3>Enter your Quad Cortex serial number</h3> + <p>(leave blank for global encrypted file)</p> + <input type="text" id="serial-input" /> + </div> + <div class="file-upload"> + <h3 class="file-upload-title">Encrypted file:</h3> + + <label class="file-input-label" id="file-input-label" for="file-input"> + <i class="fa-solid fa-cloud-arrow-up pr-5"></i> + <p>Choose File</p> + </label> + <input class="file-input" id="file-input" type="file"> + </div> </div> </body> diff --git a/File-decryption/webapp/style.css b/File-decryption/webapp/style.css index 1b742e4..64fa213 100644 --- a/File-decryption/webapp/style.css +++ b/File-decryption/webapp/style.css @@ -62,4 +62,57 @@ header .header-title{ top: 50%; left: 50%; transform: translate(-50%, -50%); +} + +.serial-input{ + margin-bottom: 3rem; +} + +.serial-input p{ + color: rgb(185, 185, 185); +} + +.serial-input p { + margin-bottom: 1rem; +} + +.file-upload { + width: 100%; +} + +.file-upload .file-input-title { + display: flex; + + align-items: center; + justify-content: center; + background-color: rgb(18, 18, 18); + height: 3rem; + width: 100%; +} + +.file-upload .file-input { + display: none; +} + +.file-upload .file-upload-title{ + margin-bottom: 1rem; +} + +.file-upload .file-input-label { + display: flex; + border-radius: 1rem; + align-items: center; + justify-content: center; + background-color: rgb(63, 13, 242); + height: 3rem; + width: 100%; +} + +.file-upload .file-input-label:hover{ + background-color: rgb(98, 13, 255); + cursor: pointer; +} + +.file-upload .file-input-label .fa-cloud-arrow-up{ + margin-right: 0.5rem; }
\ No newline at end of file |