diff options
author | adam <adam@> | 2021-01-28 19:05:24 +0200 |
---|---|---|
committer | adam <adam@> | 2021-01-28 19:05:24 +0200 |
commit | 758afd5feefbf3a76f5c6abe8bff8c08f39dd7cc (patch) | |
tree | e0445832d241788e37e9795be2857d0854a0b268 | |
parent | 9cab0d0ed64f4e5289a0c979cae10a92508c391b (diff) | |
download | fileup-758afd5feefbf3a76f5c6abe8bff8c08f39dd7cc.tar.gz |
restructuring stuff
-rw-r--r-- | css/style.css (renamed from style.css) | 0 | ||||
-rw-r--r-- | index.php (renamed from index.html) | 12 | ||||
-rw-r--r-- | js/arrows.js (renamed from arrows.js) | 2 | ||||
-rw-r--r-- | register.php | 1 | ||||
-rw-r--r-- | svg/arrow.svg (renamed from arrow.svg) | 0 | ||||
-rw-r--r-- | svg/bottom.svg (renamed from bottom.svg) | 0 |
6 files changed, 8 insertions, 7 deletions
diff --git a/style.css b/css/style.css index e6c5e93..e6c5e93 100644 --- a/style.css +++ b/css/style.css @@ -3,7 +3,7 @@ <head> <meta charset="utf-8"> <title>shady file upload</title> - <link rel="stylesheet" type="text/css" href="style.css"> + <link rel="stylesheet" type="text/css" href="css/style.css"> </head> <body> @@ -16,7 +16,7 @@ <div id="page"> <div id="hero" class="overlay"> <div id="arrows"> - <img src="arrow.svg" id="protoarrow" style="display: none"> + <img src="svg/arrow.svg" id="protoarrow" style="display: none"> </div> <div class="vcenter"> @@ -32,14 +32,14 @@ <div class="content"> <p>Username</p> <input type="text" id="username" name="username"> - <p>Email address</p> + <p>Email address</p> <input type="text" id="email" name="email"> <p>Password</p> <input type="password" id="password" name="password"> <p>Repeat Password</p> <input type="password" id="password2" name="password2"> <input type="submit" value="Sign up"> - <p style="font-size: 1.1em;">Already have an account? <a href="login.php">Sign in</a> + <p style="font-size: 1.1em;">Already have an account? <a href="login.html">Sign in</a> </div> </form> </div> @@ -48,10 +48,10 @@ </div> </div> - <img src="bottom.svg" class="bgbottom"> + <img src="svg/bottom.svg" class="bgbottom"> </div> - <script src="arrows.js"></script> + <script src="js/arrows.js"></script> </body> <html> @@ -4,7 +4,7 @@ arrows = []; const minSpeed = 3; const maxSpeed = 8; const delay = 1500; -const lifetime = 20000; +const lifetime = 25000; function make_arrow() { const svg = document.getElementById("protoarrow").cloneNode(); diff --git a/register.php b/register.php index 7d6c03e..0c00ad4 100644 --- a/register.php +++ b/register.php @@ -1,6 +1,7 @@ <?php require_once "php/database.php"; require_once "php/misc.php"; +require_once "php/configuration.php"; $username=$_POST["username"]; $password=$_POST["password"]; diff --git a/arrow.svg b/svg/arrow.svg index 040182d..040182d 100644 --- a/arrow.svg +++ b/svg/arrow.svg diff --git a/bottom.svg b/svg/bottom.svg index 772081e..772081e 100644 --- a/bottom.svg +++ b/svg/bottom.svg |