You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.6 KiB
43 lines
1.6 KiB
extends ../layouts/main
|
|
block content
|
|
|
|
h1 Core Nodes
|
|
a(href="/admin/core-node/connect").uk-button.uk-button-primary Connect Core
|
|
|
|
p You can register with one or more Core nodes to exchange information with those nodes.
|
|
|
|
if Array.isArray(coreNodes) && (coreNodes.length > 0)
|
|
ul.uk-list
|
|
each node in coreNodes
|
|
.uk-tile.uk-tile-default.uk-tile-small
|
|
.uk-margin
|
|
div(uk-grid)
|
|
.uk-width-auto
|
|
+renderCell('Name', node.meta.name)
|
|
.uk-width-auto
|
|
+renderCell('Domain', node.meta.domain)
|
|
.uk-width-auto
|
|
+renderCell('Domain Key', node.meta.domainKey)
|
|
.uk-width-auto
|
|
+renderCell('Connected', moment(node.created).format('MMM DD, YYYY'))
|
|
.uk-width-auto
|
|
+renderCell('Updated', moment(node.updated).format('MMM DD, YYYY'))
|
|
.uk-width-auto
|
|
+renderCell('Version', node.meta.version)
|
|
|
|
.uk-margin
|
|
div(uk-grid)
|
|
.uk-width-auto
|
|
+renderCell('Host', node.address.host)
|
|
.uk-width-auto
|
|
+renderCell('Port', node.address.port)
|
|
.uk-width-auto
|
|
+renderCell('Connected', node.flags.isConnected)
|
|
.uk-width-auto
|
|
+renderCell('Blocked', node.flags.isBlocked)
|
|
.uk-width-auto
|
|
+renderCell('Admin', node.meta.admin)
|
|
.uk-width-auto
|
|
+renderCell('Support', node.meta.supportEmail)
|
|
else
|
|
p There are no registered core nodes.
|