mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-07-10 15:53:40 -07:00
53 lines
1.5 KiB
PHP
53 lines
1.5 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="{{ trans('config.html_language') }}">
|
|
<head>
|
|
<title>{{ trans('firefly.debug_page') }}</title>
|
|
</head>
|
|
<style nonce="{{ $JS_NONCE }}">
|
|
p.default-text {font-family:Arial, Arial, Helvetica, sans-serif;font-size:12@pt;width:600px;}
|
|
p.warn-text {font-family:Arial, Arial, Helvetica, sans-serif;font-size:12pt;width:600px;color:#a00;}
|
|
textarea {font-family:Menlo, Monaco, Consolas, monospace;font-size:8pt;}
|
|
</style>
|
|
<body>
|
|
|
|
<p class="default-text">
|
|
{!! trans('firefly.debug_submit_instructions') !!}
|
|
</p>
|
|
<p class="default-text">
|
|
<strong>{{ trans('firefly.debug_pretty_table') }}</strong>
|
|
</p>
|
|
<label for="debug_info"></label>
|
|
<textarea rows="30" cols="100" name="debug_info" id="debug_info">
|
|
Debug information generated at {{ $now }} for Firefly III version **{{ !$FF_IS_DEVELOP ? 'v' : '' }}{{ $FF_VERSION }}**.
|
|
|
|
{{ $table }}
|
|
</textarea>
|
|
<script type="text/javascript" nonce="{{ $JS_NONCE }}">
|
|
var textArea = document.getElementById('debug_info');
|
|
var text = textArea.value;
|
|
var timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
text = text.replace('[BrowserTZ]', timeZone);
|
|
textArea.value = text;
|
|
</script>
|
|
|
|
<p class=default-text">
|
|
<a href="{{ route('index') }}">{{ trans('firefly.back_to_index') }}</a>
|
|
</p>
|
|
|
|
<p class="warn-text">
|
|
{!! trans('firefly.debug_additional_data') !!}
|
|
</p>
|
|
|
|
<textarea rows="30" cols="100" name="log_info">
|
|
```
|
|
{{ $logContent }}
|
|
```
|
|
</textarea>
|
|
|
|
<p class=default-text">
|
|
<a href="{{ route('index') }}">{{ trans('firefly.back_to_index') }}</a>
|
|
</p>
|
|
|
|
</body>
|
|
</html>
|