From 2f1b0efd1f0f7a5e521e97f6e6a5d08b24ec7923 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Thu, 9 Apr 2015 21:50:16 +0200 Subject: [PATCH] Applied Bootstrap 3 to frontend book. --- src/application/controllers/appointments.php | 2 +- src/application/views/appointments/book.php | 108 +++++++++--------- .../views/appointments/book_success.php | 22 ++-- src/assets/css/frontend.css | 70 +++++++----- src/assets/js/frontend_book.js | 10 +- 5 files changed, 113 insertions(+), 99 deletions(-) diff --git a/src/application/controllers/appointments.php b/src/application/controllers/appointments.php index a972dbf1..410c0447 100644 --- a/src/application/controllers/appointments.php +++ b/src/application/controllers/appointments.php @@ -160,7 +160,7 @@ class Appointments extends CI_Controller { if (!$post_data['manage_mode']) { $customer_title = $this->lang->line('appointment_booked'); - $customer_message = $this->lang->line('thank_your_for_appointment'); + $customer_message = $this->lang->line('thank_you_for_appointment'); $customer_link = $this->config->item('base_url') . '/appointments/index/' . $appointment['hash']; diff --git a/src/application/views/appointments/book.php b/src/application/views/appointments/book.php index c5353724..9ab8d331 100644 --- a/src/application/views/appointments/book.php +++ b/src/application/views/appointments/book.php @@ -3,6 +3,9 @@ <?php echo $this->lang->line('page_title') . ' ' . $company_name; ?> + + + config->base_url(); ?>/assets/css/libs/bootstrap/bootstrap.css"> - + href="config->base_url(); ?>/assets/ext/bootstrap/css/bootstrap.min.css"> - - + + + + , availableProviders : , - baseUrl : config->base_url() . '"'; ?>, + baseUrl : config->item('base_url') . '"'; ?>, manageMode : , appointmentData : , providerData : , @@ -167,7 +167,7 @@ lang->line('select_service'); ?> - lang->line('select_provider'); ?> - + @@ -249,12 +249,12 @@

lang->line('step_two_title'); ?>

-
-
+
+
-
+
@@ -283,36 +283,44 @@

lang->line('step_three_title'); ?>

-
-
- - - - - - - - - - - - -

- lang->line('fields_are_required'); ?> +
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+ lang->line('fields_are_required'); ?>
-
- - - - - - - - - - - +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
@@ -337,9 +345,9 @@