Changed the backend filter-records component appearance.

This commit is contained in:
Alex Tselegidis 2015-11-28 11:19:44 +01:00
parent 2ad9e11f15
commit 97856af73a
4 changed files with 58 additions and 38 deletions

View file

@ -28,13 +28,15 @@
<div class="row"> <div class="row">
<div id="filter-customers" class="filter-records column col-md-4"> <div id="filter-customers" class="filter-records column col-md-4">
<form class="input-append"> <form class="input-append">
<input class="key span12" type="text" /> <input class="key" type="text" />
<button class="filter btn btn-default btn-xs" type="submit" title="<?php echo $this->lang->line('filter'); ?>"> <div class="btn-group">
<button class="filter btn btn-default btn-sm" type="submit" title="<?php echo $this->lang->line('filter'); ?>">
<span class="glyphicon glyphicon-search"></span> <span class="glyphicon glyphicon-search"></span>
</button> </button>
<button class="clear btn btn-default btn-xs" type="button" title="<?php echo $this->lang->line('clear'); ?>"> <button class="clear btn btn-default btn-sm" type="button" title="<?php echo $this->lang->line('clear'); ?>">
<span class="glyphicon glyphicon-repeat"></span> <span class="glyphicon glyphicon-repeat"></span>
</button> </button>
</div>
</form> </form>
<h3><?php echo $this->lang->line('customers'); ?></h3> <h3><?php echo $this->lang->line('customers'); ?></h3>

View file

@ -38,13 +38,15 @@
<div class="row"> <div class="row">
<div id="filter-services" class="filter-records column col-md-4"> <div id="filter-services" class="filter-records column col-md-4">
<form class="input-append"> <form class="input-append">
<input class="key span12" type="text" /> <input class="key" type="text" />
<button class="filter btn btn-default btn-xs" type="submit" title="<?php echo $this->lang->line('filter'); ?>"> <div class="btn-group">
<button class="filter btn btn-default btn-sm" type="submit" title="<?php echo $this->lang->line('filter'); ?>">
<span class="glyphglyphicon glyphicon glyphglyphicon glyphicon-search"></span> <span class="glyphglyphicon glyphicon glyphglyphicon glyphicon-search"></span>
</button> </button>
<button class="clear btn btn-default btn-xs" type="button" title="<?php echo $this->lang->line('clear'); ?>"> <button class="clear btn btn-default btn-sm" type="button" title="<?php echo $this->lang->line('clear'); ?>">
<span class="glyphglyphicon glyphicon glyphglyphicon glyphicon-repeat"></span> <span class="glyphglyphicon glyphicon glyphglyphicon glyphicon-repeat"></span>
</button> </button>
</div>
</form> </form>
<h3><?php echo $this->lang->line('services'); ?></h3> <h3><?php echo $this->lang->line('services'); ?></h3>
@ -134,12 +136,14 @@
<div id="filter-categories" class="filter-records column col-md-4"> <div id="filter-categories" class="filter-records column col-md-4">
<form class="input-append"> <form class="input-append">
<input class="key" type="text" /> <input class="key" type="text" />
<button class="filter btn btn-default btn-xs" type="submit" title="<?php echo $this->lang->line('filter'); ?>"> <div class="btn-group">
<button class="filter btn btn-default btn-sm" type="submit" title="<?php echo $this->lang->line('filter'); ?>">
<span class="glyphicon glyphicon-search"></span> <span class="glyphicon glyphicon-search"></span>
</button> </button>
<button class="clear btn btn-default btn-xs" type="button" title="<?php echo $this->lang->line('clear'); ?>"> <button class="clear btn btn-default btn-sm" type="button" title="<?php echo $this->lang->line('clear'); ?>">
<span class="glyphicon glyphicon-repeat"></span> <span class="glyphicon glyphicon-repeat"></span>
</button> </button>
</div>
</form> </form>
<h3><?php echo $this->lang->line('categories'); ?></h3> <h3><?php echo $this->lang->line('categories'); ?></h3>

View file

