Files
firefly-iii/resources/views/debug.twig

48 lines
1.7 KiB
Twig
Raw Normal View History

2022-03-30 06:54:59 +02:00
<!DOCTYPE html>
<html lang="{{ trans('config.html_language') }}">
2020-11-08 14:16:06 +01:00
<head>
<title>{{ trans('firefly.debug_page') }}</title>
</head>
<body>
<p style="font-family:Arial, Arial, Helvetica, sans-serif;font-size:12pt;width:600px;">
{{ trans('firefly.debug_submit_instructions')|raw }}
</p>
<p style="font-family:Arial, Arial, Helvetica, sans-serif;font-size:12pt;width:600px;">
<strong>{{ trans('firefly.debug_pretty_table') }}</strong>
</p>
2023-09-03 17:38:54 +02:00
<textarea rows="30" cols="100" name="debug_info" id="debug_info"
style="font-family:Menlo, Monaco, Consolas, monospace;font-size:8pt;">
Debug information generated at {{ now }} for Firefly III version **v{{ FF_VERSION }}**.
2020-11-08 14:16:06 +01:00
2023-09-03 17:38:54 +02:00
{{ table|escape('html') }}
2020-11-08 14:16:06 +01:00
</textarea>
2021-04-18 07:28:00 +02:00
<script type="text/javascript" nonce="{{ JS_NONCE }}">
2021-04-04 17:57:46 +02:00
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>
2020-11-08 14:16:06 +01:00
<p style="font-family:Arial, Arial, Helvetica, sans-serif;font-size:12pt;width:600px;color:#a00;">
<a href="{{ route('index') }}">{{ trans('firefly.back_to_index') }}</a>
</p>
<p style="font-family:Arial, Arial, Helvetica, sans-serif;font-size:12pt;width:600px;color:#a00;">
{{ trans('firefly.debug_additional_data')|raw }}
</p>
<textarea rows="30" cols="100" name="log_info" style="font-family:Menlo, Monaco, Consolas, monospace;font-size:7pt;">
```
{{ logContent }}
```
</textarea>
<p style="font-family:Arial, Arial, Helvetica, sans-serif;font-size:12pt;width:600px;color:#a00;">
<a href="{{ route('index') }}">{{ trans('firefly.back_to_index') }}</a>
</p>
</body>
</html>