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.

41 lines
1.4 KiB

extends ../layouts/main
block content
h1 Service Node Connect Queue
if Array.isArray(connectQueue) && (connectQueue.length > 0)
table.uk-table.uk-table-small
thead
tr
th Actions
th Name
th Domain
th Key
th Received
tbody
each connectRequest in connectQueue
tr
td
button(
type="button",
data-request-id= connectRequest._id,
onclick="return dtp.adminApp.postCoreConnectResponse(event, 'approve');",
).uk-button.uk-button-default.uk-button-small.uk-border-rounded
span
i.fas.fa-check
button(
type="button",
data-request-id= connectRequest._id,
onclick="return dtp.adminApp.postCoreConnectResponse(event, 'reject');"
).uk-button.uk-button-danger.uk-button-small.uk-border-rounded
span
i.fas.fa-times
td
- var CORE_SCHEME = process.env.DTP_CORE_AUTH_SCHEME || 'https';
a(href=`${CORE_SCHEME}://${connectRequest.site.domain}/`, target="_blank")= connectRequest.site.name
td= connectRequest.site.domain
td= connectRequest.site.domainKey
td= moment(connectRequest.created).fromNow()
else
div The pending Core Connect queue is empty.