Skip to content

Commit

Permalink
status: fix column width
Browse files Browse the repository at this point in the history
  • Loading branch information
pulsejet committed May 13, 2024
1 parent 0d30472 commit cf0070a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion framework/ndn-testbed-status/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,11 @@
warning: getFromNow(router.status?.timestamp ?? 0) < -1800,
}">{{ getFromNowStr(router.status?.timestamp, 'seconds') }}</td>
<td :class="{
forceshort: true,
warning: (router.status?.tls?.expiry ?? -1) < 0,
okay: getFromNow(router.status?.tls?.expiry ?? -1) > 7 * 86400,
}">{{ getFromNowStr(router.status?.tls?.expiry, 'days') || router.status?.tls?.error }}</td>
}" :title="router.status?.tls?.error ?? ''"
>{{ getFromNowStr(router.status?.tls?.expiry, 'days') || router.status?.tls?.error }}</td>
<td :class="{
okay: !!router.status?.['ws-tls'],
warning: !router.status?.['ws-tls'],
Expand Down Expand Up @@ -255,6 +257,9 @@ td.warning {
td.blue {
background-color: #aaaaff;
}
td.forceshort {
max-width: 80px;
}
a {
color: blue;
Expand Down

0 comments on commit cf0070a

Please sign in to comment.