You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by ar...@apache.org on 2026/06/02 10:47:45 UTC
(tooling-trusted-releases) 01/03: Normalize the display of the phase
This is an automated email from the ASF dual-hosted git repository.
alitheg pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git
commit 69ae5c3fe62bcf2f4358e60bbe985f9b9f2ba96e
Author: Dave Fisher <da...@comcast.net>
AuthorDate: Fri May 29 13:27:34 2026 -0700
Normalize the display of the phase
---
atr/templates/check-selected.html | 34 +++++++++++++--------
atr/templates/download-all.html | 52 ++++++++++++++++++++-------------
atr/templates/report-selected-path.html | 34 +++++++++++++--------
3 files changed, 76 insertions(+), 44 deletions(-)
diff --git a/atr/templates/check-selected.html b/atr/templates/check-selected.html
index ca6fb8c8..b4d94484 100644
--- a/atr/templates/check-selected.html
+++ b/atr/templates/check-selected.html
@@ -35,21 +35,31 @@
{% set phase = release.phase.value %}
<p class="d-flex justify-content-between align-items-center">
<a href="{{ as_url(get.root.index) }}" class="atr-back-link">← Back to Select a release</a>
- <span class="atr-phase-nav">
+ <div class="card-body text-center d-flex flex-column justify-content-center float-end">
{% if phase == "release_candidate_draft" %}
- <strong class="atr-phase-one atr-phase-symbol">①</strong>
- <span class="atr-phase-one atr-phase-label">COMPOSE</span>
- <span class="atr-phase-arrow">→</span>
- <span class="atr-phase-symbol-other">②</span>
+ <div class="atr-phase-themed mb-2">
+ <strong class="atr-phase-one atr-phase-symbol">①</strong>
+ <span class="atr-phase-arrow">→</span>
+ <span class="atr-phase-symbol-other">②</span>
+ <span class="atr-phase-arrow">→</span>
+ <span class="atr-phase-symbol-other">③</span>
+ </div>
+ <div class="atr-phase-themed">
+ <span class="atr-phase-one atr-phase-label">Compose</span>
+ </div>
{% else %}
- <span class="atr-phase-symbol-other">①</span>
- <span class="atr-phase-arrow">→</span>
- <strong class="atr-phase-two atr-phase-symbol">②</strong>
- <span class="atr-phase-two atr-phase-label">VOTE</span>
+ <div class="atr-phase-themed mb-2">
+ <span class="atr-phase-symbol-other">①</span>
+ <span class="atr-phase-arrow">→</span>
+ <strong class="atr-phase-two atr-phase-symbol">②</strong>
+ <span class="atr-phase-arrow">→</span>
+ <span class="atr-phase-symbol-other">③</span>
+ </div>
+ <div class="atr-phase-themed">
+ <span class="atr-phase-two atr-phase-label">Vote</span>
+ </div>
{% endif %}
- <span class="atr-phase-arrow">→</span>
- <span class="atr-phase-symbol-other">③</span>
- </span>
+ </div>
</p>
{% if phase == "release_candidate_draft" %}
diff --git a/atr/templates/download-all.html b/atr/templates/download-all.html
index 1c20b629..e9cbd7a4 100644
--- a/atr/templates/download-all.html
+++ b/atr/templates/download-all.html
@@ -9,30 +9,42 @@
<p class="d-flex justify-content-between align-items-center">
<a href="{{ back_url }}" class="atr-back-link">← Back to {{ phase|replace('_', ' ') |title }}</a>
{% if phase != "release" %}
- <span class="atr-phase-nav">
+ <div class="card-body text-center d-flex flex-column justify-content-center float-end">
{% if phase == "release_candidate_draft" %}
- <strong class="atr-phase-one atr-phase-symbol">①</strong>
- <span class="atr-phase-one atr-phase-label">COMPOSE</span>
- <span class="atr-phase-arrow">→</span>
- <span class="atr-phase-symbol-other">②</span>
- <span class="atr-phase-arrow">→</span>
- <span class="atr-phase-symbol-other">③</span>
+ <div class="atr-phase-themed mb-2">
+ <strong class="atr-phase-one atr-phase-symbol">①</strong>
+ <span class="atr-phase-arrow">→</span>
+ <span class="atr-phase-symbol-other">②</span>
+ <span class="atr-phase-arrow">→</span>
+ <span class="atr-phase-symbol-other">③</span>
+ </div>
+ <div class="atr-phase-themed">
+ <span class="atr-phase-one atr-phase-label">Compose</span>
+ </div>
{% elif phase == "release_candidate" %}
- <span class="atr-phase-symbol-other">①</span>
- <span class="atr-phase-arrow">→</span>
- <strong class="atr-phase-two atr-phase-symbol">②</strong>
- <span class="atr-phase-two atr-phase-label">VOTE</span>
- <span class="atr-phase-arrow">→</span>
- <span class="atr-phase-symbol-other">③</span>
+ <div class="atr-phase-themed mb-2">
+ <span class="atr-phase-symbol-other">①</span>
+ <span class="atr-phase-arrow">→</span>
+ <strong class="atr-phase-two atr-phase-symbol">②</strong>
+ <span class="atr-phase-arrow">→</span>
+ <span class="atr-phase-symbol-other">③</span>
+ </div>
+ <div class="atr-phase-themed">
+ <span class="atr-phase-two atr-phase-label">Vote</span>
+ </div>
{% elif phase == "release_preview" %}
- <span class="atr-phase-symbol-other">①</span>
- <span class="atr-phase-arrow">→</span>
- <span class="atr-phase-symbol-other">②</span>
- <span class="atr-phase-arrow">→</span>
- <strong class="atr-phase-three atr-phase-symbol">③</strong>
- <span class="atr-phase-three atr-phase-label">FINISH</span>
+ <div class="atr-phase-themed mb-2">
+ <span class="atr-phase-symbol-other">①</span>
+ <span class="atr-phase-arrow">→</span>
+ <strong class="atr-phase-symbol-other">②</span>
+ <span class="atr-phase-arrow">→</span>
+ <strong class="atr-phase-three atr-phase-symbol">③</strong>
+ </div>
+ <div class="atr-phase-themed">
+ <span class="atr-phase-three atr-phase-label">Finish</span>
+ </div>
{% endif %}
- </span>
+ </div>
{% endif %}
</p>
diff --git a/atr/templates/report-selected-path.html b/atr/templates/report-selected-path.html
index 3d6b337d..0f3f4d3d 100644
--- a/atr/templates/report-selected-path.html
+++ b/atr/templates/report-selected-path.html
@@ -27,21 +27,31 @@
<a href="{{ as_url(get.vote.selected, project_key=release.project.key, version_key=release.version) }}"
class="atr-back-link">← Back to Vote on {{ release.project.short_display_name }} {{ release.version }}</a>
{% endif %}
- <span class="atr-phase-nav">
+ <div class="card-body text-center d-flex flex-column justify-content-center float-end">
{% if phase == "release_candidate_draft" %}
- <strong class="atr-phase-one atr-phase-symbol">①</strong>
- <span class="atr-phase-one atr-phase-label">COMPOSE</span>
- <span class="atr-phase-arrow">→</span>
- <span class="atr-phase-symbol-other">②</span>
+ <div class="atr-phase-themed mb-2">
+ <strong class="atr-phase-one atr-phase-symbol">①</strong>
+ <span class="atr-phase-arrow">→</span>
+ <span class="atr-phase-symbol-other">②</span>
+ <span class="atr-phase-arrow">→</span>
+ <span class="atr-phase-symbol-other">③</span>
+ </div>
+ <div class="atr-phase-themed">
+ <span class="atr-phase-one atr-phase-label">Compose</span>
+ </div>
{% else %}
- <span class="atr-phase-symbol-other">①</span>
- <span class="atr-phase-arrow">→</span>
- <strong class="atr-phase-two atr-phase-symbol">②</strong>
- <span class="atr-phase-two atr-phase-label">VOTE</span>
+ <div class="atr-phase-themed mb-2">
+ <span class="atr-phase-symbol-other">①</span>
+ <span class="atr-phase-arrow">→</span>
+ <strong class="atr-phase-two atr-phase-symbol">②</strong>
+ <span class="atr-phase-arrow">→</span>
+ <span class="atr-phase-symbol-other">③</span>
+ </div>
+ <div class="atr-phase-themed">
+ <span class="atr-phase-two atr-phase-label">Vote</span>
+ </div>
{% endif %}
- <span class="atr-phase-arrow">→</span>
- <span class="atr-phase-symbol-other">③</span>
- </span>
+ </div>
</p>
<h1>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org