1
0
mirror of https://github.com/freescout-helpdesk/freescout.git synced 2024-11-24 19:33:07 +01:00

Improve conversations navigation

This commit is contained in:
FreeScout 2020-11-18 01:31:21 -08:00
parent f97f43f49b
commit 4cc750ec0f
3 changed files with 42 additions and 13 deletions

37
public/css/style.css vendored
View File

@ -1443,6 +1443,16 @@ table.table-conversations td.conv-attachment {
line-height: 24px;
font-size: 16px;
}
.table-pager a.pager-nav.disabled {
color: #a5b2bd;
opacity: 0.3;
}
.table-pager a.pager-nav.disabled:hover {
color: #a5b2bd;
}
.table-pager a.pager-nav:hover {
color: #333;
}
/*.conv-subject-number {
display: none;
}*/
@ -3374,6 +3384,33 @@ ul.sidebar-block-list {
#search-filters .select2-container {
width: 100% !important;
}
.customers-pager {
margin: 0 13px 20px 13px;
padding: 4px 0 0 10px;
font-size: 20px;
background-color: #f1f3f5;
}
.customers-pager a.disabled {
color: #93a1af;
opacity: 0.3;
}
.customers-pager a {
color: #93a1af;
padding-right: 8px;
text-decoration: none !important;
}
.customers-pager a.disabled:hover {
color: #93a1af;
}
.customers-pager a:hover {
color: #333;
}
/*.customers-pager a:hover,
.customers-pager a:active
.customers-pager a:focus, {
text-decoration: none !important;
border-bottom: 0;
}*/
/**
* Panel

View File

@ -1,23 +1,15 @@
@if ($paginator->hasPages())
{{-- First Page Link --}}
@if ($paginator->currentPage() > 2)
<a href="#" class="pager-nav pager-first glyphicon glyphicon-backward" data-page="1" title="{{ __('First Page') }}"></a>
@endif
<a href="#" class="pager-nav pager-first glyphicon glyphicon-backward @if ($paginator->currentPage() <= 2) disabled @endif" data-page="1" title="{{ __('First Page') }}"></a>
{{-- Previous Page Link --}}
@if (!$paginator->onFirstPage())
<a href="#" class="pager-nav pager-prev glyphicon glyphicon-triangle-left" data-page="{{ $paginator->currentPage()-1 }}" title="{{ __('Previous Page') }}"></a>
@endif
<a href="#" class="pager-nav pager-prev glyphicon glyphicon-triangle-left @if ($paginator->onFirstPage()) disabled @endif" data-page="{{ $paginator->currentPage()-1 }}" title="{{ __('Previous Page') }}"></a>
{{-- Next Page Link --}}
@if ($paginator->hasMorePages())
<a href="#" class="pager-nav pager-next glyphicon glyphicon-triangle-right" data-page="{{ $paginator->currentPage()+1 }}" title="{{ __('Next Page') }}"></a>
@endif
<a href="#" class="pager-nav pager-next glyphicon glyphicon-triangle-right @if (!$paginator->hasMorePages()) disabled @endif" data-page="{{ $paginator->currentPage()+1 }}" title="{{ __('Next Page') }}"></a>
{{-- Last Page Link --}}
@if ($paginator->currentPage() < $paginator->lastPage()-1)
<a href="#" class="pager-nav pager-last glyphicon glyphicon-forward" data-page="{{ $paginator->lastPage() }}" title="{{ __('Last Page') }}"></a>
@endif
<a href="#" class="pager-nav pager-last glyphicon glyphicon-forward @if ($paginator->currentPage() >= $paginator->lastPage()-1) disabled @endif" data-page="{{ $paginator->lastPage() }}" title="{{ __('Last Page') }}"></a>
@endif

View File

@ -172,7 +172,7 @@
<strong>{{ $folder->getActiveCount() }}</strong> {{ __('active') }}&nbsp;|&nbsp;
@endif
@if ($conversations)
{{ __('Viewing') }} <strong>{{ $conversations->firstItem() }}</strong>-<strong>{{ $conversations->lastItem() }}</strong>
<strong>{{ $conversations->firstItem() }}</strong>-<strong>{{ $conversations->lastItem() }}</strong>
@endif
</td>
<td colspan="3" class="conv-nav">