diff --git a/Flyout/flyout.css b/Flyout/flyout.css index 44b04c9..fdd968a 100644 --- a/Flyout/flyout.css +++ b/Flyout/flyout.css @@ -20,7 +20,7 @@ max-width: 621px; width: calc(100% - 3.5rem); max-height: 20rem; height: auto; min-height: 10rem; - position: fixed; z-index: 99999; + position: fixed; z-index: 999999999; left: 50%; bottom: -15rem; transform: translateX(-50%) scale(0.5); @@ -42,10 +42,12 @@ display: inline; box-sizing: border-box; } + /* Worlds shittest workaround to a problem I have no clue how to fix */ -.flyout-actionbox * { +.flyout-actionbox *, +.flyout-actionbox * * { width: 100%; } -.flyout-actionbox * * { +.flyout-actionbox * * * { width: auto; } diff --git a/Flyout/flyout.js b/Flyout/flyout.js index af75cbc..acf9172 100644 --- a/Flyout/flyout.js +++ b/Flyout/flyout.js @@ -20,7 +20,7 @@ function flyoutShow(header, description, actionbox) { // Set information in flyout flyoutHeader.textContent = header; flyoutDescription.textContent = description; - flyoutActionbox.innerHTML = actionbox; + $(flyoutActionbox).html(actionbox); // Show the flyout flyoutRoot.style.display = "flex"; diff --git a/about.php b/about.php index 7af9794..a1beb94 100644 --- a/about.php +++ b/about.php @@ -28,6 +28,9 @@

What Do I want this to become in the future? No clue, but I do want this to be usable by others, if its a file they download a docker image they setup on your own web server.

Will it become that any time soon? No, but. I am going to work on this untill it becomes what I want it to be!

+

Can you add "A" or "B"?

+

No.

+

How do I use this!

First you must obtain the invite code. If you don't have one and are interested in trying this, feel free to DM me on Telegram!

But once you're done doing that, you can start making your account at the signup page here.

@@ -40,9 +43,6 @@

To mrHDash...

- + diff --git a/app/image/edit_description.php b/app/image/edit_description.php index 378fa2b..073b6a3 100644 --- a/app/image/edit_description.php +++ b/app/image/edit_description.php @@ -24,9 +24,9 @@ if (isset($_POST['submit'])) { // Attempt to execute the prepared statement if (mysqli_stmt_execute($stmt)) { - echo "sniffleAdd('Info','Description has been updated successfully! You may need to refresh the page to see the new information.','var(--green)')"; + echo "sniffleAdd('Info', 'Description has been updated successfully! You may need to refresh the page to see the new information.', 'var(--green)', ".$root_dir."'assets/icons/check.svg')"; } else { - echo "sniffleAdd('Error','An error occured on the servers','var(--red)')"; + echo "sniffleAdd('Error', 'An error occured on the servers', 'var(--red)', ".$root_dir."'assets/icons/check.svg')"; } } } diff --git a/assets/icons/check.svg b/assets/icons/check.svg new file mode 100644 index 0000000..e1756aa --- /dev/null +++ b/assets/icons/check.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/icons/cross.svg b/assets/icons/cross.svg new file mode 100644 index 0000000..dec11da --- /dev/null +++ b/assets/icons/cross.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/css/master.css b/css/master.css index e2baef5..54f89ed 100644 --- a/css/master.css +++ b/css/master.css @@ -72,7 +72,7 @@ body { #back-to-top { margin: 0; padding: 0.5rem; - position: fixed; z-index: 9999999999; + position: fixed; z-index: 9999999; right: -2.5rem; bottom: 1rem; object-position: center; diff --git a/image.php b/image.php index 249dfcc..45a7da0 100644 --- a/image.php +++ b/image.php @@ -1,13 +1,3 @@ - - @@ -23,6 +13,10 @@ function info_check($string){ + + @@ -33,13 +27,25 @@ function info_check($string){ @@ -186,6 +198,8 @@ function info_check($string){

Danger zone

+ +