Include navbar in all files and flatten directory
This commit is contained in:
parent
7106239d88
commit
222194f1f1
|
@ -15,23 +15,7 @@
|
|||
<script src="calendar.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<ul class="navbar-left">
|
||||
<li class="list"><a href="index.php">Página principal</a></li>
|
||||
<?php if(isset($_SESSION["user"])) : ?>
|
||||
<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>
|
||||
<?php endif ?>
|
||||
<?php if($_SESSION["user_type"] == 2) : ?>
|
||||
<li class="list"><a href="report.php">Informes</a></li>
|
||||
<?php endif ?>
|
||||
<li class="list"><a href="login.php">Login</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<?php include 'navbar.php' ?>
|
||||
<div class="response"></div>
|
||||
<div id="calendar" style="max-width: 700px; margin: auto;"></div>
|
||||
</body>
|
||||
|
|
|
@ -9,23 +9,7 @@
|
|||
<link rel="stylesheet" href="../static/style.css" type="text/css" media="screen" />
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<ul class="navbar-left">
|
||||
<li class="list"><a href="index.php">Página principal</a></li>
|
||||
<?php if(isset($_SESSION["user"])) : ?>
|
||||
<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>
|
||||
<?php endif ?>
|
||||
<?php if($_SESSION["user_type"] == 2) : ?>
|
||||
<li class="list"><a href="report.php">Informes</a></li>
|
||||
<?php endif ?>
|
||||
<li class="list"><a href="login.php">Login</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<?php include 'navbar.php' ?>
|
||||
<div style="text-align: right; margin-top: 50px;">
|
||||
<a href="forms/holiday_create_form.php" class="create_btn" >Crear</a>
|
||||
</div>
|
||||
|
|
|
@ -5,27 +5,11 @@
|
|||
<title>Gestión de usuarios</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="../../static/style.css" type="text/css" media="screen" />
|
||||
<script src="../validate_date.js"></script>
|
||||
<link rel="stylesheet" href="../static/style.css" type="text/css" media="screen" />
|
||||
<script src="validate_date.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<ul class="navbar-left">
|
||||
<li class="list"><a href="index.php">Página principal</a></li>
|
||||
<?php if(isset($_SESSION["user"])) : ?>
|
||||
<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>
|
||||
<?php endif ?>
|
||||
<?php if($_SESSION["user_type"] == 2) : ?>
|
||||
<li class="list"><a href="report.php">Informes</a></li>
|
||||
<?php endif ?>
|
||||
<li class="list"><a href="login.php">Login</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<?php include 'navbar.php' ?>
|
||||
<?php
|
||||
include '../database.php';
|
||||
|
|
@ -5,26 +5,10 @@
|
|||
<title>Gestión de usuarios</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="../../static/style.css" type="text/css" media="screen" />
|
||||
<link rel="stylesheet" href="../static/style.css" type="text/css" media="screen" />
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<ul class="navbar-left">
|
||||
<li class="list"><a href="index.php">Página principal</a></li>
|
||||
<?php if(isset($_SESSION["user"])) : ?>
|
||||
<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>
|
||||
<?php endif ?>
|
||||
<?php if($_SESSION["user_type"] == 2) : ?>
|
||||
<li class="list"><a href="report.php">Informes</a></li>
|
||||
<?php endif ?>
|
||||
<li class="list"><a href="login.php">Login</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<?php include 'navbar.php' ?>
|
||||
<?php
|
||||
include '../database.php';
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
<title>MDIS</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="../../static/style.css" type="text/css" media="screen" />
|
||||
<link rel="stylesheet" href="../static/style.css" type="text/css" media="screen" />
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
|
|
|
@ -11,22 +11,7 @@
|
|||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<ul class="navbar-left">
|
||||
<li class="list"><a href="index.php">Página principal</a></li>
|
||||
<?php if(isset($_SESSION["user"])) : ?>
|
||||
<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>
|
||||
<?php endif ?>
|
||||
<?php if($_SESSION["user_type"] == 2) : ?>
|
||||
<li class="list"><a href="report.php">Informes</a></li>
|
||||
<?php endif ?>
|
||||
<li class="list"><a href="login.php">Login</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<?php include 'navbar.php' ?>
|
||||
</body>
|
||||
<form name="login_form" method="post" action="user_management.php" onsubmit="return validateLogin();">
|
||||
<div class="input-group">
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
<header>
|
||||
<nav>
|
||||
<ul class="navbar-left">
|
||||
<li class="list"><a href="index.php">Página principal</a></li>
|
||||
<?php if(isset($_SESSION["user"])) : ?>
|
||||
<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>
|
||||
<?php endif ?>
|
||||
<?php if($_SESSION["user_type"] == 2) : ?>
|
||||
<li class="list"><a href="report.php">Informes</a></li>
|
||||
<?php endif ?>
|
||||
<li class="list"><a href="login.php">Login</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
|
@ -9,23 +9,7 @@
|
|||
<link rel="stylesheet" href="../static/style.css" type="text/css" media="screen" />
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<ul class="navbar-left">
|
||||
<li class="list"><a href="index.php">Página principal</a></li>
|
||||
<?php if(isset($_SESSION["user"])) : ?>
|
||||
<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>
|
||||
<?php endif ?>
|
||||
<?php if($_SESSION["user_type"] == 2) : ?>
|
||||
<li class="list"><a href="report.php">Informes</a></li>
|
||||
<?php endif ?>
|
||||
<li class="list"><a href="login.php">Login</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<?php include 'navbar.php' ?>
|
||||
<div style="text-align: right; margin-top: 50px;">
|
||||
<a href="forms/patient_create_form.php" class="create_btn" >Crear</a>
|
||||
</div>
|
||||
|
|
|
@ -5,29 +5,13 @@
|
|||
<title>Gestión de pacientes</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="../../static/style.css" type="text/css" media="screen" />
|
||||
<script src="../../static/jquery-3.5.1.min.js"></script>
|
||||
<script src="../ajax.js"></script>
|
||||
<script src="../validate_patient.js"></script>
|
||||
<link rel="stylesheet" href="../static/style.css" type="text/css" media="screen" />
|
||||
<script src="../static/jquery-3.5.1.min.js"></script>
|
||||
<script src="ajax.js"></script>
|
||||
<script src="validate_patient.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<ul class="navbar-left">
|
||||
<li class="list"><a href="index.php">Página principal</a></li>
|
||||
<?php if(isset($_SESSION["user"])) : ?>
|
||||
<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>
|
||||
<?php endif ?>
|
||||
<?php if($_SESSION["user_type"] == 2) : ?>
|
||||
<li class="list"><a href="report.php">Informes</a></li>
|
||||
<?php endif ?>
|
||||
<li class="list"><a href="login.php">Login</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<?php include 'navbar.php' ?>
|
||||
<?php
|
||||
include '../database.php';
|
||||
|
|
@ -5,26 +5,10 @@
|
|||
<title>Gestión de pacientes</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="../../static/style.css" type="text/css" media="screen" />
|
||||
<link rel="stylesheet" href="../static/style.css" type="text/css" media="screen" />
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<ul class="navbar-left">
|
||||
<li class="list"><a href="index.php">Página principal</a></li>
|
||||
<?php if(isset($_SESSION["user"])) : ?>
|
||||
<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>
|
||||
<?php endif ?>
|
||||
<?php if($_SESSION["user_type"] == 2) : ?>
|
||||
<li class="list"><a href="report.php">Informes</a></li>
|
||||
<?php endif ?>
|
||||
<li class="list"><a href="login.php">Login</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<?php include 'navbar.php' ?>
|
||||
<?php
|
||||
include '../database.php';
|
||||
|
|
@ -9,23 +9,7 @@
|
|||
<link rel="stylesheet" href="../static/style.css" type="text/css" media="screen" />
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<ul class="navbar-left">
|
||||
<li class="list"><a href="index.php">Página principal</a></li>
|
||||
<?php if(isset($_SESSION["user"])) : ?>
|
||||
<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>
|
||||
<?php endif ?>
|
||||
<?php if($_SESSION["user_type"] == 2) : ?>
|
||||
<li class="list"><a href="report.php">Informes</a></li>
|
||||
<?php endif ?>
|
||||
<li class="list"><a href="login.php">Login</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<?php include 'navbar.php' ?>
|
||||
<div style="text-align: right; margin-top: 50px;">
|
||||
<a href="forms/report_create_form.php" class="create_btn" >Crear</a>
|
||||
</div>
|
||||
|
|
|
@ -5,27 +5,11 @@
|
|||
<title>Gestión de usuarios</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="../../static/style.css" type="text/css" media="screen" />
|
||||
<script src="../validate_report.js"></script>
|
||||
<link rel="stylesheet" href="../static/style.css" type="text/css" media="screen" />
|
||||
<script src="validate_report.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<ul class="navbar-left">
|
||||
<li class="list"><a href="index.php">Página principal</a></li>
|
||||
<?php if(isset($_SESSION["user"])) : ?>
|
||||
<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>
|
||||
<?php endif ?>
|
||||
<?php if($_SESSION["user_type"] == 2) : ?>
|
||||
<li class="list"><a href="report.php">Informes</a></li>
|
||||
<?php endif ?>
|
||||
<li class="list"><a href="login.php">Login</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<?php include 'navbar.php' ?>
|
||||
<?php
|
||||
include '../database.php';
|
||||
|
|
@ -5,26 +5,10 @@
|
|||
<title>Gestión de usuarios</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="../../static/style.css" type="text/css" media="screen" />
|
||||
<link rel="stylesheet" href="../static/style.css" type="text/css" media="screen" />
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<ul class="navbar-left">
|
||||
<li class="list"><a href="index.php">Página principal</a></li>
|
||||
<?php if(isset($_SESSION["user"])) : ?>
|
||||
<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>
|
||||
<?php endif ?>
|
||||
<?php if($_SESSION["user_type"] == 2) : ?>
|
||||
<li class="list"><a href="report.php">Informes</a></li>
|
||||
<?php endif ?>
|
||||
<li class="list"><a href="login.php">Login</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<?php include 'navbar.php' ?>
|
||||
<?php
|
||||
include '../database.php';
|
||||
|
18
src/user.php
18
src/user.php
|
@ -9,23 +9,7 @@
|
|||
<link rel="stylesheet" href="../static/style.css" type="text/css" media="screen" />
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<ul class="navbar-left">
|
||||
<li class="list"><a href="index.php">Página principal</a></li>
|
||||
<?php if(isset($_SESSION["user"])) : ?>
|
||||
<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>
|
||||
<?php endif ?>
|
||||
<?php if($_SESSION["user_type"] == 2) : ?>
|
||||
<li class="list"><a href="report.php">Informes</a></li>
|
||||
<?php endif ?>
|
||||
<li class="list"><a href="login.php">Login</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<?php include 'navbar.php' ?>
|
||||
<div style="text-align: right; margin-top: 50px;">
|
||||
<a href="forms/user_create_form.html" class="create_btn" >Crear</a>
|
||||
</div>
|
||||
|
|
|
@ -5,27 +5,11 @@
|
|||
<title>Gestión de usuarios</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="../../static/style.css" type="text/css" media="screen" />
|
||||
<link rel="stylesheet" href="../static/style.css" type="text/css" media="screen" />
|
||||
<script src="../validate_user.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<ul class="navbar-left">
|
||||
<li class="list"><a href="index.php">Página principal</a></li>
|
||||
<?php if(isset($_SESSION["user"])) : ?>
|
||||
<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>
|
||||
<?php endif ?>
|
||||
<?php if($_SESSION["user_type"] == 2) : ?>
|
||||
<li class="list"><a href="report.php">Informes</a></li>
|
||||
<?php endif ?>
|
||||
<li class="list"><a href="login.php">Login</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<?php include 'navbar.php' ?>
|
||||
<form name="create_form" method="post" action="../user_management.php" onsubmit="return validateUser();">
|
||||
<div class="input-group">
|
||||
<label>Nombre</label>
|
|
@ -5,27 +5,10 @@
|
|||
<title>Gestión de usuarios</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="../../static/style.css" type="text/css" media="screen" />
|
||||
<link rel="stylesheet" href="../static/style.css" type="text/css" media="screen" />
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<ul class="navbar-left">
|
||||
<li class="list"><a href="index.php">Página principal</a></li>
|
||||
<?php if(isset($_SESSION["user"])) : ?>
|
||||
<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>
|
||||
<?php endif ?>
|
||||
<?php if($_SESSION["user_type"] == 2) : ?>
|
||||
<li class="list"><a href="report.php">Informes</a></li>
|
||||
<?php endif ?>
|
||||
<li class="list"><a href="login.php">Login</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<?php include 'navbar.php' ?>
|
||||
<?php
|
||||
include '../database.php';
|
||||
|
Loading…
Reference in New Issue