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.

26 lines
959 B

extends ../layouts/main
block content
if networkPolicy === 'closed'
h1 Closed Core
div #{core.meta.name} is a closed Core that is not accepting new connections at this time.
else if error
p= message
pre= JSON.stringify(error, null, 2)
else
case txConnect.response.status
when 'connected'
h1 Core Connect Successful
div #{site.name} is now connected to #{core.meta.name}.
when 'queued'
h1 Core Connect Queued
div #{core.meta.name} is a controlled Core, and must manually approve or reject your request to join their community. This status will be indicated on the Core Nodes dashboard.
when 'rejected'
h1 Core Connect Rejected
div Your request to join the #{core.meta.name} community has been rejected.
when 'failed'
h1 Core Connect Failed
div= txConnect.response.message
h2 Raw Response
pre= JSON.stringify(txConnect.response, null, 2)