ldc-dam/resources/views/brands/index.blade.php

48 lines
1.3 KiB
PHP

@extends('layouts.app')
@include('layouts.header')
@section('content')
<main class="brand_index template_2col">
@include('modules.param-sideMenu')
<div class="main_content">
@include('modules.flashMessage')
<div class="heading">
<h1>{{ __('Gestion des marques') }}</h1>
</div>
<div class="filter_row group">
<div class="right_col">
<input type="text" value="" class="filter_brand_input">
<a href="#" class="btn btn-black filter_brand_btn">Rechercher une marque</a>
</div>
</div>
<table class="datatable">
<thead>
<tr>
<th>CODE</th>
<th>LIBELLE</th>
<th>ACTIONS</th>
</tr>
</thead>
@foreach ($brands as $brand)
<tr class="data_row">
<td>{{ $brand->codMarq }}</td>
<td>{{ $brand->libMarq }}</td>
<td>
<a href="{{ route('brands.editUsers', $brand) }}" class="btn" title="{{ __('Gérer les relations avec les utilisateurs') }}">
{{ __('Gérer les utilisateurs') }}
<i class="fas fa-users-cog"></i>
</a>
</td>
</tr>
@endforeach
<tfoot>
<tr>
<td colspan="4">
</td>
</tr>
</tfoot>
</table>
</div>
</main>
@endsection