Layout v2 template fixes: style blocks and heading levels
- inbox.html, admin_all_mail.html: move <style> block into {% block head %}
(styles outside Jinja blocks are silently dropped in template inheritance)
- feedback.html, feedback_detail.html, feedback_new.html, user_settings.html:
replace <h1 class="h4"> with <h2> to match app-wide heading convention
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
96e4e8c143
commit
5163ca7b4a
@ -1,14 +1,14 @@
|
|||||||
{% extends "layout/base.html" %}
|
{% extends "layout/base.html" %}
|
||||||
|
|
||||||
|
{% block head %}
|
||||||
<style>
|
<style>
|
||||||
.modal-xxl { max-width: 98vw; }
|
.modal-xxl { max-width: 98vw; }
|
||||||
@media (min-width: 1400px) { .modal-xxl { max-width: 1400px; } }
|
@media (min-width: 1400px) { .modal-xxl { max-width: 1400px; } }
|
||||||
|
|
||||||
#msg_body_container_iframe { height: 55vh; }
|
#msg_body_container_iframe { height: 55vh; }
|
||||||
#msg_objects_container { max-height: 25vh; overflow: auto; }
|
#msg_objects_container { max-height: 25vh; overflow: auto; }
|
||||||
|
|
||||||
.filter-card .form-label { font-size: 0.85rem; }
|
.filter-card .form-label { font-size: 0.85rem; }
|
||||||
</style>
|
</style>
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
{# Pager macro must be defined before it is used #}
|
{# Pager macro must be defined before it is used #}
|
||||||
{% macro pager(position, page, total_pages, has_prev, has_next, filter_params) -%}
|
{% macro pager(position, page, total_pages, has_prev, has_next, filter_params) -%}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="d-flex justify-content-between align-items-center mb-3">
|
<div class="d-flex justify-content-between align-items-center mb-3">
|
||||||
<h1 class="h4 mb-0">Feedback</h1>
|
<h2 class="mb-0">Feedback</h2>
|
||||||
<a class="btn btn-primary" href="{{ url_for('main.feedback_new') }}">New</a>
|
<a class="btn btn-primary" href="{{ url_for('main.feedback_new') }}">New</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="d-flex justify-content-between align-items-center mb-3">
|
<div class="d-flex justify-content-between align-items-center mb-3">
|
||||||
<div>
|
<div>
|
||||||
<h1 class="h4 mb-1">{{ item.title }}</h1>
|
<h2 class="mb-1">{{ item.title }}</h2>
|
||||||
<div class="text-muted" style="font-size: 0.9rem;">
|
<div class="text-muted" style="font-size: 0.9rem;">
|
||||||
{% if item.item_type == 'bug' %}
|
{% if item.item_type == 'bug' %}
|
||||||
<span class="badge text-bg-danger">Bug</span>
|
<span class="badge text-bg-danger">Bug</span>
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="d-flex justify-content-between align-items-center mb-3">
|
<div class="d-flex justify-content-between align-items-center mb-3">
|
||||||
<h1 class="h4 mb-0">New Feedback</h1>
|
<h2 class="mb-0">New Feedback</h2>
|
||||||
<a class="btn btn-outline-secondary" href="{{ url_for('main.feedback_page') }}">Back</a>
|
<a class="btn btn-outline-secondary" href="{{ url_for('main.feedback_page') }}">Back</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
{% extends "layout/base.html" %}
|
{% extends "layout/base.html" %}
|
||||||
|
|
||||||
|
{% block head %}
|
||||||
<style>
|
<style>
|
||||||
/* Inbox popup: wider + internal scroll areas */
|
|
||||||
.modal-xxl { max-width: 98vw; }
|
.modal-xxl { max-width: 98vw; }
|
||||||
@media (min-width: 1400px) { .modal-xxl { max-width: 1400px; } }
|
@media (min-width: 1400px) { .modal-xxl { max-width: 1400px; } }
|
||||||
|
|
||||||
#msg_body_container_iframe { height: 55vh; }
|
#msg_body_container_iframe { height: 55vh; }
|
||||||
#msg_objects_container { max-height: 25vh; overflow: auto; }
|
#msg_objects_container { max-height: 25vh; overflow: auto; }
|
||||||
</style>
|
</style>
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
{# Pager macro must be defined before it is used #}
|
{# Pager macro must be defined before it is used #}
|
||||||
{% macro pager(position, page, total_pages, has_prev, has_next) -%}
|
{% macro pager(position, page, total_pages, has_prev, has_next) -%}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="d-flex justify-content-between align-items-center mb-3">
|
<div class="d-flex justify-content-between align-items-center mb-3">
|
||||||
<h1 class="h4 mb-0">User Settings</h1>
|
<h2 class="mb-0">User Settings</h2>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="card" style="max-width: 40rem;">
|
<div class="card" style="max-width: 40rem;">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user