|
91 | 91 | <div class="col-md-4"> |
92 | 92 | {{--<h4><i class="fa fa-info-circle"></i> Tickets Activities</h4>--}} |
93 | 93 | {{--<hr />--}} |
94 | | - <ul class="nav nav-tabs nav-justified"> |
95 | | - <li class="{{$active_tab == "cat" ? "active" : ""}}"> |
96 | | - <a data-toggle="pill" href="#information-panel-categories"> |
| 94 | + <ul class="nav nav-tabs nav-justified" class="nav-item"> |
| 95 | + <li class="nav-item {{$active_tab == "cat" ? "active" : ""}}"> |
| 96 | + <a class="nav-link active" data-toggle="pill" role="tab" href="#information-panel-categories"> |
97 | 97 | <i class="fa fa-folder"></i> |
98 | 98 | <small>{{ trans('panichd::admin.index-categories') }}</small> |
99 | 99 | </a> |
100 | 100 | </li> |
101 | | - <li class="{{$active_tab == "agents" ? "active" : ""}}"> |
102 | | - <a data-toggle="pill" href="#information-panel-agents"> |
| 101 | + <li class="nav-item {{$active_tab == "agents" ? "active" : ""}}"> |
| 102 | + <a class="nav-link" data-toggle="pill" role="tab" href="#information-panel-agents"> |
103 | 103 | <i class="fa fa-user"></i> |
104 | 104 | <small>{{ trans('panichd::admin.index-agents') }}</small> |
105 | 105 | </a> |
106 | 106 | </li> |
107 | | - <li class="{{$active_tab == "users" ? "active" : ""}}"> |
108 | | - <a data-toggle="pill" href="#information-panel-users"> |
| 107 | + <li class="nav-item {{$active_tab == "users" ? "active" : ""}}"> |
| 108 | + <a class="nav-link" data-toggle="pill" role="tab" href="#information-panel-users"> |
109 | 109 | <i class="fa fa-user"></i> |
110 | 110 | <small>{{ trans('panichd::admin.index-users') }}</small> |
111 | 111 | </a> |
112 | 112 | </li> |
113 | 113 | </ul> |
114 | 114 | <br> |
115 | 115 | <div class="tab-content"> |
116 | | - <ul id="information-panel-categories" class="list-group tab-pane fade {{$active_tab == "cat" ? "in active" : ""}}"> |
| 116 | + <ul id="information-panel-categories" class="list-group tab-pane fade {{$active_tab == "cat" ? "show active" : ""}}" role="tabpanel"> |
117 | 117 | <li class="list-group-item"> |
118 | 118 | <span>{{ trans('panichd::admin.index-category') }} |
119 | 119 | <span class="badge">{{ trans('panichd::admin.index-total') }}</span> |
|
129 | 129 | </li> |
130 | 130 | @foreach($categories as $category) |
131 | 131 | <li class="list-group-item"> |
132 | | - <span style="color: {{ $category->color }}"> |
133 | | - {{ $category->name }} <span class="badge" style="background-color: {{ $category->color }}">{{ $category->tickets()->count() }}</span> |
134 | | - </span> |
| 132 | + <span style="color: {{ $category->color }}">{{ $category->name }} </span><span class="badge" style="color: white; background-color: {{ $category->color }}">{{ $category->tickets()->count() }}</span> |
| 133 | + |
135 | 134 | <span class="pull-right small"> |
136 | 135 | <?php |
137 | 136 | $a_button = [ |
|
167 | 166 | </span> |
168 | 167 | </li> |
169 | 168 | @endforeach |
170 | | - {!! $categories->render() !!} |
| 169 | + {!! $categories->links('pagination::bootstrap-4') !!} |
171 | 170 | </ul> |
172 | | - <ul id="information-panel-agents" class="list-group tab-pane fade {{$active_tab == "agents" ? "in active" : ""}}"> |
| 171 | + <ul id="information-panel-agents" class="list-group tab-pane fade {{$active_tab == "agents" ? "show active" : ""}}" role="tabpanel"> |
173 | 172 | <li class="list-group-item"> |
174 | 173 | <span>{{ trans('panichd::admin.index-agent') }} |
175 | 174 | <span class="badge">{{ trans('panichd::admin.index-total') }}</span> |
|
223 | 222 | </span> |
224 | 223 | </li> |
225 | 224 | @endforeach |
226 | | - {!! $agents->render() !!} |
| 225 | + {!! $agents->links('pagination::bootstrap-4') !!} |
227 | 226 | </ul> |
228 | | - <ul id="information-panel-users" class="list-group tab-pane fade {{ $active_tab == "users" ? "in active" : "" }}"> |
| 227 | + <ul id="information-panel-users" class="list-group tab-pane fade {{ $active_tab == "users" ? "show active" : "" }}" role="tabpanel"> |
229 | 228 | <li class="list-group-item"> |
230 | 229 | <span>{{ trans('panichd::admin.index-user') }} |
231 | 230 | <span class="badge">{{ trans('panichd::admin.index-total') }}</span> |
|
276 | 275 | </a> |
277 | 276 | @endif |
278 | 277 | </span> |
279 | | - </a> |
| 278 | + </li> |
280 | 279 | @endforeach |
281 | | - {!! $users->render() !!} |
| 280 | + {!! $users->links('pagination::bootstrap-4') !!} |
282 | 281 | </ul> |
283 | 282 | </div> |
284 | 283 | </div> |
|
0 commit comments