flexisip-account-manager/flexiapi/resources/views/account/device/index.blade.php

40 lines
1.1 KiB
PHP

@extends('layouts.main')
@section('breadcrumb')
<li class="breadcrumb-item active" aria-current="page">{{ __('Devices') }}</li>
@endsection
@section('content')
<header>
<h1><i class="ph">devices</i> {{ __('Devices') }}</h1>
</header>
<table>
<thead>
<tr>
<th>User Agent</th>
<th></th>
</tr>
</thead>
<tbody>
@if ($devices->isEmpty())
<tr class="empty">
<td colspan="3">{{ __('Empty') }}</td>
</tr>
@else
@foreach ($devices as $device)
<tr>
<td>{{ $device->user_agent }}</td>
<td>
<a type="button" class="btn" href="{{ route('account.device.delete', [$device->uuid]) }}">
{{ __('Delete') }}
</a>
</td>
</tr>
@endforeach
@endif
</tbody>
</table>
@endsection