Update front & back
This commit is contained in:
@@ -378,7 +378,9 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
<span class="summary-title">#{build.number}</span>
|
||||
|
||||
{#if build.commits.length === 0}
|
||||
<span class="muted">Ejecución manual</span>
|
||||
<span class="muted">
|
||||
{build.trigger || 'Ejecución manual'}
|
||||
</span>
|
||||
{:else}
|
||||
<span class="summary-commit">
|
||||
{build.commits[0].commit} · {build.commits[0].author}
|
||||
@@ -401,6 +403,13 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
{#if build.trigger}
|
||||
<p class="history-row">
|
||||
<span>Disparo</span>
|
||||
<span>{build.trigger}</span>
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
<p class="history-row">
|
||||
<span>Duración</span>
|
||||
<span>{build.duration_seconds} s</span>
|
||||
@@ -408,6 +417,8 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
{#if build.status === 'failure'}
|
||||
<p class="history-message danger">Build fallida</p>
|
||||
{:else if build.status === 'running'}
|
||||
<p class="history-message running">En curso</p>
|
||||
{:else}
|
||||
<p class="history-message success">Correcto</p>
|
||||
{/if}
|
||||
|
||||
@@ -723,6 +723,11 @@ li {
|
||||
box-shadow: 0 0 8px rgba(248, 113, 113, 0.5);
|
||||
}
|
||||
|
||||
.status-dot.running {
|
||||
background: #facc15;
|
||||
box-shadow: 0 0 8px rgba(250, 204, 21, 0.5);
|
||||
}
|
||||
|
||||
.history-body {
|
||||
padding: 0.75rem 0.9rem 0.9rem;
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.05);
|
||||
@@ -758,6 +763,12 @@ li {
|
||||
color: #bbf7d0;
|
||||
}
|
||||
|
||||
.history-message.running {
|
||||
background: rgba(250, 204, 21, 0.16);
|
||||
border-color: rgba(250, 204, 21, 0.5);
|
||||
color: #fef9c3;
|
||||
}
|
||||
|
||||
.history-item[open] {
|
||||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
|
||||
}
|
||||
@@ -770,6 +781,10 @@ li {
|
||||
border-color: rgba(248, 113, 113, 0.35);
|
||||
}
|
||||
|
||||
.history-item.running {
|
||||
border-color: rgba(250, 204, 21, 0.35);
|
||||
}
|
||||
|
||||
.chip.danger {
|
||||
background: rgba(248, 113, 113, 0.2);
|
||||
color: #fecdd3;
|
||||
|
||||
Reference in New Issue
Block a user