ldc-web/resources/views/git-repos/index.blade.php
Vincent BRIDIER e4ffc0a0dc - Add Git Repos Management
- Remove Git Repos from Projects
2021-08-10 09:09:56 +02:00

37 lines
1.5 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">{{ __('Gestion des dépôts Git') }} <a href="{{route('git-repos.create')}}" class="btn btn-sm btn-primary float-right">{{ __('Ajouter') }}</a></div>
<div class="card-body">
@if (session('status'))
<div class="alert alert-success" role="alert">
{{ session('status') }}
</div>
@endif
<table class="table text-center">
<thead class="thead-dark">
<tr>
<th scope="col">{{ __('Nom') }}</th>
<th scope="col"></th>
</tr>
</thead>
<tbody>
@foreach($repos as $repo)
<tr>
<td>{{$repo->name}}</td>
<td><a href="{{route('git-repos.edit', ['git_repo' => $repo->id])}}" class="btn btn-sm btn-primary">{{ __('Détails') }}</a></td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
@endsection