From 222194f1f1a053fe329884a9ac50a23c4ac95909 Mon Sep 17 00:00:00 2001 From: coolneng Date: Sat, 20 Jun 2020 15:09:23 +0200 Subject: [PATCH] Include navbar in all files and flatten directory --- src/appointment.php | 18 +------------ src/holiday.php | 18 +------------ src/{forms => }/holiday_create_form.php | 22 +++------------- src/{forms => }/holiday_edit_form.php | 20 ++------------ src/index.php | 2 +- src/login.php | 17 +----------- src/navbar.php | 17 ++++++++++++ src/patient.php | 18 +------------ src/{forms => }/patient_create_form.php | 26 ++++--------------- src/{forms => }/patient_edit_form.php | 20 ++------------ src/report.php | 18 +------------ src/{forms => }/report_create_form.php | 22 +++------------- src/{forms => }/report_edit_form.php | 20 ++------------ src/user.php | 18 +------------ ..._create_form.html => user_create_form.php} | 20 ++------------ src/{forms => }/user_edit_form.php | 21 ++------------- 16 files changed, 45 insertions(+), 252 deletions(-) rename src/{forms => }/holiday_create_form.php (60%) rename src/{forms => }/holiday_edit_form.php (63%) create mode 100644 src/navbar.php rename src/{forms => }/patient_create_form.php (69%) rename src/{forms => }/patient_edit_form.php (72%) rename src/{forms => }/report_create_form.php (68%) rename src/{forms => }/report_edit_form.php (70%) rename src/{forms/user_create_form.html => user_create_form.php} (61%) rename src/{forms => }/user_edit_form.php (64%) diff --git a/src/appointment.php b/src/appointment.php index c06713e..bd7ba57 100644 --- a/src/appointment.php +++ b/src/appointment.php @@ -15,23 +15,7 @@ -
- -
+
diff --git a/src/holiday.php b/src/holiday.php index 63bdcc4..bfd2f68 100644 --- a/src/holiday.php +++ b/src/holiday.php @@ -9,23 +9,7 @@ -
- -
+
Crear
diff --git a/src/forms/holiday_create_form.php b/src/holiday_create_form.php similarity index 60% rename from src/forms/holiday_create_form.php rename to src/holiday_create_form.php index 58a3b18..0c1e112 100644 --- a/src/forms/holiday_create_form.php +++ b/src/holiday_create_form.php @@ -5,27 +5,11 @@ Gestión de usuarios - - + + -
- -
+ Gestión de usuarios - + -
- -
+ MDIS - +
diff --git a/src/login.php b/src/login.php index 70d0e9f..8c722dc 100644 --- a/src/login.php +++ b/src/login.php @@ -11,22 +11,7 @@
- -
+
diff --git a/src/navbar.php b/src/navbar.php new file mode 100644 index 0000000..5538e4d --- /dev/null +++ b/src/navbar.php @@ -0,0 +1,17 @@ +
+ +
diff --git a/src/patient.php b/src/patient.php index 4d3c109..f9d7eea 100644 --- a/src/patient.php +++ b/src/patient.php @@ -9,23 +9,7 @@ -
- -
+
Crear
diff --git a/src/forms/patient_create_form.php b/src/patient_create_form.php similarity index 69% rename from src/forms/patient_create_form.php rename to src/patient_create_form.php index ff38589..41ea4c0 100644 --- a/src/forms/patient_create_form.php +++ b/src/patient_create_form.php @@ -5,29 +5,13 @@ Gestión de pacientes - - - - + + + + -
- -
+ Gestión de pacientes - + -
- -
+ -
- -
+
Crear
diff --git a/src/forms/report_create_form.php b/src/report_create_form.php similarity index 68% rename from src/forms/report_create_form.php rename to src/report_create_form.php index fd80def..f88cc71 100644 --- a/src/forms/report_create_form.php +++ b/src/report_create_form.php @@ -5,27 +5,11 @@ Gestión de usuarios - - + + -
- -
+ Gestión de usuarios - + -
- -
+ -
- -
+
Crear
diff --git a/src/forms/user_create_form.html b/src/user_create_form.php similarity index 61% rename from src/forms/user_create_form.html rename to src/user_create_form.php index 201ad7c..ce2910e 100644 --- a/src/forms/user_create_form.html +++ b/src/user_create_form.php @@ -5,27 +5,11 @@ Gestión de usuarios - + -
- -
+
diff --git a/src/forms/user_edit_form.php b/src/user_edit_form.php similarity index 64% rename from src/forms/user_edit_form.php rename to src/user_edit_form.php index 061fd17..293461a 100644 --- a/src/forms/user_edit_form.php +++ b/src/user_edit_form.php @@ -5,27 +5,10 @@ Gestión de usuarios - + -
- -
- +