- |
+
+
+
+
+ |
|
|
- |
+
+
+
+
+ |
|
|
- |
+
+
+
+
+ |
|
|
- |
+
+
+
+
+ |
|
|
- |
+
+
+
+
+ |
|
|
- |
+
+
+
+
+ |
|
|
- |
+
+
+
+
+ |
|
|
diff --git a/src/assets/css/backend.css b/src/assets/css/backend.css
index df87887e..3c10b523 100644
--- a/src/assets/css/backend.css
+++ b/src/assets/css/backend.css
@@ -569,7 +569,7 @@ body .form-horizontal .controls {
#users-page #providers .switch-view strong {
display: inline-block;
float: left;
- margin: 8px 20px;
+ margin: 3px 20px;
font-size: 17px;
}
diff --git a/src/assets/js/backend_users.js b/src/assets/js/backend_users.js
index 40eef5e7..efefdfff 100644
--- a/src/assets/js/backend_users.js
+++ b/src/assets/js/backend_users.js
@@ -55,18 +55,34 @@ var BackendUsers = {
BackendUsers.wp.bindEventHandlers();
// Fill the services and providers list boxes.
+ var html = '';
+ $('#provider-services').html(html);
$('#provider-services').jScrollPane({ mouseWheelSpeed: 70 });
+ var html = '';
+ $('#secretary-providers').html(html);
$('#secretary-providers').jScrollPane({ mouseWheelSpeed: 70 });
$('#reset-working-plan').qtip({
@@ -126,14 +142,23 @@ var BackendUsers = {
GlobalVariables.providers = response;
$('#secretary-providers').data('jsp').destroy();
- $('#secretary-providers').html('');
+
+ var html = '';
+ $('#secretary-providers').html(html);
+
+ $('#secretary-providers input[type="checkbox"]').prop('disabled', true);
+ $('#secretary-providers').jScrollPane({ mouseWheelSpeed: 70 });
}, 'json');
}
diff --git a/src/assets/js/working_plan.js b/src/assets/js/working_plan.js
index 2a830083..69b17174 100644
--- a/src/assets/js/working_plan.js
+++ b/src/assets/js/working_plan.js
@@ -55,17 +55,17 @@ WorkingPlan.prototype.setup = function(workingPlan) {
'' + brk.start + ' | ' +
'' + brk.end + ' | ' +
'' +
- ' | ' +
'';
@@ -178,17 +178,17 @@ WorkingPlan.prototype.bindEventHandlers = function() {
'09:00 | ' +
'10:00 | ' +
'' +
- '' +
- '' +
+ '' +
+ '' +
'' +
- '' +
- '' +
+ '' +
+ '' +
'' +
- '' +
- '' +
+ '' +
+ '' +
'' +
- '' +
- '' +
+ '' +
+ '' +
'' +
' | ' +
'';