40 lines
1.7 KiB
PHP
40 lines
1.7 KiB
PHP
@extends('layouts.app')
|
|
|
|
@section('content')
|
|
<div class="container">
|
|
<div class="row justify-content-center">
|
|
<div class="col-md-12">
|
|
<div class="card">
|
|
<div class="card-header">{{ __('EDL Web') }} <a href="{{ route('projects.create') }}" class="btn btn-sm btn-primary float-end">{{__('Ajouter') }}</a></div>
|
|
|
|
<div class="card-body">
|
|
<table class="table text-center">
|
|
<thead class="thead-dark">
|
|
<tr>
|
|
<th scope="col">{{ __('Projet') }}</th>
|
|
<th scope="col">{{ __('Nom') }}</th>
|
|
<th scope="col">{{ __('PHP') }}</th>
|
|
<th scope="col">{{ __('Type') }}</th>
|
|
<th scope="col">{{ __('HTTPS') }}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach($projects as $project)
|
|
<tr>
|
|
<td class="text-start"><a href="{{ route('projects.edit', $project) }}">{{$project->name}}</a></td>
|
|
<td class="text-start">{{$project->display_name}}</td>
|
|
<td><b>{{$project->php->label}}</b></td>
|
|
<td>{{ $project->type->label }}</td>
|
|
<td>
|
|
<i class="fa @if(!$project->https) fa-unlock red @else fa fa-lock green @endif"></i>
|
|
</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|