|
1 | 1 | @extends('user.layouts') |
2 | | - |
3 | 2 | @section('css') |
4 | | - <link href="/assets/global/plugins/fancybox/source/jquery.fancybox.css" rel="stylesheet" type="text/css" /> |
5 | | - <style> |
6 | | - .fancybox > img { |
7 | | - width: 75px; |
8 | | - height: 75px; |
9 | | - } |
10 | | - </style> |
| 3 | + <link href="/assets/pages/css/search.min.css" rel="stylesheet" type="text/css" /> |
11 | 4 | @endsection |
12 | 5 | @section('title', trans('home.panel')) |
13 | 6 | @section('content') |
|
16 | 9 | <!-- BEGIN PAGE BASE CONTENT --> |
17 | 10 | <div class="row"> |
18 | 11 | <div class="col-md-12"> |
19 | | - <!-- BEGIN EXAMPLE TABLE PORTLET--> |
20 | | - <div class="portlet light bordered"> |
21 | | - <div class="portlet-body"> |
22 | | - <div class="table-scrollable table-scrollable-borderless"> |
23 | | - <table class="table table-hover table-light order-column"> |
24 | | - <tbody> |
| 12 | + <div class="search-page search-content-1"> |
| 13 | + <div class="row"> |
| 14 | + <div class="col-md-12"> |
| 15 | + <div class="search-container bordered"> |
25 | 16 | @if($articleList->isEmpty()) |
26 | | - <tr> |
27 | | - <td colspan="1">{{trans('home.invoice_table_none')}}</td> |
28 | | - </tr> |
| 17 | + <p style="text-align:center;">{{trans('home.invoice_table_none')}} </p> |
29 | 18 | @else |
30 | | - @foreach($articleList as $key => $article) |
31 | | - <tr class="odd gradeX"> |
32 | | - <td><a href="{{url('article?id=') . $article->id}}"> [{{date('m/d', strtotime($article->created_at))}}] {{str_limit($article->title, 300)}}</a></td> |
33 | | - </tr> |
34 | | - @endforeach |
| 19 | + <ul> |
| 20 | + @foreach($articleList as $key => $article) |
| 21 | + <li class="search-item clearfix"> |
| 22 | + <a href="javascriptt:;"> |
| 23 | + <img src="{{asset('assets/images/what.png')}}"> |
| 24 | + </a> |
| 25 | + <div class="search-content"> |
| 26 | + <h2 class="search-title"> |
| 27 | + <a href="{{url('article?id=') . $article->id}}">{{str_limit($article->title, 300)}}</a> |
| 28 | + </h2> |
| 29 | + <p class="search-desc"> {{$article->summary}} </p> |
| 30 | + </div> |
| 31 | + </li> |
| 32 | + @endforeach |
| 33 | + </ul> |
35 | 34 | @endif |
36 | | - </tbody> |
37 | | - </table> |
38 | | - </div> |
39 | | - <div class="row"> |
40 | | - <div class="col-md-12 col-sm-12"> |
41 | | - <div class="dataTables_paginate paging_bootstrap_full_number pull-right"> |
42 | | - {{ $articleList->links() }} |
43 | | - </div> |
| 35 | + {{ $articleList->links() }} |
44 | 36 | </div> |
45 | 37 | </div> |
46 | 38 | </div> |
47 | 39 | </div> |
48 | | - <!-- END EXAMPLE TABLE PORTLET--> |
49 | 40 | </div> |
50 | 41 | </div> |
51 | 42 | <!-- END PAGE BASE CONTENT --> |
|
0 commit comments