Update Laravel to 7.0

This commit is contained in:
George Frederick "Buzz" Beurling
2020-06-20 17:03:30 -04:00
parent f104c1b61b
commit 8866cafd31
57 changed files with 8739 additions and 2281 deletions

View File

@@ -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