Theme capsules more uniformly

This commit is contained in:
2026-03-03 17:58:22 +00:00
parent 9646931181
commit 8e0be6ca89
3 changed files with 16 additions and 17 deletions

View File

@@ -12,7 +12,7 @@
<article class="box">
<div class="is-flex is-justify-content-space-between is-align-items-center" style="gap: 0.5rem; margin-bottom: 0.6rem;">
<h2 class="title is-6" style="margin: 0;">Projects</h2>
<span class="tag task-stat-tag">{{ projects|length }}</span>
<span class="tag task-ui-badge">{{ projects|length }}</span>
</div>
<p class="help" style="margin-bottom: 0.45rem;">Create the project first, then map linked identifiers below in one click.</p>
<form method="post" style="margin-bottom: 0.75rem;">
@@ -73,7 +73,7 @@
<td class="has-text-right">
{% if selected_project %}
{% if row.mapped %}
<span class="tag task-stat-tag">Linked</span>
<span class="tag task-ui-badge">Linked</span>
{% else %}
<form method="post">
{% csrf_token %}
@@ -111,8 +111,8 @@
<a href="{% url 'tasks_project' project_id=project.id %}">{{ project.name }}</a>
</td>
<td>
<span class="tag task-stat-tag">{{ project.task_count }} task{{ project.task_count|pluralize }}</span>
<span class="tag task-stat-tag">{{ project.epic_count }} epic{{ project.epic_count|pluralize }}</span>
<span class="tag task-ui-badge">{{ project.task_count }} task{{ project.task_count|pluralize }}</span>
<span class="tag task-ui-badge">{{ project.epic_count }} epic{{ project.epic_count|pluralize }}</span>
</td>
<td class="has-text-right">
<form method="post">
@@ -160,15 +160,4 @@
</div>
</div>
</section>
<style>
.task-stat-tag {
background: #f5f5f5;
border: 1px solid #dbdbdb;
color: #1f1f1f !important;
font-size: 0.75rem;
line-height: 1.5;
padding: 0.25em 0.75em;
font-weight: 500;
}
</style>
{% endblock %}