aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.php1
-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
diff --git a/index.html b/index.php
index ba6733f..2d1ddfb 100644
--- a/index.html
+++ b/index.php
@@ -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>
diff --git a/arrows.js b/js/arrows.js
index ec7352c..a23af87 100644
--- a/arrows.js
+++ b/js/arrows.js
@@ -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