mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* Human readable database inconsistent error In case a db error causes an exception, check validate and show the db errors to the user in the webui. * only failed validations * fix style
21 lines
555 B
PHP
21 lines
555 B
PHP
@extends('layouts.error')
|
|
|
|
@section('title')
|
|
@lang('exceptions.database_inconsistent.title')
|
|
@endsection
|
|
|
|
@section('content')
|
|
<h3>@lang('exceptions.database_inconsistent.header')</h3>
|
|
|
|
<div class="message-block">
|
|
@foreach($results as $result)
|
|
<p>
|
|
<h2>{{ $result->getMessage() }}</h2>
|
|
@if($result->hasFix())
|
|
<div style="margin-left: 3em; font-size: 18px">{{ $result->getFix() }}</div>
|
|
@endif
|
|
</p>
|
|
@endforeach
|
|
</div>
|
|
@endsection
|