Commit f77f63b4 by Bagus Pambudi

halaman download diperbarui

parent 6a076448
...@@ -45,7 +45,8 @@ ...@@ -45,7 +45,8 @@
<td style="color: black;">{{ $item->title }}</td> <td style="color: black;">{{ $item->title }}</td>
<td style="text-align: center; color: black;">{{ InseoHelper::tgl($item->created_at) }}</td> <td style="text-align: center; color: black;">{{ InseoHelper::tgl($item->created_at) }}</td>
<td style="text-align: center;"> <td style="text-align: center;">
<a href="{{ $setting['url_static'] . '/' . $setting['directory'] . '/file/' .$item->file }}" class="btn btn-info"><i class="fa fa-download"> Download</i></a> <a href="{{ $setting['url_static'] . '/' . $setting['directory'] . '/file/' .$item->file }}" class="btn btn-info"><i class="fa fa-eye"> Lihat</i></a>
<a href="{{ url('downloadlink/'.$item->id) }}" class="btn btn-info"><i class="fa fa-download"> Download</i></a>
</td> </td>
</tr> </tr>
@endforeach @endforeach
......
@extends('webprofile.front.jollyany.master')
@section('meta')
<meta name="{{ Str::slug($setting['web_title']) }}" content="custom"/>
<meta name="description" content="{{ $setting['web_title'] }}">
@if(array_key_exists('default_keyword', $setting))
<meta name="keywords" content="{{ $setting['default_keyword'] }}">
@endif
<meta name="author" content="{{ $setting['web_title'] }}">
@endsection
@section('content')
@if ($gallery->count() != 0)
<section class="panel-wrapper jt-shadow">
<div class="container">
<div class="general-title">
<h2>Galeri</h2>
<hr>
</div>
</div>
<!-- end container -->
<div class="portfolio_wrapper padding-top" style="position: relative; overflow: hidden; height: 372px;">
<div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(0px, 30px); width: 379px;">
<div class="entry">
<img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[0]->gallery }}" alt="" class="img-responsive">
<div class="magnifier">
<div class="buttons">
<a class="st btn btn-default" rel="bookmark" href="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[0]->gallery }}" target="_blank">
View
</a>
<h3>{!! $gallery[0]->title !!}</h3>
</div><!-- end buttons -->
</div><!-- end magnifier -->
</div><!-- end entry -->
</div><!-- end portfolio_item -->
@if(isset($gallery[1]))
<div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(379px, 30px); width: 379px;">
<div class="entry">
<img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[1]->gallery }}" alt="" class="img-responsive">
<div class="magnifier">
<div class="buttons">
<a class="st btn btn-default" rel="bookmark" href="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[1]->gallery }}" target="_blank">
View
</a>
<h3>{!! $gallery[1]->title !!}</h3>
</div><!-- end buttons -->
</div><!-- end magnifier -->
</div><!-- end entry -->
</div><!-- end portfolio_item -->
@endif
@if(isset($gallery[2]))
<div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(758px, 30px); width: 379px;">
<div class="entry">
<img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[2]->gallery }}" alt="" class="img-responsive">
<div class="magnifier">
<div class="buttons">
<a class="st btn btn-default" rel="bookmark" href="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[2]->gallery }}" target="_blank">
View
</a>
<h3>{!! $gallery[2]->title !!}</h3>
</div><!-- end buttons -->
</div><!-- end magnifier -->
</div><!-- end entry -->
</div><!-- end portfolio_item -->
@endif
@if(isset($gallery[3]))
<div class="portfolio_item" style="position: absolute; left: 0px; top: 0px; transform: translate(1137px, 30px); width: 379px;">
<div class="entry">
<img src="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[3]->gallery }}" alt="" class="img-responsive">
<div class="magnifier">
<div class="buttons">
<a class="st btn btn-default" rel="bookmark" href="{{ $setting['url_static'] . '/' . $setting['directory'] . '/gallery/' . $gallery[3]->gallery }}" target="_blank">
View
</a>
<h3>{!! $gallery[3]->title !!}</h3>
</div><!-- end buttons -->
</div><!-- end magnifier -->
</div><!-- end entry -->
</div><!-- end portfolio_item -->
@endif
</div>
<div class="clearfix"></div>
</section>
@endif
@endsection
@extends('webprofile.front.jollyany.master')
@section('meta')
<meta name="{{ Str::slug($setting['web_title']) }}" content="custom"/>
<meta name="description" content="{{ $setting['web_title'] }}">
@if(array_key_exists('default_keyword', $setting))
<meta name="keywords" content="{{ $setting['default_keyword'] }}">
@endif
<meta name="author" content="{{ $setting['web_title'] }}">
@endsection
@section('content')
<section class="post-wrapper-top jt-shadow clearfix">
<div class="container">
<div class="col-lg-12">
<h2>USER MANUAL</h2>
</div>
</div>
</section><!-- end post-wrapper-top -->
<section class="blog-wrapper">
<div class="container">
<div class="row">
<div id="main-content" class="col-md-12" role="main" align="justify">
<table class="table table-bordered">
<thead>
<tr>
<th style="width: 5%;">No</th>
<th>Nama Dokumen</th>
<th style="width: 15%;">Logo</th>
<th style="width: 10%;">Option</th>
</tr>
</thead>
<tbody>
@foreach ($categoriesFile as $value)
<tr>
<td colspan="4" style="font-weight: bold;">KATEGORI : {{ $value->name }}</td>
</tr>
@php
$no = 1;
@endphp
@foreach ($value->rFile as $item)
<tr>
<td style="text-align: center; color: black;">{{ $no++ }}</td>
<td style="color: black;">{{ $item->title }}</td>
<td style="text-align: center; color: black;">{{ InseoHelper::tgl($item->created_at) }}</td>
<td style="text-align: center;">
<a href="{{ $setting['url_static'] . '/' . $setting['directory'] . '/file/' .$item->file }}" class="btn btn-info"><i class="fa fa-download"> Download</i></a>
</td>
</tr>
@endforeach
@endforeach
</tbody>
</table>
</div>
</div>
</div><!-- end title -->
</div><!-- end container -->
</section><!--end white-wrapper -->
@endsection
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