mirror of
https://github.com/iv-org/invidious-redirect.git
synced 2024-12-24 15:19:29 -05:00
Make changes as per review comments
This commit is contained in:
parent
aa75d446a4
commit
ab32cb6c07
@ -37,12 +37,13 @@ html(lang="en")
|
||||
table
|
||||
thead
|
||||
tr
|
||||
th(scope="col") Region
|
||||
th(scope="col") Domain
|
||||
th(scope="col") Health
|
||||
th(scope="col") Action
|
||||
tbody#instances-tbody
|
||||
tr.loading
|
||||
td(colspan="3" data-loading-message="Loading instances...").loading-td Trying to run scripts...
|
||||
td(colspan="4" data-loading-message="Loading instances...").loading-td Trying to run scripts...
|
||||
|
||||
noscript
|
||||
.instances-list
|
||||
@ -67,7 +68,7 @@ html(lang="en")
|
||||
]
|
||||
for instance in instances
|
||||
li
|
||||
a(href=`https://${instance["url"]}`)= instance["url"]
|
||||
span= '(' + instance["flag"] + ')'
|
||||
= `instance.flag `
|
||||
a(href=`https://${instance.url}`)= instance.url
|
||||
|
||||
include footer.pug
|
||||
|
@ -65,6 +65,7 @@
|
||||
const health = entry.healthKnown ? entry.health.toFixed(0) : "(unknown)"
|
||||
q("#instances-tbody").appendChild(
|
||||
createElement("tr", {}, [
|
||||
createElement("td", {textContent: `${entry.details.flag} ${entry.details.region}`}),
|
||||
createElement("td", {textContent: entry.name}),
|
||||
createElement("td", {className: "column-center "+healthUnknown, textContent: health}),
|
||||
createElement("td", {className: "column-center"}, [
|
||||
|
Loading…
Reference in New Issue
Block a user