From a44b97376054c576b41b353ce4f59c280124cd9e Mon Sep 17 00:00:00 2001 From: Thomas Van Iseghem Date: Sun, 23 Apr 2023 13:03:26 +0200 Subject: Added some QC like styling --- File-decryption/webapp/images/OpenCortex-logo.png | Bin 0 -> 91577 bytes File-decryption/webapp/index.html | 39 ++++++++----- File-decryption/webapp/style.css | 65 ++++++++++++++++++++++ 3 files changed, 90 insertions(+), 14 deletions(-) create mode 100644 File-decryption/webapp/images/OpenCortex-logo.png create mode 100644 File-decryption/webapp/style.css diff --git a/File-decryption/webapp/images/OpenCortex-logo.png b/File-decryption/webapp/images/OpenCortex-logo.png new file mode 100644 index 0000000..ffb4d0a Binary files /dev/null and b/File-decryption/webapp/images/OpenCortex-logo.png differ diff --git a/File-decryption/webapp/index.html b/File-decryption/webapp/index.html index 65a75f1..2d20c57 100644 --- a/File-decryption/webapp/index.html +++ b/File-decryption/webapp/index.html @@ -7,24 +7,35 @@ OpenCortex - + + + + + - QuadCortex serial, found in /etc/qc_sn. Leave it blank for global decryption. -
-
- -
-
- Encrypted file: -
-
- - - - +
+ +

OpenCortex file decryptor

+
+ +
+ Enter your Quad Cortex serial number (leave blank for global encrypted file): +
+
+ +
+
+ Encrypted file: +
+
+ + + + +
\ No newline at end of file diff --git a/File-decryption/webapp/style.css b/File-decryption/webapp/style.css new file mode 100644 index 0000000..1b742e4 --- /dev/null +++ b/File-decryption/webapp/style.css @@ -0,0 +1,65 @@ +* { + box-sizing: border-box; + margin: 0; + padding: 0; + } + +body { + background: #232323; + color: #fff; + font-family: 'IBM Plex sans', sans-serif; + font-size: 16px; + line-height: 1.5; +} + +header { + padding: 1rem; + display: flex; + align-items: center; + background-color: rgb(10,10,10); +} + +input{ + padding: 0.5rem; + border-radius: 20px; + border: 3px solid rgb(53, 107, 62, 0); + outline-style: none; + + background-color: rgb(18, 18, 18); + color: rgb(185, 185, 185); + font-size: 1rem; + margin: 0.5rem; + text-align: center; +} + +input:focus-visible{ + border: 3px solid rgb(53, 107, 62); +} + +header .header-logo{ + width: 4rem; + margin-right: 1rem; +} + +header .header-title{ + font-weight: 200; +} + +.content { + max-width: 800px; + margin: 0 auto; + padding: 20px; + + /* Vertical align in page */ + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + text-align: center; + + /* Center in page */ + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); +} \ No newline at end of file -- cgit v1.2.3