{{context}}+
{{spec-problems}}+ {% if params %} +
{{params}}+
{{cause}}+ + {% if data %} +
{{data}}+
{{trace}}+ {% endif %} + + {% if spec-problems %} +
{{spec-problems}}+
{{error.trace}}+ {% endif %} + + {% if trace %} +
{{trace}}+
diff --git a/backend/resources/error-report.tmpl b/backend/resources/error-report.tmpl index 2ff0abb1f..397b83b02 100644 --- a/backend/resources/error-report.tmpl +++ b/backend/resources/error-report.tmpl @@ -13,15 +13,40 @@ } pre { margin: 0px; + line-height: 17px; } + + main { + margin: 20px; + } + + nav { + position: fixed; + width: 100vw; + top: 0; + left: 0; + padding: 5px 20px; + display: flex; + background: #e3e3e3; + } + + nav > div { + text-transform: uppercase; + font-weight: bold; + } + + nav > div:not(:last-child) { + margin-right: 10px; + } + * { font-family: "JetBrains Mono", monospace; font-size: 12px; } .table { + margin-top: 40px; display: flex; flex-direction: column; - margin: 10px; } .table-row { @@ -34,6 +59,9 @@ font-weight: 600; width: 60px; padding: 4px; + + padding-top: 40px; + margin-top: -40px; } .table-val { @@ -57,147 +85,68 @@
-{{params}}-
{{context}}+
{{spec-problems}}+ {% if params %} +
{{params}}+
{{cause}}+ + {% if data %} +
{{data}}+
{{trace}}+ {% endif %} + + {% if spec-problems %} +
{{spec-problems}}+
{{error.trace}}+ {% endif %} + + {% if trace %} +
{{trace}}+