forked from mirrors/easyappointments
Fixed container problem with customers page.
This commit is contained in:
parent
138cd597af
commit
fa3810bc97
1 changed files with 106 additions and 104 deletions
|
@ -24,113 +24,115 @@
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div id="customers-page" class="row">
|
<div id="customers-page" class="container-fluid">
|
||||||
<div id="filter-customers" class="filter-records column col-md-4">
|
<div class="row">
|
||||||
<form class="input-append">
|
<div id="filter-customers" class="filter-records column col-md-4">
|
||||||
<input class="key span12" type="text" />
|
<form class="input-append">
|
||||||
<button class="filter btn btn-sm" type="submit" title="<?php echo $this->lang->line('filter'); ?>">
|
<input class="key span12" type="text" />
|
||||||
<span class="glyphicon glyphicon-search"></span>
|
<button class="filter btn btn-sm" type="submit" title="<?php echo $this->lang->line('filter'); ?>">
|
||||||
</button>
|
<span class="glyphicon glyphicon-search"></span>
|
||||||
<button class="clear btn btn-sm" type="button" title="<?php echo $this->lang->line('clear'); ?>">
|
|
||||||
<span class="glyphicon glyphicon-repeat"></span>
|
|
||||||
</button>
|
|
||||||
</form>
|
|
||||||
|
|
||||||
<h2><?php echo $this->lang->line('customers'); ?></h2>
|
|
||||||
<div class="results"></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="details col-md-7 row">
|
|
||||||
<div class="btn-toolbar">
|
|
||||||
<div id="add-edit-delete-group" class="btn-group">
|
|
||||||
<?php if ($privileges[PRIV_CUSTOMERS]['add'] == TRUE) { ?>
|
|
||||||
<button id="add-customer" class="btn btn-primary">
|
|
||||||
<span class="glyphicon glyphicon-plus"></span>
|
|
||||||
<?php echo $this->lang->line('add'); ?>
|
|
||||||
</button>
|
</button>
|
||||||
<?php } ?>
|
<button class="clear btn btn-sm" type="button" title="<?php echo $this->lang->line('clear'); ?>">
|
||||||
|
<span class="glyphicon glyphicon-repeat"></span>
|
||||||
|
</button>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<h2><?php echo $this->lang->line('customers'); ?></h2>
|
||||||
|
<div class="results"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="details col-md-7 row">
|
||||||
|
<div class="btn-toolbar">
|
||||||
|
<div id="add-edit-delete-group" class="btn-group">
|
||||||
|
<?php if ($privileges[PRIV_CUSTOMERS]['add'] == TRUE) { ?>
|
||||||
|
<button id="add-customer" class="btn btn-primary">
|
||||||
|
<span class="glyphicon glyphicon-plus"></span>
|
||||||
|
<?php echo $this->lang->line('add'); ?>
|
||||||
|
</button>
|
||||||
|
<?php } ?>
|
||||||
|
|
||||||
|
<?php if ($privileges[PRIV_CUSTOMERS]['edit'] == TRUE) { ?>
|
||||||
|
<button id="edit-customer" class="btn" disabled="disabled">
|
||||||
|
<span class="glyphicon glyphicon-pencil"></span>
|
||||||
|
<?php echo $this->lang->line('edit'); ?>
|
||||||
|
</button>
|
||||||
|
<?php }?>
|
||||||
|
|
||||||
|
<?php if ($privileges[PRIV_CUSTOMERS]['delete'] == TRUE) { ?>
|
||||||
|
<button id="delete-customer" class="btn" disabled="disabled">
|
||||||
|
<span class="glyphicon glyphicon-remove"></span>
|
||||||
|
<?php echo $this->lang->line('delete'); ?>
|
||||||
|
</button>
|
||||||
|
<?php } ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
<?php if ($privileges[PRIV_CUSTOMERS]['edit'] == TRUE) { ?>
|
<div id="save-cancel-group" class="btn-group" style="display:none;">
|
||||||
<button id="edit-customer" class="btn" disabled="disabled">
|
<button id="save-customer" class="btn btn-primary">
|
||||||
<span class="glyphicon glyphicon-pencil"></span>
|
<span class="glyphicon glyphicon-ok"></span>
|
||||||
<?php echo $this->lang->line('edit'); ?>
|
<?php echo $this->lang->line('save'); ?>
|
||||||
</button>
|
</button>
|
||||||
<?php }?>
|
<button id="cancel-customer" class="btn">
|
||||||
|
<i class="glyphicon glyphicon-ban-circle"></i>
|
||||||
|
<?php echo $this->lang->line('cancel'); ?>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<input id="customer-id" type="hidden" />
|
||||||
|
|
||||||
|
<div class="col-md-6" style="margin-left: 0;">
|
||||||
|
<h2><?php echo $this->lang->line('details'); ?></h2>
|
||||||
|
<div id="form-message" class="alert" style="display:none;"></div>
|
||||||
|
|
||||||
<?php if ($privileges[PRIV_CUSTOMERS]['delete'] == TRUE) { ?>
|
<div class="form-group">
|
||||||
<button id="delete-customer" class="btn" disabled="disabled">
|
<label for="first-name"><?php echo $this->lang->line('first_name'); ?> *</label>
|
||||||
<span class="glyphicon glyphicon-remove"></span>
|
<input type="text" id="first-name" class="form-control required" />
|
||||||
<?php echo $this->lang->line('delete'); ?>
|
</div>
|
||||||
</button>
|
|
||||||
<?php } ?>
|
<div class="form-group">
|
||||||
</div>
|
<label for="last-name"><?php echo $this->lang->line('last_name'); ?> *</label>
|
||||||
|
<input type="text" id="last-name" class="form-control required" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="email"><?php echo $this->lang->line('email'); ?> *</label>
|
||||||
|
<input type="text" id="email" class="form-control required" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="phone-number"><?php echo $this->lang->line('phone_number'); ?> *</label>
|
||||||
|
<input type="text" id="phone-number" class="form-control required" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="address"><?php echo $this->lang->line('address'); ?></label>
|
||||||
|
<input type="text" id="address" class="form-control" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="city"><?php echo $this->lang->line('city'); ?></label>
|
||||||
|
<input type="text" id="city" class="form-control" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="zip-code"><?php echo $this->lang->line('zip_code'); ?></label>
|
||||||
|
<input type="text" id="zip-code" class="form-control" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="notes"><?php echo $this->lang->line('notes'); ?></label>
|
||||||
|
<textarea id="notes" rows="4" class="form-control"></textarea>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<center><em id="form-message" class="text-error">
|
||||||
|
<?php echo $this->lang->line('fields_are_required'); ?></em></center>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div id="save-cancel-group" class="btn-group" style="display:none;">
|
<div class="col-md-5">
|
||||||
<button id="save-customer" class="btn btn-primary">
|
<h2><?php echo $this->lang->line('appointments'); ?></h2>
|
||||||
<span class="glyphicon glyphicon-ok"></span>
|
<div id="customer-appointments"></div>
|
||||||
<?php echo $this->lang->line('save'); ?>
|
<div id="appointment-details"></div>
|
||||||
</button>
|
|
||||||
<button id="cancel-customer" class="btn">
|
|
||||||
<i class="glyphicon glyphicon-ban-circle"></i>
|
|
||||||
<?php echo $this->lang->line('cancel'); ?>
|
|
||||||
</button>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<input id="customer-id" type="hidden" />
|
|
||||||
|
|
||||||
<div class="col-md-6" style="margin-left: 0;">
|
|
||||||
<h2><?php echo $this->lang->line('details'); ?></h2>
|
|
||||||
<div id="form-message" class="alert" style="display:none;"></div>
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="first-name"><?php echo $this->lang->line('first_name'); ?> *</label>
|
|
||||||
<input type="text" id="first-name" class="form-control required" />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="last-name"><?php echo $this->lang->line('last_name'); ?> *</label>
|
|
||||||
<input type="text" id="last-name" class="form-control required" />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="email"><?php echo $this->lang->line('email'); ?> *</label>
|
|
||||||
<input type="text" id="email" class="form-control required" />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="phone-number"><?php echo $this->lang->line('phone_number'); ?> *</label>
|
|
||||||
<input type="text" id="phone-number" class="form-control required" />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="address"><?php echo $this->lang->line('address'); ?></label>
|
|
||||||
<input type="text" id="address" class="form-control" />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="city"><?php echo $this->lang->line('city'); ?></label>
|
|
||||||
<input type="text" id="city" class="form-control" />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="zip-code"><?php echo $this->lang->line('zip_code'); ?></label>
|
|
||||||
<input type="text" id="zip-code" class="form-control" />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="notes"><?php echo $this->lang->line('notes'); ?></label>
|
|
||||||
<textarea id="notes" rows="4" class="form-control"></textarea>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<center><em id="form-message" class="text-error">
|
|
||||||
<?php echo $this->lang->line('fields_are_required'); ?></em></center>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="col-md-5">
|
|
||||||
<h2><?php echo $this->lang->line('appointments'); ?></h2>
|
|
||||||
<div id="customer-appointments"></div>
|
|
||||||
<div id="appointment-details"></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
Loading…
Reference in a new issue