flexisip-account-manager/flexiapi/resources/views/account/devices/index.blade.php
Timothée Jaussoin 3da2a8fdd6 Fix #50 upgrade the code to fit with the new object format
Fix a fatal error in the view
2022-11-03 10:39:11 +01:00

35 lines
No EOL
878 B
PHP

@extends('layouts.account')
@section('breadcrumb')
<li class="breadcrumb-item active" aria-current="page">Devices</li>
@endsection
@section('content')
<table class="table table-responsive-md">
<thead>
<tr>
<th scope="col">User Agent</th>
<th scope="col">Expires At</th>
<th scope="col"></th>
</tr>
</thead>
<tbody>
@foreach ($devices as $device)
<tr>
<td>{{ $device->user_agent }}</td>
<td>{{ $device->expires_at }}</td>
<td>
<a type="button"
class="btn btn-danger"
href="{{ route('account.device.delete', $device->uuid) }}">
Delete
</a>
</td>
</tr>
@endforeach
</tbody>
</table>
@endsection