Refactor case detail into a dedicated page
This commit restructures the web interface for case details. The
previous `/web/cases/{case_id}` route, which previously showed both the
case summary and its recordings, has been split into two distinct pages:
- `/web/cases/{case_id}`: This page now displays the overall case
information, including the document if available.
- `/web/cases/{case_id}/recordings`: This new page is dedicated to
listing and displaying individual recordings within a case.
This change improves the organization and clarity of the web UI,
allowing for more focused views of case data. Additionally, the
`case_detail.html` and `document.html` templates have been removed as
their functionality is now handled by the new `case_page.html` and the
upcoming document rendering logic. The `cases.html` template has also
been removed, indicating a shift towards more granular page views.
This commit is contained in:
+1
-1
@@ -83,7 +83,7 @@ show_case() {
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "Browse: $SERVER_URL/web/"
|
||||
echo "Browse: $SERVER_URL/web/cases"
|
||||
}
|
||||
|
||||
# Record + upload for the given case, then display the case state.
|
||||
|
||||
Reference in New Issue
Block a user