Made login
This commit is contained in:
+27
-2
@@ -1,6 +1,4 @@
|
||||
<?php
|
||||
|
||||
|
||||
use Backend\Models\GameJam;
|
||||
|
||||
|
||||
@@ -11,3 +9,30 @@ $gameJam = GameJam::firstOrCreate([
|
||||
'name' => "First game jam ever!", 'startTime' => "2021-03-03T12:40", 'endTime' => "2021-04-03T12:40", 'description' => "Det her et en beskrivelse"
|
||||
]);
|
||||
|
||||
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<title>HTML Tutorial</title>
|
||||
<body>
|
||||
|
||||
<form action="SigningUp.php" method="POST">
|
||||
<input type="text" name="groupName" placeholder="Group name">
|
||||
<input type="number" name="groupAmount" placeholder="Group Amount">
|
||||
<input type="number" name="gameJamId" placeholder="Game Jam id">
|
||||
<input type="password" name="password" placeholder="password">
|
||||
<input type="submit" name="reg_group" value="Register">
|
||||
</form>
|
||||
|
||||
|
||||
<form action="Login.php" method="POST">
|
||||
<input type="text" name="groupName" placeholder="Group name">
|
||||
<input type="password" name="password" placeholder="password">
|
||||
<input type="submit" name="login" value="login">
|
||||
</form>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user