mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-05 11:27:15 +00:00
feat(dashboard): breadcrumbs that follow how you reached a page
Detail pages carry a breadcrumb bar built from a per-tab trail in sessionStorage: following a link from a page on the trail extends it, going back to one cuts it there, and opening a page directly shows its natural parents. The property 3D view's back button goes to the previous crumb, and the property page renames its crumb once its name loads. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
{% block title %}Bug Report #{{ report.id }} - DarkflameServer{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<a href="/bug_reports" class="text-decoration-none mb-3 d-inline-block">← Back to Bug Reports</a>
|
||||
<nav data-crumbs data-crumb-label="Bug Report #{{ report.id }}" aria-label="Breadcrumb"><ol class="breadcrumb mb-3"><li class="breadcrumb-item"><a href="/bug_reports">Bug Reports</a></li><li class="breadcrumb-item active" aria-current="page">Bug Report #{{ report.id }}</li></ol></nav>
|
||||
|
||||
<div class="card mb-4" id="report" data-report-id="{{ report.id }}">
|
||||
<div class="card-header d-flex justify-content-between align-items-center">
|
||||
|
||||
Reference in New Issue
Block a user