Update
ci/woodpecker/push/woodpecker Pipeline was successful
Podrobnosti
ci/woodpecker/push/woodpecker Pipeline was successful
Podrobnosti
This commit is contained in:
rodič
4c8ed34894
revize
308f533935
|
@ -66,7 +66,7 @@
|
|||
const serverCols = [
|
||||
{ title: '', key: s => `<span class="font-bold">${s.name}</span>` },
|
||||
{ title: 'Hostname', key: (s) => `<a href="https://${s.host}" class="underline hover:no-underline">${s.host}</a>` },
|
||||
{ title: 'Status', key: (s) => `<a href="https://status.gwei.cz/dashboard/${s.monitor}" target="_blank"><img src="https://status.gwei.cz/api/badge/${s.monitor}/status?style=flat-square" /></a>` },
|
||||
{ title: '', key: (s) => `<a href="https://status.gwei.cz/dashboard/${s.monitor}" target="_blank"><img src="https://status.gwei.cz/api/badge/${s.monitor}/status?style=flat-square" /></a>` },
|
||||
{ title: 'Uptime', key: s => formatDistanceToNow(new Date(s.uptime)) },
|
||||
{ title: 'OS', key: 'system' },
|
||||
{ title: 'Provider', key: 'provider' },
|
||||
|
@ -74,10 +74,10 @@
|
|||
]
|
||||
|
||||
const cols = [
|
||||
{ title: '', key: s => `${s.name} (<a href="${gitUrl(s.repo)}" target="_blank" class="git-link underline hover:no-underline">git</a>)` },
|
||||
{ title: '', key: s => `<b class="font-bold">${s.name}</b> [<a href="${gitUrl(s.repo)}" target="_blank" class="git-link underline hover:no-underline">git</a>]` },
|
||||
{ title: 'Server', key: s => `<span class="text-xs">${s.server}</span>` },
|
||||
{ title: 'Endpoint', key: (s) => s.url ? `<a href="${s.url}" class="underline hover:no-underline">${s.url.replace(/^https?:\/\//, '')}</a>` : '-' },
|
||||
{ title: 'Status', key: (s) => `<a href="https://status.gwei.cz/dashboard/${s.monitor}" target="_blank"><img src="https://status.gwei.cz/api/badge/${s.monitor}/status?style=flat-square" /></a>` },
|
||||
{ title: '', key: (s) => `<a href="https://status.gwei.cz/dashboard/${s.monitor}" target="_blank"><img src="https://status.gwei.cz/api/badge/${s.monitor}/status?style=flat-square" /></a>` },
|
||||
//{ title: 'Uptime', key: (s) => `<img src="https://status.gwei.cz/api/badge/${s.monitor}/uptime/24?style=flat-square" />` },
|
||||
{ title: 'Version', key: (s) => s.versions ? renderVersion(s.versions.local, s.versions.latest) : '<span class="text-gray-200">-</span>' },
|
||||
{ title: 'Latest version', key: (s) => s.versions ? (`<a href="${gitUrl(s.repo, (s.version_conf && s.version_conf.to.strategy === 'github_tags' ? 'tags' : 'releases'))}" target="_blank"><span class="text-gray-400">${s.versions.latest}</span></a>` || 'n/a') : '' },
|
||||
|
|
Načítá se…
Odkázat v novém úkolu