Skip to content
Snippets Groups Projects
Commit e26b55de authored by Iqbal's avatar Iqbal
Browse files

Changed page from html to php.

parent ea7fe053
2 merge requests!7Routing Configuration with index.php,!6Reconfigure Login and Register Page
<html>
<head>
<title>DAGO-JEK | Profil</title>
<link rel="stylesheet" type="text/css" href="/style.css">
</head>
<body>
<div class="container">
<div class="row">
<div class="col-6 text-center">
<h1>DAGOJEK<br>
<small>Welcome to go-jek rip-off!</small></h1>
</div>
</div>
<div class="row">
<div class="col-2">
</div>
<div class="col-2">
<form method="post" action="/">
<fieldset>
<legend>Login:</legend>
Username: <br>
<input type="text" placeholder="Username" name="username">
<br>
Password: <br>
<input type="password" placeholder="Password" name="password">
<br>
<input class="btn" type="submit" value="Login">
<a href="/index.php/register">Don't have an account?</a>
<br>
</fieldset>
</form>
</div>
<div class="col-2">
</div>
</div>
</div>
</body>
</html>
\ No newline at end of file
<html>
<head>
<title>DAGO-JEK | Profil</title>
<link rel="stylesheet" type="text/css" href="/style.css">
</head>
<body>
<div class="container">
<div class="row">
<div class="col-6 text-center">
<h1>DAGOJEK<br>
<small>Create new account!</small></h1>
</div>
</div>
<div class="row">
<div class="col-1">
</div>
<div class="col-4">
<form id="register-form" method="post" action="/index.php/register">
<fieldset>
<legend>Sign Up</legend>
<table id="register-table">
<tr>
<td>
Name:
</td>
<td>
<input type="text" placeholder="Your name" id="name" name="name">
</td>
</tr>
<tr>
<td>
Username:
</td>
<td>
<input id="username" type="text" placeholder="Username" name="username">
</td>
</tr>
<tr>
<td>
Email:
</td>
<td>
<input id="email" type="email" placeholder="Email address" name="email">
</td>
</tr>
<tr>
<td>
Password:
</td>
<td>
<input type="password" placeholder="Password" id="password" name="password">
</td>
</tr>
<tr>
<td>
Confirm Password:
</td>
<td>
<input type="password" placeholder="Confirm password" id="confirm-password" name="confirm-password">
</td>
</tr>
<tr>
<td>
Phone Number:
</td>
<td>
<input type="number" placeholder="Phone number" id="phone" name="phone">
</td>
</tr>
</table>
<input type="checkbox" value="is-driver" name="is_driver"> I want to be a driver as well!
<br>
<input id="sign-up-btn" type="submit" value="Sign up" disabled>
<br>
</fieldset>
</form>
</div>
<div class="col-1">
</div>
</div>
</div>
<script type="application/javascript" src="/scripts.js"></script>
</body>
</html>
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment