2013-09-03 21:58:56 +03:00
|
|
|
<script type="text/javascript"
|
|
|
|
src="<?php echo $base_url; ?>assets/js/backend_users.js"></script>
|
2013-09-24 19:05:40 +03:00
|
|
|
|
|
|
|
<script type="text/javascript"
|
|
|
|
src="<?php echo $base_url; ?>assets/js/backend_users_admins.js"></script>
|
|
|
|
<script type="text/javascript"
|
|
|
|
src="<?php echo $base_url; ?>assets/js/backend_users_providers.js"></script>
|
|
|
|
<script type="text/javascript"
|
|
|
|
src="<?php echo $base_url; ?>assets/js/backend_users_secretaries.js"></script>
|
2013-09-25 18:43:17 +03:00
|
|
|
|
|
|
|
<script type="text/javascript"
|
|
|
|
src="<?php echo $base_url; ?>assets/js/working_plan.js"></script>
|
2013-09-24 19:05:40 +03:00
|
|
|
|
2013-09-24 16:09:04 +03:00
|
|
|
<script type="text/javascript"
|
|
|
|
src="<?php echo $base_url; ?>assets/js/libs/jquery/jquery-ui-timepicker-addon.js"></script>
|
|
|
|
<script type="text/javascript"
|
|
|
|
src="<?php echo $base_url; ?>assets/js/libs/jquery/jquery.jeditable.min.js"></script>
|
2013-09-03 21:58:56 +03:00
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
var GlobalVariables = {
|
|
|
|
'baseUrl': <?php echo '"' . $base_url . '"'; ?>,
|
|
|
|
'admins': <?php echo json_encode($admins); ?>,
|
|
|
|
'providers': <?php echo json_encode($providers); ?>,
|
|
|
|
'secretaries': <?php echo json_encode($secretaries); ?>,
|
2013-09-24 16:09:04 +03:00
|
|
|
'services': <?php echo json_encode($services); ?>,
|
2013-09-26 19:06:57 +03:00
|
|
|
'workingPlan': $.parseJSON(<?php echo json_encode($working_plan); ?>),
|
|
|
|
'user' : {
|
|
|
|
'id' : <?php echo $user_id; ?>,
|
|
|
|
'email' : <?php echo '"' . $user_email . '"'; ?>,
|
|
|
|
'role_slug' : <?php echo '"' . $role_slug . '"'; ?>,
|
|
|
|
'privileges': <?php echo json_encode($privileges); ?>
|
|
|
|
}
|
2013-09-03 21:58:56 +03:00
|
|
|
};
|
2013-12-19 18:28:19 +02:00
|
|
|
|
|
|
|
var EALang = <?php echo json_encode($this->lang->language); ?>;
|
2013-09-03 21:58:56 +03:00
|
|
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
BackendUsers.initialize(true);
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<div id="users-page" class="row-fluid">
|
|
|
|
|
2013-09-25 18:43:17 +03:00
|
|
|
<?php
|
|
|
|
// ---------------------------------------------------------------------
|
|
|
|
//
|
|
|
|
// Page Navigation
|
|
|
|
//
|
|
|
|
// ---------------------------------------------------------------------
|
|
|
|
?>
|
2013-09-03 21:58:56 +03:00
|
|
|
<ul class="nav nav-tabs">
|
2013-12-19 18:28:19 +02:00
|
|
|
<li class="admins-tab tab active"><a><?php echo $this->lang->line('be_admins'); ?></a></li>
|
|
|
|
<li class="providers-tab tab"><a><?php echo $this->lang->line('be_providers'); ?></a></li>
|
|
|
|
<li class="secretaries-tab tab"><a><?php echo $this->lang->line('be_secretaries'); ?></a></li>
|
2013-09-03 21:58:56 +03:00
|
|
|
</ul>
|
|
|
|
|
2013-09-25 18:43:17 +03:00
|
|
|
<?php
|
|
|
|
// ---------------------------------------------------------------------
|
|
|
|
//
|
|
|
|
// Admins Tab
|
|
|
|
//
|
|
|
|
// ---------------------------------------------------------------------
|
|
|
|
?>
|
2013-09-03 21:58:56 +03:00
|
|
|
<div id="admins" class="tab-content">
|
2013-09-25 18:43:17 +03:00
|
|
|
<div id="filter-admins" class="filter-records column span4">
|
|
|
|
<form class="input-append">
|
2013-11-21 23:58:51 +02:00
|
|
|
<input class="key span12" type="text" />
|
2013-12-19 18:28:19 +02:00
|
|
|
<button class="filter btn" type="submit" title="<?php echo $this->lang->line('be_filter'); ?>">
|
2013-11-21 23:58:51 +02:00
|
|
|
<i class="icon-search"></i>
|
2013-09-25 18:43:17 +03:00
|
|
|
</button>
|
2013-12-19 18:28:19 +02:00
|
|
|
<button class="clear btn" type="button" title="<?php echo $this->lang->line('be_clear'); ?>">
|
2013-11-21 23:58:51 +02:00
|
|
|
<i class="icon-repeat"></i>
|
2013-09-25 18:43:17 +03:00
|
|
|
</button>
|
|
|
|
</form>
|
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<h2><?php echo $this->lang->line('be_admins'); ?></h2>
|
2013-09-25 18:43:17 +03:00
|
|
|
<div class="results"></div>
|
2013-09-03 21:58:56 +03:00
|
|
|
</div>
|
|
|
|
|
2013-09-25 18:43:17 +03:00
|
|
|
<div class="details column span7">
|
2013-09-03 21:58:56 +03:00
|
|
|
<div class="btn-toolbar">
|
|
|
|
<div class="add-edit-delete-group btn-group">
|
2013-10-10 19:50:33 +03:00
|
|
|
<button id="add-admin" class="btn btn-primary">
|
|
|
|
<i class="icon-plus icon-white"></i>
|
2013-12-19 18:28:19 +02:00
|
|
|
<?php echo $this->lang->line('be_add'); ?>
|
|
|
|
</button>
|
2013-09-03 21:58:56 +03:00
|
|
|
<button id="edit-admin" class="btn" disabled="disabled">
|
|
|
|
<i class="icon-pencil"></i>
|
2013-12-19 18:28:19 +02:00
|
|
|
<?php echo $this->lang->line('be_edit'); ?>
|
|
|
|
</button>
|
2013-09-03 21:58:56 +03:00
|
|
|
<button id="delete-admin" class="btn" disabled="disabled">
|
|
|
|
<i class="icon-remove"></i>
|
2013-12-19 18:28:19 +02:00
|
|
|
<?php echo $this->lang->line('be_delete'); ?>
|
|
|
|
</button>
|
2013-09-03 21:58:56 +03:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="save-cancel-group btn-group" style="display:none;">
|
2013-10-27 14:53:51 +02:00
|
|
|
<button id="save-admin" class="btn btn-primary">
|
2013-10-27 19:41:37 +02:00
|
|
|
<i class="icon-ok icon-white"></i>
|
2013-12-19 18:28:19 +02:00
|
|
|
<?php echo $this->lang->line('be_save'); ?>
|
|
|
|
</button>
|
2013-09-03 21:58:56 +03:00
|
|
|
<button id="cancel-admin" class="btn">
|
|
|
|
<i class="icon-ban-circle"></i>
|
2013-12-19 18:28:19 +02:00
|
|
|
<?php echo $this->lang->line('be_cancel'); ?>
|
|
|
|
</button>
|
2013-09-03 21:58:56 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<h2><?php echo $this->lang->line('be_details'); ?></h2>
|
2013-09-03 21:58:56 +03:00
|
|
|
|
|
|
|
<div class="form-message alert" style="display:none;"></div>
|
|
|
|
|
2013-09-24 16:09:04 +03:00
|
|
|
<input type="hidden" id="admin-id" class="record-id" />
|
2013-09-03 21:58:56 +03:00
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
<div class="admin-details span6">
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="first-name"><?php echo $this->lang->line('fe_first_name'); ?> *</label>
|
2013-10-10 19:50:33 +03:00
|
|
|
<input type="text" id="admin-first-name" class="span11 required" />
|
2013-09-03 21:58:56 +03:00
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="admin-last-name"><?php echo $this->lang->line('fe_last_name'); ?> *</label>
|
2013-09-03 21:58:56 +03:00
|
|
|
<input type="text" id="admin-last-name" class="span11 required" />
|
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="admin-email"><?php echo $this->lang->line('fe_email'); ?> *</label>
|
2013-09-03 21:58:56 +03:00
|
|
|
<input type="text" id="admin-email" class="span11 required" />
|
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="admin-mobile-number"><?php echo $this->lang->line('be_mobile_number'); ?></label>
|
2013-09-03 21:58:56 +03:00
|
|
|
<input type="text" id="admin-mobile-number" class="span11" />
|
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="admin-phone-number"><?php echo $this->lang->line('fe_phone_number'); ?> *</label>
|
2013-09-03 21:58:56 +03:00
|
|
|
<input type="text" id="admin-phone-number" class="span11 required" />
|
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="admin-address"><?php echo $this->lang->line('fe_address'); ?></label>
|
2013-09-03 21:58:56 +03:00
|
|
|
<input type="text" id="admin-address" class="span11" />
|
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="admin-city"><?php echo $this->lang->line('fe_city'); ?></label>
|
2013-09-03 21:58:56 +03:00
|
|
|
<input type="text" id="admin-city" class="span11" />
|
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="admin-state"><?php echo $this->lang->line('be_state'); ?></label>
|
2013-09-03 21:58:56 +03:00
|
|
|
<input type="text" id="admin-state" class="span11" />
|
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="admin-zip-code"><?php echo $this->lang->line('fe_zip_code'); ?></label>
|
2013-09-03 21:58:56 +03:00
|
|
|
<input type="text" id="admin-zip-code" class="span11" />
|
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="admin-notes"><?php echo $this->lang->line('fe_notes'); ?></label>
|
2013-09-24 16:09:04 +03:00
|
|
|
<textarea id="admin-notes" class="span11" rows="3"></textarea>
|
2013-09-03 21:58:56 +03:00
|
|
|
</div>
|
|
|
|
<div class="admin-settings span6">
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="admin-username"><?php echo $this->lang->line('be_username'); ?> *</label>
|
2013-09-24 16:09:04 +03:00
|
|
|
<input type="text" id="admin-username" class="span9 required" />
|
2013-09-03 21:58:56 +03:00
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="admin-password"><?php echo $this->lang->line('be_password'); ?> *</label>
|
2013-09-24 16:09:04 +03:00
|
|
|
<input type="password" id="admin-password" class="span9 required"/>
|
2013-09-03 21:58:56 +03:00
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="admin-password-confirm"><?php echo $this->lang->line('be_retype_password'); ?> *</label>
|
2013-09-24 16:09:04 +03:00
|
|
|
<input type="password" id="admin-password-confirm" class="span9 required" />
|
2013-09-03 21:58:56 +03:00
|
|
|
|
2013-09-13 16:21:03 +03:00
|
|
|
<br>
|
|
|
|
|
2013-09-03 21:58:56 +03:00
|
|
|
<button type="button" id="admin-notifications" class="btn" data-toggle="button">
|
2013-09-25 18:43:17 +03:00
|
|
|
<i class="icon-envelope"></i>
|
2013-12-19 18:28:19 +02:00
|
|
|
<span><?php echo $this->lang->line('be_receive_notifications'); ?></span>
|
2013-09-03 21:58:56 +03:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2013-09-25 18:43:17 +03:00
|
|
|
<?php
|
|
|
|
// ---------------------------------------------------------------------
|
|
|
|
//
|
|
|
|
// Providers Tab
|
|
|
|
//
|
|
|
|
// ---------------------------------------------------------------------
|
|
|
|
?>
|
2013-09-03 21:58:56 +03:00
|
|
|
<div id="providers" class="tab-content" style="display:none;">
|
2013-09-25 18:43:17 +03:00
|
|
|
<div id="filter-providers" class="filter-records column span4">
|
|
|
|
<form class="input-append">
|
2013-11-21 23:58:51 +02:00
|
|
|
<input class="key span12" type="text" />
|
2013-12-19 18:28:19 +02:00
|
|
|
<button class="filter btn" type="submit" title="<?php echo $this->lang->line('be_filter'); ?>">
|
2013-11-21 23:58:51 +02:00
|
|
|
<i class="icon-search"></i>
|
2013-09-25 18:43:17 +03:00
|
|
|
</button>
|
2013-12-19 18:28:19 +02:00
|
|
|
<button class="clear btn" type="button" title="<?php echo $this->lang->line('be_clear'); ?>">
|
2013-11-21 23:58:51 +02:00
|
|
|
<i class="icon-repeat"></i>
|
2013-09-25 18:43:17 +03:00
|
|
|
</button>
|
|
|
|
</form>
|
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<h2><?php echo $this->lang->line('be_providers'); ?></h2>
|
2013-09-25 18:43:17 +03:00
|
|
|
<div class="results"></div>
|
2013-09-03 21:58:56 +03:00
|
|
|
</div>
|
|
|
|
|
2013-09-25 18:43:17 +03:00
|
|
|
<div class="details column span7">
|
2013-09-24 16:09:04 +03:00
|
|
|
<div class="btn-toolbar span5">
|
2013-09-03 21:58:56 +03:00
|
|
|
<div class="add-edit-delete-group btn-group">
|
2013-10-10 19:50:33 +03:00
|
|
|
<button id="add-provider" class="btn btn-primary">
|
|
|
|
<i class="icon-plus icon-white"></i>
|
2013-12-19 18:28:19 +02:00
|
|
|
<?php echo $this->lang->line('be_add'); ?>
|
|
|
|
</button>
|
2013-09-03 21:58:56 +03:00
|
|
|
<button id="edit-provider" class="btn" disabled="disabled">
|
|
|
|
<i class="icon-pencil"></i>
|
2013-12-19 18:28:19 +02:00
|
|
|
<?php echo $this->lang->line('be_edit'); ?>
|
|
|
|
</button>
|
2013-09-03 21:58:56 +03:00
|
|
|
<button id="delete-provider" class="btn" disabled="disabled">
|
|
|
|
<i class="icon-remove"></i>
|
2013-12-19 18:28:19 +02:00
|
|
|
<?php echo $this->lang->line('be_delete'); ?>
|
|
|
|
</button>
|
2013-09-03 21:58:56 +03:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="save-cancel-group btn-group" style="display:none;">
|
2013-10-27 14:53:51 +02:00
|
|
|
<button id="save-provider" class="btn btn-primary">
|
2013-10-27 19:41:37 +02:00
|
|
|
<i class="icon-ok icon-white"></i>
|
2013-12-19 18:28:19 +02:00
|
|
|
<?php echo $this->lang->line('be_save'); ?>
|
|
|
|
</button>
|
2013-09-03 21:58:56 +03:00
|
|
|
<button id="cancel-provider" class="btn">
|
|
|
|
<i class="icon-ban-circle"></i>
|
2013-12-19 18:28:19 +02:00
|
|
|
<?php echo $this->lang->line('be_cancel'); ?>
|
|
|
|
</button>
|
2013-09-03 21:58:56 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2013-09-24 16:09:04 +03:00
|
|
|
<div class="switch-view pull-right">
|
2013-12-19 18:28:19 +02:00
|
|
|
<strong><?php echo $this->lang->line('be_current_view'); ?></strong>
|
|
|
|
<div class="display-details current"><?php echo $this->lang->line('be_details'); ?></div>
|
|
|
|
<div class="display-working-plan"><?php echo $this->lang->line('be_working_plan'); ?></div>
|
2013-09-24 16:09:04 +03:00
|
|
|
</div>
|
2013-09-03 21:58:56 +03:00
|
|
|
|
2013-09-25 18:43:17 +03:00
|
|
|
<?php // This form message is outside the details view, so that it can be
|
|
|
|
// visible when the user has working plan view active. ?>
|
2013-09-03 21:58:56 +03:00
|
|
|
<div class="form-message alert" style="display:none;"></div>
|
|
|
|
|
2013-09-25 18:43:17 +03:00
|
|
|
<div class="details-view provider-view">
|
2013-12-19 18:28:19 +02:00
|
|
|
<h2><?php echo $this->lang->line('be_details'); ?></h2>
|
2013-09-24 16:09:04 +03:00
|
|
|
|
|
|
|
<input type="hidden" id="provider-id" class="record-id" />
|
2013-09-03 21:58:56 +03:00
|
|
|
|
2013-09-24 16:09:04 +03:00
|
|
|
<div class="row-fluid">
|
|
|
|
<div class="provider-details span6">
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="provider-first-name"><?php echo $this->lang->line('fe_first_name'); ?> *</label>
|
2013-10-10 19:50:33 +03:00
|
|
|
<input type="text" id="provider-first-name" class="span11 required" />
|
2013-09-03 21:58:56 +03:00
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="provider-last-name"><?php echo $this->lang->line('fe_last_name'); ?> *</label>
|
2013-09-24 16:09:04 +03:00
|
|
|
<input type="text" id="provider-last-name" class="span11 required" />
|
2013-09-03 21:58:56 +03:00
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="provider-email"><?php echo $this->lang->line('fe_email'); ?> *</label>
|
2013-09-24 16:09:04 +03:00
|
|
|
<input type="text" id="provider-email" class="span11 required" />
|
2013-09-03 21:58:56 +03:00
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="provider-mobile-number"><?php echo $this->lang->line('be_mobile_number'); ?></label>
|
2013-09-24 16:09:04 +03:00
|
|
|
<input type="text" id="provider-mobile-number" class="span11" />
|
2013-09-03 21:58:56 +03:00
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="provider-phone-number"><?php echo $this->lang->line('fe_phone_number'); ?> *</label>
|
2013-09-24 16:09:04 +03:00
|
|
|
<input type="text" id="provider-phone-number" class="span11 required" />
|
2013-09-03 21:58:56 +03:00
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="provider-address"><?php echo $this->lang->line('fe_address'); ?></label>
|
2013-09-24 16:09:04 +03:00
|
|
|
<input type="text" id="provider-address" class="span11" />
|
2013-09-03 21:58:56 +03:00
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="provider-city"><?php echo $this->lang->line('fe_city'); ?></label>
|
2013-09-24 16:09:04 +03:00
|
|
|
<input type="text" id="provider-city" class="span11" />
|
2013-09-03 21:58:56 +03:00
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="provider-state"><?php echo $this->lang->line('be_state'); ?></label>
|
2013-09-24 16:09:04 +03:00
|
|
|
<input type="text" id="provider-state" class="span11" />
|
2013-09-03 21:58:56 +03:00
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="provider-zip-code"><?php echo $this->lang->line('fe_zip_code'); ?></label>
|
2013-09-24 16:09:04 +03:00
|
|
|
<input type="text" id="provider-zip-code" class="span11" />
|
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="provider-notes"><?php echo $this->lang->line('fe_notes'); ?></label>
|
2013-09-24 16:09:04 +03:00
|
|
|
<textarea id="provider-notes" class="span11" rows="3"></textarea>
|
|
|
|
</div>
|
|
|
|
<div class="provider-settings span6">
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="provider-username"><?php echo $this->lang->line('be_username'); ?> *</label>
|
2013-09-24 16:09:04 +03:00
|
|
|
<input type="text" id="provider-username" class="span9 required" />
|
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="provider-password"><?php echo $this->lang->line('be_password'); ?> *</label>
|
2013-09-24 16:09:04 +03:00
|
|
|
<input type="password" id="provider-password" class="span9 required"/>
|
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="provider-password-confirm"><?php echo $this->lang->line('be_retype_password'); ?> *</label>
|
2013-09-24 16:09:04 +03:00
|
|
|
<input type="password" id="provider-password-confirm" class="span9 required" />
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<button type="button" id="provider-notifications" class="btn" data-toggle="button">
|
2013-09-25 18:43:17 +03:00
|
|
|
<i class="icon-envelope"></i>
|
2013-12-19 18:28:19 +02:00
|
|
|
<span><?php echo $this->lang->line('be_receive_notifications'); ?></span>
|
2013-09-24 16:09:04 +03:00
|
|
|
</button>
|
|
|
|
|
|
|
|
<br><br>
|
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<h4><?php echo $this->lang->line('be_services'); ?></h4>
|
2013-09-24 16:09:04 +03:00
|
|
|
<div id="provider-services"></div>
|
|
|
|
</div>
|
2013-09-03 21:58:56 +03:00
|
|
|
</div>
|
2013-09-24 16:09:04 +03:00
|
|
|
</div>
|
|
|
|
|
2013-09-25 18:43:17 +03:00
|
|
|
<div class="working-plan-view provider-view" style="display: none;">
|
2013-12-19 18:28:19 +02:00
|
|
|
<h2><?php echo $this->lang->line('be_working_plan'); ?></h2>
|
2013-10-17 18:31:43 +03:00
|
|
|
<button id="reset-working-plan" class="btn btn-primary"
|
|
|
|
title="Reset the working plan back to the default values.">
|
|
|
|
<i class="icon-repeat icon-white"></i>
|
2013-12-19 18:28:19 +02:00
|
|
|
<?php echo $this->lang->line('be_reset_plan'); ?></button>
|
2013-09-24 16:09:04 +03:00
|
|
|
<table class="working-plan table table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2013-12-19 18:28:19 +02:00
|
|
|
<th><?php echo $this->lang->line('be_day'); ?></th>
|
|
|
|
<th><?php echo $this->lang->line('fe_start'); ?></th>
|
|
|
|
<th><?php echo $this->lang->line('fe_end'); ?></th>
|
2013-09-24 16:09:04 +03:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
2013-12-19 18:28:19 +02:00
|
|
|
<td><label class="checkbox"><input type="checkbox" id="monday" />
|
|
|
|
<?php echo $this->lang->line('be_monday'); ?></label></td>
|
2013-09-24 16:09:04 +03:00
|
|
|
<td><input type="text" id="monday-start" class="work-start" /></td>
|
|
|
|
<td><input type="text" id="monday-end" class="work-end" /></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2013-12-19 18:28:19 +02:00
|
|
|
<td><label class="checkbox"><input type="checkbox" id="tuesday" />
|
|
|
|
<?php echo $this->lang->line('be_tuesday'); ?></label></td>
|
2013-09-24 16:09:04 +03:00
|
|
|
<td><input type="text" id="tuesday-start" class="work-start" /></td>
|
|
|
|
<td><input type="text" id="tuesday-end" class="work-end" /></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2013-12-19 18:28:19 +02:00
|
|
|
<td><label class="checkbox"><input type="checkbox" id="wednesday" />
|
|
|
|
<?php echo $this->lang->line('be_wednesday'); ?></label></td>
|
2013-09-24 16:09:04 +03:00
|
|
|
<td><input type="text" id="wednesday-start" class="work-start" /></td>
|
|
|
|
<td><input type="text" id="wednesday-end" class="work-end" /></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2013-12-19 18:28:19 +02:00
|
|
|
<td><label class="checkbox"><input type="checkbox" id="thursday" />
|
|
|
|
<?php echo $this->lang->line('be_tuesday'); ?></label></td>
|
2013-09-24 16:09:04 +03:00
|
|
|
<td><input type="text" id="thursday-start" class="work-start" /></td>
|
|
|
|
<td><input type="text" id="thursday-end" class="work-end" /></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2013-12-19 18:28:19 +02:00
|
|
|
<td><label class="checkbox"><input type="checkbox" id="friday" />
|
|
|
|
<?php echo $this->lang->line('be_friday'); ?></label></td>
|
2013-09-24 16:09:04 +03:00
|
|
|
<td><input type="text" id="friday-start" class="work-start" /></td>
|
|
|
|
<td><input type="text" id="friday-end" class="work-end" /></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2013-12-19 18:28:19 +02:00
|
|
|
<td><label class="checkbox"><input type="checkbox" id="saturday" />
|
|
|
|
<?php echo $this->lang->line('be_saturday'); ?></label></td>
|
2013-09-24 16:09:04 +03:00
|
|
|
<td><input type="text" id="saturday-start" class="work-start" /></td>
|
|
|
|
<td><input type="text" id="saturday-end" class="work-end" /></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2013-12-19 18:28:19 +02:00
|
|
|
<td><label class="checkbox"><input type="checkbox" id="sunday" />
|
|
|
|
<?php echo $this->lang->line('be_sunday'); ?></label></td>
|
2013-09-24 16:09:04 +03:00
|
|
|
<td><input type="text" id="sunday-start" class="work-start" /></td>
|
|
|
|
<td><input type="text" id="sunday-end" class="work-end" /></td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<h2><?php echo $this->lang->line('be_breaks');?></h2>
|
2013-09-24 16:09:04 +03:00
|
|
|
|
|
|
|
<span class="help-block">
|
2013-12-19 18:28:19 +02:00
|
|
|
<?php echo $this->lang->line('be_add_breaks_during_each_day');?>
|
2013-09-24 16:09:04 +03:00
|
|
|
</span>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
<button type="button" class="add-break btn btn-primary">
|
|
|
|
<i class="icon-white icon-plus"></i>
|
2013-12-20 13:12:36 +02:00
|
|
|
<?php echo $this->lang->line('be_add_break');?>
|
2013-09-03 21:58:56 +03:00
|
|
|
</button>
|
|
|
|
</div>
|
2013-09-24 16:09:04 +03:00
|
|
|
|
|
|
|
<br>
|
|
|
|
|
2013-09-25 18:43:17 +03:00
|
|
|
<table class="breaks table table-striped">
|
2013-09-24 16:09:04 +03:00
|
|
|
<thead>
|
|
|
|
<tr>
|
2013-12-19 18:28:19 +02:00
|
|
|
<th><?php echo $this->lang->line('be_day');?></th>
|
|
|
|
<th><?php echo $this->lang->line('fe_start');?></th>
|
|
|
|
<th><?php echo $this->lang->line('fe_end');?></th>
|
|
|
|
<th><?php echo $this->lang->line('be_actions');?></th>
|
2013-09-24 16:09:04 +03:00
|
|
|
</tr>
|
|
|
|
</thead>
|
2013-12-20 13:12:36 +02:00
|
|
|
<tbody></tbody>
|
2013-09-24 16:09:04 +03:00
|
|
|
</table>
|
2013-09-03 21:58:56 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2013-09-25 18:43:17 +03:00
|
|
|
<?php
|
|
|
|
// ---------------------------------------------------------------------
|
|
|
|
//
|
|
|
|
// Secretaries Tab
|
|
|
|
//
|
|
|
|
// ---------------------------------------------------------------------
|
|
|
|
?>
|
2013-09-03 21:58:56 +03:00
|
|
|
<div id="secretaries" class="tab-content" style="display:none;">
|
2013-09-25 18:43:17 +03:00
|
|
|
<div id="filter-secretaries" class="filter-records column span4">
|
|
|
|
<form class="input-append">
|
2013-11-21 23:58:51 +02:00
|
|
|
<input class="key span12" type="text" />
|
2013-12-19 18:28:19 +02:00
|
|
|
<button class="filter btn" type="submit" title="<?php echo $this->lang->line('be_filter');?>">
|
2013-11-21 23:58:51 +02:00
|
|
|
<i class="icon-search"></i>
|
2013-09-25 18:43:17 +03:00
|
|
|
</button>
|
2013-12-19 18:28:19 +02:00
|
|
|
<button class="clear btn" type="button" title="<?php echo $this->lang->line('be_clear');?>">
|
2013-11-21 23:58:51 +02:00
|
|
|
<i class="icon-repeat"></i>
|
2013-09-25 18:43:17 +03:00
|
|
|
</button>
|
|
|
|
</form>
|
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<h2><?php echo $this->lang->line('be_secretaries');?></h2>
|
2013-09-25 18:43:17 +03:00
|
|
|
<div class="results"></div>
|
2013-09-03 21:58:56 +03:00
|
|
|
</div>
|
|
|
|
|
2013-09-25 18:43:17 +03:00
|
|
|
<div class="details column span7">
|
2013-09-03 21:58:56 +03:00
|
|
|
<div class="btn-toolbar">
|
|
|
|
<div class="add-edit-delete-group btn-group">
|
2013-10-10 19:50:33 +03:00
|
|
|
<button id="add-secretary" class="btn btn-primary">
|
|
|
|
<i class="icon-plus icon-white"></i>
|
2013-12-19 18:28:19 +02:00
|
|
|
<?php echo $this->lang->line('be_add');?>
|
|
|
|
</button>
|
2013-09-03 21:58:56 +03:00
|
|
|
<button id="edit-secretary" class="btn" disabled="disabled">
|
|
|
|
<i class="icon-pencil"></i>
|
2013-12-19 18:28:19 +02:00
|
|
|
<?php echo $this->lang->line('be_edit');?>
|
|
|
|
</button>
|
2013-09-03 21:58:56 +03:00
|
|
|
<button id="delete-secretary" class="btn" disabled="disabled">
|
|
|
|
<i class="icon-remove"></i>
|
2013-12-19 18:28:19 +02:00
|
|
|
<?php echo $this->lang->line('be_delete');?>
|
|
|
|
</button>
|
2013-09-03 21:58:56 +03:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="save-cancel-group btn-group" style="display:none;">
|
2013-10-27 14:53:51 +02:00
|
|
|
<button id="save-secretary" class="btn btn-primary">
|
2013-10-27 19:41:37 +02:00
|
|
|
<i class="icon-ok icon-white"></i>
|
2013-12-19 18:28:19 +02:00
|
|
|
<?php echo $this->lang->line('be_save');?>
|
|
|
|
</button>
|
2013-09-03 21:58:56 +03:00
|
|
|
<button id="cancel-secretary" class="btn">
|
|
|
|
<i class="icon-ban-circle"></i>
|
2013-12-19 18:28:19 +02:00
|
|
|
<?php echo $this->lang->line('be_cancel');?>
|
|
|
|
</button>
|
2013-09-03 21:58:56 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<h2><?php echo $this->lang->line('be_details');?></h2>
|
2013-09-03 21:58:56 +03:00
|
|
|
|
|
|
|
<div class="form-message alert" style="display:none;"></div>
|
|
|
|
|
2013-09-24 16:09:04 +03:00
|
|
|
<input type="hidden" id="secretary-id" class="record-id" />
|
2013-09-03 21:58:56 +03:00
|
|
|
|
|
|
|
<div class="row-fluid">
|
|
|
|
<div class="secretary-details span6">
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="secretary-first-name"><?php echo $this->lang->line('fe_first_name');?> *</label>
|
2013-10-10 19:50:33 +03:00
|
|
|
<input type="text" id="secretary-first-name" class="span11 required" />
|
2013-09-03 21:58:56 +03:00
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="secretary-last-name"><?php echo $this->lang->line('fe_last_name');?> *</label>
|
2013-09-03 21:58:56 +03:00
|
|
|
<input type="text" id="secretary-last-name" class="span11 required" />
|
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="secretary-email"><?php echo $this->lang->line('fe_email');?> *</label>
|
2013-09-03 21:58:56 +03:00
|
|
|
<input type="text" id="secretary-email" class="span11 required" />
|
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="secretary-mobile-number"><?php echo $this->lang->line('be_mobile_number');?></label>
|
2013-09-03 21:58:56 +03:00
|
|
|
<input type="text" id="secretary-mobile-number" class="span11" />
|
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="secretary-phone-number"><?php echo $this->lang->line('fe_phone_number');?> *</label>
|
2013-09-03 21:58:56 +03:00
|
|
|
<input type="text" id="secretary-phone-number" class="span11 required" />
|
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="secretary-address"><?php echo $this->lang->line('fe_address');?></label>
|
2013-09-03 21:58:56 +03:00
|
|
|
<input type="text" id="secretary-address" class="span11" />
|
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="secretary-city"><?php echo $this->lang->line('fe_city');?></label>
|
2013-09-03 21:58:56 +03:00
|
|
|
<input type="text" id="secretary-city" class="span11" />
|
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="secretary-state"><?php echo $this->lang->line('be_state');?></label>
|
2013-09-03 21:58:56 +03:00
|
|
|
<input type="text" id="secretary-state" class="span11" />
|
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="secretary-zip-code"><?php echo $this->lang->line('fe_zip_code');?></label>
|
2013-09-03 21:58:56 +03:00
|
|
|
<input type="text" id="secretary-zip-code" class="span11" />
|
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="secretary-notes"><?php echo $this->lang->line('fe_notes');?></label>
|
2013-09-24 16:09:04 +03:00
|
|
|
<textarea id="secretary-notes" class="span11" rows="3"></textarea>
|
2013-09-03 21:58:56 +03:00
|
|
|
</div>
|
|
|
|
<div class="secretary-settings span6">
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="secretary-username"><?php echo $this->lang->line('be_username');?> *</label>
|
2013-09-24 16:09:04 +03:00
|
|
|
<input type="text" id="secretary-username" class="span9 required" />
|
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="secretary-password"><?php echo $this->lang->line('be_password');?> *</label>
|
2013-09-24 16:09:04 +03:00
|
|
|
<input type="password" id="secretary-password" class="span9 required"/>
|
2013-09-03 21:58:56 +03:00
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<label for="secretary-password-confirm"><?php echo $this->lang->line('be_retype_password');?> *</label>
|
2013-09-24 16:09:04 +03:00
|
|
|
<input type="password" id="secretary-password-confirm" class="span9 required" />
|
2013-09-03 21:58:56 +03:00
|
|
|
|
2013-09-13 16:21:03 +03:00
|
|
|
<br>
|
|
|
|
|
2013-09-03 21:58:56 +03:00
|
|
|
<button type="button" id="secretary-notifications" class="btn" data-toggle="button">
|
2013-09-25 18:43:17 +03:00
|
|
|
<i class="icon-envelope"></i>
|
2013-12-19 18:28:19 +02:00
|
|
|
<span><?php echo $this->lang->line('be_receive_notifications');?></span>
|
2013-09-03 21:58:56 +03:00
|
|
|
</button>
|
|
|
|
|
|
|
|
<br><br>
|
|
|
|
|
2013-12-19 18:28:19 +02:00
|
|
|
<h4><?php echo $this->lang->line('be_providers');?></h4>
|
2013-09-03 21:58:56 +03:00
|
|
|
<div id="secretary-providers"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|