Files
streamline-emr/docker/streamline-src/resources/views/audit_trail/failed_login_print.blade.php
T
alec.turner a424394109 Build modified streamline images
The official image from streamline does not currently work for the arm64
platform. As a temporary measure, the source code and docker build scripts
have been lifted from the official images and are used to build locally.

Some additional modifications are made to reduce overall image size, these
are documented in docker/README.md
2024-03-10 16:17:50 -07:00

106 lines
3.6 KiB
PHP

<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" type="image/png" sizes="16x16"
href="{{ asset('uploads/streamline/color/streamline_icon-02.png') }}">
<title>{{ config('app.name', 'Failed Login - Stre@mline') }}</title>
<!-- Bootstrap Core CSS -->
<link href="{{ asset('bootstrap/css/bootstrap.min.css') }}" rel="stylesheet">
<style>
body {
font-size: 0.8em;
}
/*thead, tfoot { display: table-row-group }*/
thead {
display: table-header-group;
}
tfoot {
display: table-row-group;
}
tr {
page-break-before: always;
page-break-after: always;
page-break-inside: avoid;
}
</style>
</head>
<body>
<div class="container-fluid">
@include('layouts.header_pdf_print')
<table class="table table-bordered">
{{-- <tr>
<td><b>{{ __('patient_finance.date') }}</b></td>
<td colspan="2">{{ streamline_date_time_short($receipt_date) }}</td>
<td><b>{{ __('patient_finance.receipt_number') }}</b></td>
<td colspan="2">{{ $receipt_number }}</td>
<td><b>{{ __('family_accounts.deposit_date') }}</b></td>
<td colspan="2">{{ $new_family_deposit->deposit_date }}</td>
</tr> --}}
</table>
<table class="table table-bordered" id="receipt_table">
<thead>
<th style="width: 10px;">No.</th>
<th style="width: 150px;">Name</th>
<th style="width: 50px;">Email</th>
<th style="width: 80px;">IP Address</th>
<th style="width: 150px;">Time & Date</th>
</thead>
<tbody>
@foreach ($failed_login_data as $key => $value)
@php
$user = Streamline\Models\User::where('id', $value->user_id)->select('first_name',
'last_name')->first();
$date = Carbon\Carbon::parse($value->created_at);
@endphp
<tr>
<td>{{ ++$key }}</td>
<td>{{ $user->first_name }} {{ $user->last_name }}</td>
<td>{{ $value->email_address }}</td>
<td>{{ $value->ip_address }}</td>
<td>{{ streamline_date_time($value->created_at) }} ({{ $date->diffForHumans() }})
</td>
</tr>
@endforeach
</tbody>
</table>
{{-- <div class="row">
<div class="col">
<i style="float: left"> Printed By {{ Auth::user()->first_name }} {{ Auth::user()->last_name }}</i>
</div>
<div class="col">
<i style="float: right">Printed On: {{ Carbon\Carbon::now()->format('d-m-Y'); }}</i>
</div>
</div> --}}
<div class="row">
<div class="col">
<i style="font-size: 0.8em; float: left">&copy; {{ date('Y') }} Stre@mline</i>
</div>
<div class="col">
<i style="float: right">Printed On {{ date(" d M Y h:ia") }} By {{ auth()->user()->first_name }} {{
auth()->user()->last_name }}</i>
</div>
</div>
</div>
</body>
</html>