mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-01-17 10:08:05 +00:00
46 lines
No EOL
1.2 KiB
PHP
46 lines
No EOL
1.2 KiB
PHP
@extends('layouts.main')
|
|
|
|
@section('breadcrumb')
|
|
@include('admin.account.parts.breadcrumb_accounts_index')
|
|
@include('admin.account.parts.breadcrumb_accounts_edit', ['account' => $account])
|
|
<li class="breadcrumb-item active" aria-current="page">{{ __('Devices') }}</li>
|
|
@endsection
|
|
|
|
@section('content')
|
|
|
|
<header>
|
|
<h1><i class="ph">users</i> {{ $account->identifier }}</h1>
|
|
</header>
|
|
|
|
@include('admin.account.parts.tabs')
|
|
|
|
<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('admin.account.device.delete', [$account, $device->uuid]) }}">
|
|
{{ __('Delete') }}
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
@endforeach
|
|
@endif
|
|
</tbody>
|
|
</table>
|
|
|
|
@endsection |