Commit 673c9fb0 authored by Evren Kutar's avatar Evren Kutar

Merge branch 'UI-Improvements-3'

parents 55121dad 52f6af6a
......@@ -74,6 +74,23 @@ a:hover {
margin-bottom: 0;
}
.buttons-on-bottom {
float:left;
}
.filter-inner {
background-color: #fff;
padding: 15px;
margin-top: 104px;
border: 1px solid #E6E6E6;
}
.filter-inner h4 {
font-family: 'robotobold';
color: #333;
letter-spacing: 0.5px;
}
/** BRAND **/
.brand-bg {
......@@ -557,6 +574,7 @@ select {
margin:10px auto;
float:left;
margin-right:10px;
border: 1px solid #E4E4E4;
}
.sidebar-person-info .identity p.identity-name {
......@@ -1463,7 +1481,6 @@ table.dataTable thead .sorting:after {
padding: 15px;
width:100%;
text-align:center;
background: whitesmoke;
}
footer span {
......@@ -1552,6 +1569,10 @@ table.dataTable thead .sorting:after {
}
@media (max-width: 1000px) {
.personnel-info-container {
width:500px;
......@@ -1599,7 +1620,7 @@ table.dataTable thead .sorting:after {
.tablescroll{
width: 100%;
overflow-x:scroll;
overflow-x:auto;
overflow-y:visible;
padding-bottom:1px;
}
......
<div style="background: white;">
<h4>Filtrele</h4>
<hr>
<div ng-repeat="filter in list_filters">
<div>
<div class=" clearfix">
<h5 ng-click="collapseFilter(filter.field)">{{filter.verbose_name}}
<i class="fa fa-fw fa-caret-down"></i></h5>
</div>
<div ng-if="filter.type==='check' || !filter.type" uib-collapse="filterCollapsed[filter.field]">
<div class="checkbox" ng-repeat="filterItem in filter.values">
<label class="checkbox-inline">
<input type="checkbox" name="filter_group[]" ng-model="filterList[filter.field].model[filterItem.value]"
value="{{filterItem.value}}"/>
{{filterItem.name}}
</label>
<div>
<div class="filter-inner">
<h4>Filtrele</h4>
<hr>
<div ng-repeat="filter in list_filters">
<div>
<div class=" clearfix">
<h5 ng-click="collapseFilter(filter.field)">{{filter.verbose_name}}
<i class="fa fa-fw fa-caret-down"></i></h5>
</div>
</div>
<div ng-if="filter.type==='select'" uib-collapse="filterCollapsed[filter.field]">
<div class="col-md-12">
<select name="filterSelect" id="filterSelect" class="form-control">
<option ng-repeat="filterItem in filter.values" value="{{filterItem.value}}">
<div ng-if="filter.type==='check' || !filter.type" uib-collapse="filterCollapsed[filter.field]">
<div class="checkbox" ng-repeat="filterItem in filter.values">
<label class="checkbox-inline">
<input type="checkbox" name="filter_group[]" ng-model="filterList[filter.field].model[filterItem.value]"
value="{{filterItem.value}}"/>
{{filterItem.name}}
</option>
</select>
</label>
</div>
</div>
</div>
<div ng-if="filter.type==='date'" uib-collapse="filterCollapsed[filter.field]">
<div class="col-md-12">
<label class="control-label" for="startDate">Başlangıç</label>
<p class="input-group">
<span class="input-group-btn">
<button type="button" class="btn btn-default" ng-click="dateFilterOpen($event, 'startOpened')">
<i class="fa fa-calendar"></i>
</button>
</span>
<input type="text" name="startDate" class="form-control"
ng-model="filterList[filter.field].model[0]"
uib-datepicker-popup="{{format}}"
is-open="status.startOpened"
close-text="Kapat"
current-text="Bugün"
clear-text="Temizle"
ng-click="dateFilterOpen($event, 'startOpened')"/></p>
<div ng-if="filter.type==='select'" uib-collapse="filterCollapsed[filter.field]">
<div class="col-md-12">
<select name="filterSelect" id="filterSelect" class="form-control">
<option ng-repeat="filterItem in filter.values" value="{{filterItem.value}}">
{{filterItem.name}}
</option>
</select>
</div>
</div>
<div class="col-md-12">
<label class="control-label" for="endDate">Bitiş</label>
<p class="input-group">
<span class="input-group-btn">
<button type="button" class="btn btn-default" ng-click="dateFilterOpen($event, 'endOpened')">
<i class="fa fa-calendar"></i>
</button>
</span>
<input type="text" name="endDate" class="form-control"
ng-model="filterList[filter.field].model[1]"
uib-datepicker-popup="{{format}}"
is-open="status.endOpened"
close-text="Kapat"
current-text="Bugün"
clear-text="Temizle"
ng-click="dateFilterOpen($event, 'endOpened')"/></p>
<div ng-if="filter.type==='date'" uib-collapse="filterCollapsed[filter.field]">
<div class="col-md-12">
<label class="control-label" for="startDate">Başlangıç</label>
<p class="input-group">
<span class="input-group-btn">
<button type="button" class="btn btn-default" ng-click="dateFilterOpen($event, 'startOpened')">
<i class="fa fa-calendar"></i>
</button>
</span>
<input type="text" name="startDate" class="form-control"
ng-model="filterList[filter.field].model[0]"
uib-datepicker-popup="{{format}}"
is-open="status.startOpened"
close-text="Kapat"
current-text="Bugün"
clear-text="Temizle"
ng-click="dateFilterOpen($event, 'startOpened')"/></p>
</div>
<div class="col-md-12">
<label class="control-label" for="endDate">Bitiş</label>
<p class="input-group">
<span class="input-group-btn">
<button type="button" class="btn btn-default" ng-click="dateFilterOpen($event, 'endOpened')">
<i class="fa fa-calendar"></i>
</button>
</span>
<input type="text" name="endDate" class="form-control"
ng-model="filterList[filter.field].model[1]"
uib-datepicker-popup="{{format}}"
is-open="status.endOpened"
close-text="Kapat"
current-text="Bugün"
clear-text="Temizle"
ng-click="dateFilterOpen($event, 'endOpened')"/></p>
</div>
</div>
</div>
</div>
</div>
<div class="clearfix"></div>
<div style="margin-top: 40px;">
<button type="button" class="btn btn-warning" ng-click="filterSubmit()">Filtrele</button>
<div class="clearfix"></div>
<div style="margin-top: 40px;">
<button type="button" class="btn btn-warning" ng-click="filterSubmit()">Filtrele</button>
</div>
</div>
</div>
\ No newline at end of file
......@@ -51,21 +51,6 @@
</table>
</div>
<br/>
<hr/>
<div class="btn-group" ng-if="objects[1]">
<button type="button" class="btn btn-info dropdown-toggle" data-toggle="dropdown" aria-haspopup="true"
aria-expanded="false">
İşlemler <span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li><a href="">İşlem 1</a></li>
<li><a href="">İşlem 2</a></li>
<li><a href="">İşlem 3</a></li>
<li role="separator" class="divider"></li>
<li><a href="">İşlem 4</a></li>
</ul>
</div>
<nav ng-if="pagination && pagination.total_pages > 1" class="text-center">
<ul class="pagination">
......@@ -86,6 +71,4 @@
</ul>
</nav>
<hr>
</div>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment