Anchor tags in the details page

This commit is contained in:
Klaas van Schelven
2024-04-04 13:34:54 +02:00
parent b9e13ef52b
commit b17cfd8c43

View File

@@ -5,7 +5,7 @@
{% block tab_content %}
{% if parsed_data.top_levels %}
<h1 class="text-2xl font-bold mt-4">Deployment</h1>
<h1 class="text-2xl font-bold mt-4"><a name="deployment">Deployment</a></h1>
<div class="mb-4">
{% for key, value in parsed_data.top_levels %}
@@ -18,7 +18,7 @@
{% endif %}
{% if parsed_data.user %}
<h1 class="text-2xl font-bold mt-4">User</h1>
<h1 class="text-2xl font-bold mt-4"><a name="user">User</a></h1>
<div class="mb-4">
{% for key, value in parsed_data.user|items %}
@@ -32,7 +32,7 @@
{% if parsed_data.logentry %}
<h1 class="text-3xl mt-4">{{ parsed_data.logentry.formatted }}</h1>
<h1 class="text-3xl mt-4">{{ parsed_data.logentry.formatted }}</a></h1>
<div>this is a log entry (I intend to make this clear in some other way)</div>
{% if parsed_data.logger %}
@@ -43,7 +43,7 @@
{% if parsed_data.request %}
<h1 class="text-2xl font-bold mt-4">Request</h1>
<h1 class="text-2xl font-bold mt-4"><a name="request">Request</a></h1>
<div>
{% for key, value in parsed_data.request|items %}
@@ -91,7 +91,7 @@
{% if parsed_data.contexts.runtime %}
{# sentry gives this prime location (even a picture)... but why... it's kinda obvious what you're working in right? Maybe I could put it at the top of the modules list instead. And check if there's any other relevant info in that runtime context (RTFM) #}
<h1 class="text-2xl font-bold mt-4">Runtime</h1>
<h1 class="text-2xl font-bold mt-4"><a name="runtime">Runtime</a></h1>
<div class="mb-4">
{% for key, value in parsed_data.contexts.runtime|items %}
@@ -104,7 +104,7 @@
{% endif %}
{% if parsed_data.contexts.trace %}
<h1 class="text-2xl font-bold mt-4">Trace</h1>
<h1 class="text-2xl font-bold mt-4"><a name="trace">Trace</a></h1>
<div class="mb-4">
{% for key, value in parsed_data.contexts.trace|items %}
@@ -118,7 +118,7 @@
{% if parsed_data.modules %}
<h1 class="text-2xl font-bold mt-4">Modules</h1>
<h1 class="text-2xl font-bold mt-4"><a name="modules">Modules</a></h1>
<div class="mb-4">
{# we have observed that (emperically) the keys in most of the above are sorted in some kind of meaningful way from important to non-important #}
@@ -133,7 +133,7 @@
{% endif %}
{% if parsed_data.sdk %}
<h1 class="text-2xl font-bold mt-4">SDK</h1>
<h1 class="text-2xl font-bold mt-4"><a name="sdk">SDK</a></h1>
<div class="mb-4">
{% for key, value in parsed_data.sdk|items %}
@@ -146,7 +146,7 @@
{% endif %}
{% if parsed_data.extra %}
<h1 class="text-2xl font-bold mt-4">Extra</h1>
<h1 class="text-2xl font-bold mt-4"><a name="extra">Extra</a></h1>
<div class="mb-4">
{% for key, value in parsed_data.extra|items %}