Files
librenms-librenms/resources/views/errors/db_inconsistent.blade.php
Tony Murray bd3da058d3 Human readable database inconsistent error (#12950)
* 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
2021-06-14 13:33:59 -05:00

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