mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-01-17 10:08:05 +00:00
56 lines
No EOL
1.6 KiB
PHP
56 lines
No EOL
1.6 KiB
PHP
@extends('layouts.main')
|
|
|
|
@section('breadcrumb')
|
|
<li class="breadcrumb-item">
|
|
<a href="{{ route('admin.account.index') }}">Accounts</a>
|
|
</li>
|
|
<li class="breadcrumb-item">
|
|
<a href="{{ route('admin.account.edit', $account) }}">{{ $account->identifier }}</a>
|
|
</li>
|
|
<li class="breadcrumb-item active" aria-current="page">Devices</li>
|
|
@endsection
|
|
|
|
@section('content')
|
|
|
|
<header>
|
|
<h1><i class="material-icons-outlined">people</i> {{ $account->identifier }}</h1>
|
|
<a href="{{ route('admin.account.edit', $account->id) }}" class="btn btn-secondary oppose">Cancel</a>
|
|
</header>
|
|
|
|
@include('parts.tabs', [
|
|
'items' => [
|
|
route('admin.account.edit', $account->id) => 'Information',
|
|
route('admin.account.device.index', $account->id) => 'Devices',
|
|
route('admin.account.statistics.show', $account->id) => 'Statistics',
|
|
],
|
|
])
|
|
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th>User Agent</th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@if ($devices->isEmpty())
|
|
<tr class="empty">
|
|
<td colspan="3">No Devices</td>
|
|
</tr>
|
|
@endif
|
|
@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
|
|
</tbody>
|
|
</table>
|
|
|
|
@endsection |