Skip to content

Commit

Permalink
small template fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pk910 committed Sep 2, 2023
1 parent cce7e36 commit 524cb91
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion templates/epochs/epochs.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ <h1 class="h4 mb-1 mb-md-0">
</div>

<div class="card mt-2">
<div id="header-placeholder" style="height:45px;"></div>
<div class="card-body px-0 py-3">
<div class="row">
<div class="col-sm-12 col-md-6 table-pagesize">
Expand Down
8 changes: 4 additions & 4 deletions templates/slots_filtered/slots_filtered.html
Original file line number Diff line number Diff line change
Expand Up @@ -146,16 +146,16 @@ <h1 class="h4 mb-1 mb-md-0"><i class="fas fa-cube mx-2"></i>Filtered Slots</h1>
<td>
{{ if eq $slot.Slot 0 }}
<span class="badge rounded-pill text-bg-info">Genesis</span>
{{ else if eq $slot.Status 1 }}
<span class="badge rounded-pill text-bg-success">Proposed</span>
{{ else if eq $slot.Status 2 }}
<span class="badge rounded-pill text-bg-info">Orphaned</span>
{{ else if $slot.Scheduled }}
<span class="badge rounded-pill text-bg-secondary">Scheduled</span>
{{ else if not $slot.Synchronized }}
<span class="badge rounded-pill text-bg-secondary">?</span>
{{ else if eq $slot.Status 0 }}
<span class="badge rounded-pill text-bg-warning">Missed</span>
{{ else if eq $slot.Status 1 }}
<span class="badge rounded-pill text-bg-success">Proposed</span>
{{ else if eq $slot.Status 2 }}
<span class="badge rounded-pill text-bg-info">Orphaned</span>
{{ else }}
<span class="badge rounded-pill text-bg-dark">Unknown</span>
{{ end }}
Expand Down
1 change: 0 additions & 1 deletion templates/validators/validators.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ <h1 class="h4 mb-1 mb-md-0"><i class="fas fa-table mx-2"></i> Validators Overvie
</div>

<div class="card mt-2">
<div id="header-placeholder" style="height:45px;"></div>
<div class="card-body px-0 py-3">
<div class="row">
<div class="col-sm-12 col-md-6 table-pagesize">
Expand Down

0 comments on commit 524cb91

Please sign in to comment.