mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 02:39:10 -04:00
Update Laravel to 7.0
This commit is contained in:
@@ -1,15 +1,9 @@
|
||||
@extends('layouts.public.main')
|
||||
|
||||
@section('content')
|
||||
<div class="page-header header-filter clear-filter" data-parallax="true" style="background-image: url({{'"'.\App\Config::getData('public_index_img_url').'"'}});">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-8 ml-auto mr-auto">
|
||||
<div class="brand">
|
||||
<h2 class="news-title">{{ $new->title }}</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row" style="height: 45vh; width: 100vw">
|
||||
<div class="col-12 text-center m-auto">
|
||||
<h2 class="news-title text-white">{{ $new->title }}</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="main main-raised">
|
||||
@@ -23,7 +17,9 @@
|
||||
class="col-12"
|
||||
@else
|
||||
class="col-4"
|
||||
@endif><span class="image fit"><a href="/picture/{{$picture->id}}"><img src="{{ $picture->url }}" alt="{{ $picture->title }}"></a></span></div>
|
||||
@endif>
|
||||
<span class="image fit"><a href="/picture/{{$picture->id}}"><img src="{{ $picture->url }}" alt="{{ $picture->title }}"></a></span>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
<p>
|
||||
@@ -41,9 +37,14 @@
|
||||
@endforeach
|
||||
@endif
|
||||
</div>
|
||||
<div class="col-12 mt-3">
|
||||
@foreach($new->files as $file)
|
||||
<a href="{{\App\GoogleDriveFile::getDownloadURL('.Systeme/.Fichier/.MessageDeLaSemaine',$file)}}" class="btn btn-outline-primary btn-round"><div class="d-inline-flex" style="max-width: 10rem;overflow: hidden">{{$file}}</div><i class="fas fa-cloud-download-alt ml-2"></i></a>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<a href="{{ url()->previous() }}" class="btn button primary">Retour</a>
|
||||
<a href="/" class="btn button primary">Retour</a>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
Reference in New Issue
Block a user