snipe-it/resources/views/settings/logins.blade.php
snipe 694166862e
Added attempted logins admin screen (#6018)
* Added attempted logins admin screen

* Smaller table spacing
2018-08-01 03:51:59 -07:00

55 lines
2.2 KiB
PHP

@extends('layouts/default')
{{-- Page title --}}
@section('title')
Attempted Logins
@parent
@stop
{{-- Page content --}}
@section('content')
<div class="row">
<div class="col-md-12">
<div class="box box-default">
<div class="box-body">
<table
data-cookie-id-table="loginReport"
data-pagination="true"
data-id-table="loginReport"
data-search="false"
data-side-pagination="server"
data-show-columns="true"
data-show-export="true"
data-show-refresh="true"
data-sort-order="desc"
data-sort-name="created_at"
id="loginReport"
data-url="{{ route('api.settings.login_attempts') }}"
data-mobile-responsive="true"
class="table table-striped snipe-table"
data-export-options='{
"fileName": "login-report-{{ date('Y-m-d') }}"}'>
<thead>
<tr>
<th class="col-sm-2" data-field="username" data-visible="true" data-sortable="true">Username</th>
<th class="col-sm-2" data-field="created_at" data-visible="true" data-sortable="true" data-formatter="dateDisplayFormatter">Login Attempt</th>
<th class="col-sm-2" data-field="user_agent" data-visible="true" data-sortable="true">User Agent</th>
<th class="col-sm-2" data-field="remote_ip" data-visible="true" data-sortable="true">IP</th>
<th class="col-sm-2" data-field="successful" data-visible="true" data-formatter="trueFalseFormatter" data-sortable="true">Success</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
</div>
@stop
@section('moar_scripts')
@include ('partials.bootstrap-table')
@stop