From e649119828ab4510b63f89e11aa1a272087032b8 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Thu, 14 Jul 2016 20:25:05 +0200 Subject: [PATCH] Responsive design refactoring for the backend/customers page. --- src/application/views/backend/customers.php | 102 ++++++++++---------- src/assets/css/backend.css | 17 ++-- 2 files changed, 63 insertions(+), 56 deletions(-) diff --git a/src/application/views/backend/customers.php b/src/application/views/backend/customers.php index 09fd829e..8eec351b 100644 --- a/src/application/views/backend/customers.php +++ b/src/application/views/backend/customers.php @@ -30,7 +30,7 @@
-
+
@@ -47,7 +47,7 @@
-
+
@@ -86,58 +86,60 @@ -
-

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

- +
+
+

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

+ -
- - +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ lang->line('fields_are_required'); ?>
-
- - +
+

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

+
+
- -
- - -
- -
- - -
- -
- - -
- -
- - -
- -
- - -
- -
- - -
- -
- lang->line('fields_are_required'); ?>
-
- -
-

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

-
-
diff --git a/src/assets/css/backend.css b/src/assets/css/backend.css index e69ef948..26d67ce9 100644 --- a/src/assets/css/backend.css +++ b/src/assets/css/backend.css @@ -96,6 +96,10 @@ root { font-weight: bold; } +#notification { + margin-bottom: 15px; +} + #notification strong { margin-right: 15px; } @@ -196,8 +200,7 @@ body .jspTrack { -------------------------------------------------------------------- */ .backend-page .filter-records { - margin: 15px 0px 15px 15px; - width: 350px; + max-width: 350px; } .backend-page .filter-records form { @@ -235,8 +238,7 @@ body .jspTrack { } .record-details { - margin: 15px 0 15px 15px; - max-width: 710px; + max-width: 800px; } .record-details input, @@ -401,10 +403,12 @@ body .form-horizontal .controls { #customers-page #customer-appointments { height: 370px; - width: 330px; + max-width: 330px; + width: 100%; border: 4px solid #E2E2E2; margin-bottom: 20px; overflow-y: auto; + outline: none; } #customers-page #customer-appointments .appointment-row { @@ -423,7 +427,8 @@ body .form-horizontal .controls { } #customers-page #appointment-details { - width: 330px; + max-width: 330px; + margin-bottom: 20px; } #customers-page #appointment-details div {