Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

52 lines
1.5 KiB
PHP
Raw Permalink Normal View History

2019-09-05 04:12:48 +02:00
@extends('layouts.librenmsv1')
@section('title', __('Authlog'))
@section('content')
<div class="container-fluid">
2020-07-24 06:13:00 +02:00
<x-panel id="manage-authlog-panel">
<x-slot name="title">
<i class="fa fa-user-circle-o fa-fw fa-lg" aria-hidden="true"></i> {{ __('Authlog') }}
2020-07-24 06:13:00 +02:00
</x-slot>
<div class="table-responsive">
<table id="authlog" class="table table-hover table-condensed table-striped" style="display: none;">
<thead>
<tr>
<th data-column-id='timestamp'>{{ __('Timestamp') }}</th>
<th data-column-id='user'>{{ __('User') }}</th>
<th data-column-id='ip'>{{ __('IP Address') }}</th>
<th data-column-id='authres'>{{ __('Result') }}</th>
2020-07-24 06:13:00 +02:00
</tr>
</thead>
<tbody id="authlog_rows">
@foreach($authlog as $log)
2019-09-05 04:12:48 +02:00
<tr>
2020-07-24 06:13:00 +02:00
<td>{{ $log->datetime }}</td>
<td>{{ $log->user }}</td>
<td>{{ $log->address }}</td>
<td>{{ $log->result }}</td>
2019-09-05 04:12:48 +02:00
</tr>
2020-07-24 06:13:00 +02:00
@endforeach
</tbody>
</table>
2019-09-05 04:12:48 +02:00
</div>
2020-07-24 06:13:00 +02:00
</x-panel>
2019-09-05 04:12:48 +02:00
@endsection
@section('scripts')
<script>
var authlog_grid = $("#authlog");
authlog_grid.bootgrid();
authlog_grid.css('display', 'table'); // done loading, show
</script>
@endsection
@section('css')
<style>
#manage-authlog-panel .panel-title { font-size: 18px; }
</style>
@endsection