Add home page and navigation bar
This commit is contained in:
23
src/user.php
23
src/user.php
@@ -9,7 +9,20 @@
|
||||
<link rel="stylesheet" href="../static/style.css" type="text/css" media="screen" />
|
||||
</head>
|
||||
<body>
|
||||
<div style="text-align: right; margin-top: 20px;">
|
||||
<header>
|
||||
<nav>
|
||||
<ul class="navbar-left">
|
||||
<li class="list"><a href="index.php">Página principal</a></li>
|
||||
<li class="list"><a href="user.php">Usuarios</a></li>
|
||||
<li class="list"><a href="patient.php">Pacientes</a></li>
|
||||
<li class="list"><a href="appointment.php">Citas</a></li>
|
||||
<li class="list"><a href="holiday.php">Vacaciones</a></li>
|
||||
<li class="list"><a href="report.php">Informes</a></li>
|
||||
<li class="list"><a href="login.php">Login</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<div style="text-align: right; margin-top: 50px;">
|
||||
<a href="forms/user_create_form.html" class="create_btn" >Crear</a>
|
||||
</div>
|
||||
<table>
|
||||
@@ -34,7 +47,7 @@
|
||||
}
|
||||
|
||||
foreach($list as $row) :
|
||||
if(!$row[5]):
|
||||
if(!$row[5]):
|
||||
?>
|
||||
<tr>
|
||||
<td><?php echo $row[0]; ?></td>
|
||||
@@ -63,9 +76,9 @@
|
||||
</form>
|
||||
</div>
|
||||
<?php if (isset($_GET["search"])): ?>
|
||||
<div style="text-align: right; margin-top: 20px;">
|
||||
<a href="user.php" class="back_btn">Atrás</a>
|
||||
</div>
|
||||
<div style="text-align: right; margin-top: 20px;">
|
||||
<a href="user.php" class="back_btn">Atrás</a>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user