@ -64,12 +64,14 @@
<div id="filter-admins" class="filter-records column col-md-4"> <div id="filter-admins" class="filter-records column col-md-4">
<form class="input-append"> <form class="input-append">
<input class="key" type="text" /> <input class="key" type="text" />
<button class="filter btn btn-default btn-xs" type="submit" title="<?php echo $this->lang->line('filter'); ?>"> <div class="btn-group">
<button class="filter btn btn-default btn-sm" type="submit" title="<?php echo $this->lang->line('filter'); ?>">
<span class="glyphicon glyphicon-search"></span> <span class="glyphicon glyphicon-search"></span>
</button> </button>
<button class="clear btn btn-default btn-xs" type="button" title="<?php echo $this->lang->line('clear'); ?>"> <button class="clear btn btn-default btn-sm" type="button" title="<?php echo $this->lang->line('clear'); ?>">
<span class="glyphicon glyphicon-repeat"></span> <span class="glyphicon glyphicon-repeat"></span>
</button> </button>
</div>
</form> </form>
<h3><?php echo $this->lang->line('admins'); ?></h3> <h3><?php echo $this->lang->line('admins'); ?></h3>
@ -201,12 +203,14 @@
<div id="filter-providers" class="filter-records column col-md-7"> <div id="filter-providers" class="filter-records column col-md-7">
<form class="input-append"> <form class="input-append">
<input class="key" type="text" /> <input class="key" type="text" />
<button class="filter btn btn-default btn-xs" type="submit" title="<?php echo $this->lang->line('filter'); ?>"> <div class="btn-group">
<button class="filter btn btn-default btn-sm" type="submit" title="<?php echo $this->lang->line('filter'); ?>">
<span class="glyphicon glyphicon-search"></span> <span class="glyphicon glyphicon-search"></span>
</button> </button>
<button class="clear btn btn-default btn-xs" type="button" title="<?php echo $this->lang->line('clear'); ?>"> <button class="clear btn btn-default btn-sm" type="button" title="<?php echo $this->lang->line('clear'); ?>">
<span class="glyphicon glyphicon-repeat"></span> <span class="glyphicon glyphicon-repeat"></span>
</button> </button>
</div>
</form> </form>
<h3><?php echo $this->lang->line('providers'); ?></h3> <h3><?php echo $this->lang->line('providers'); ?></h3>
@ -471,12 +475,14 @@
<div id="filter-secretaries" class="filter-records column col-md-4"> <div id="filter-secretaries" class="filter-records column col-md-4">
<form class="input-append"> <form class="input-append">
<input class="key" type="text" /> <input class="key" type="text" />
<button class="filter btn btn-default btn-xs" type="submit" title="<?php echo $this->lang->line('filter');?>"> <div class="btn-group">
<button class="filter btn btn-default btn-sm" type="submit" title="<?php echo $this->lang->line('filter');?>">
<span class="glyphicon glyphicon-search"></span> <span class="glyphicon glyphicon-search"></span>
</button> </button>
<button class="clear btn btn-default btn-xs" type="button" title="<?php echo $this->lang->line('clear');?>"> <button class="clear btn btn-default btn-sm" type="button" title="<?php echo $this->lang->line('clear');?>">
<span class="glyphicon glyphicon-repeat"></span> <span class="glyphicon glyphicon-repeat"></span>
</button> </button>
</div>
</form> </form>
<h3><?php echo $this->lang->line('secretaries');?></h3> <h3><?php echo $this->lang->line('secretaries');?></h3>

View file

@ -323,6 +323,14 @@ body .form-horizontal .controls {
margin-left: 158px; margin-left: 158px;
} }
/* BACKEND COMPONENTS
-------------------------------------------------------------------- */
.filter-records .key {
margin-right: 15px;
float: left;
}
/* BACKEND CUSTOMERS PAGE /* BACKEND CUSTOMERS PAGE
-------------------------------------------------------------------- */ -------------------------------------------------------------------- */
#customers-page h2 { #customers-page h2 {