updated admin page and connect with database
This commit is contained in:
parent
98a2bdc1d3
commit
92cd23b3af
1 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
<?php
|
||||
|
||||
require('components/db_config.php');
|
||||
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
@ -38,12 +43,12 @@
|
|||
</div>
|
||||
<div class="m-4">
|
||||
<div class="mb-4">
|
||||
<input type="text" class="form-control shadow-none" placeholder="Username"/>
|
||||
<input name="admin_name" type="text" class="form-control shadow-none" placeholder="Username"/>
|
||||
</div>
|
||||
<div class="mb-4">
|
||||
<input type="password" class="form-control shadow-none" placeholder="Password"/>
|
||||
<input name="admin_pass" type="password" class="form-control shadow-none" placeholder="Password"/>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-main">Login</button>
|
||||
<button name="login" type="submit" class="btn btn-main">Login</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue