관리-도구
편집 파일: annualreport.blade.php
@extends('frontend.layouts.app') @section('meta') @include('frontend.includes.meta') @endsection @section('content') <!-- Banner --> <section class="banner pt pb" style="background-image: url({{ asset(@$meta->og_image) }}); background-position: center; background-size: cover;"> <div class="container"> <h1> {{getLangValue(@$meta->name)}} </h1> <nav aria-label="breadcrumb"> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="index.html">{{ __('index.top.home') }}</a></li> <li class="breadcrumb-item active" aria-current="page"> {{getLangValue(@$meta->name)}} </li> </ol> </nav> </div> </section> <!-- Banner End --> <!-- Team Page Us --> <section class="team-next mt mb"> <div class="container"> <div class="table-responsive"> <table width="100%" class="table table-striped table-hover table-bordered"> <thead> <tr> <th width="50">{{ __('index.index.serial_number') }}</th> <th width="400">{{ __('index.index.file_name') }}</th> <th width="206">Download Reports</th> </tr> </thead> <tbody> @if (count($annualReports) == 0) <tr> <td colspan="3"><h3>{{ __('index.emptyInfo.noItem') }}</h3></td> </tr> @else @php $i = 1; @endphp @foreach ($annualReports as $annualReport) <tr> <td width="50">{{ $i }}</td> <td width="400">{{ getLangValue($annualReport->title) }}</td> <td width="206"> <a href="{{ asset(@$annualReport->file) }}" class="btn btn-success" title="annualReport" target="_blank"><i class="fa fa-download"></i> Download </a></a> </td> </tr> @php $i++; @endphp @endforeach @endif </tbody> </table> </div> {{-- <nav aria-label="Page navigation example"> <span class="pagination-sm m-0 float-right">{{ $annualReports->links() }}</span> </nav> --}} </div> </section> <!-- Team Page End --> @endsection