|
@ -18,15 +18,30 @@ block content |
|
|
|
|
|
|
|
|
.uk-margin |
|
|
.uk-margin |
|
|
label(for="notes").uk-form-label Notes |
|
|
label(for="notes").uk-form-label Notes |
|
|
textarea(id="notes", name="notes", rows="4", placeholder="Enter client notes").uk-textarea= serviceNode.admin.notes |
|
|
textarea(id="notes", name="notes", rows="4", placeholder="Enter client notes").uk-textarea= (serviceNode.admin && serviceNode.admin.notes) ? serviceNode.admin.notes : undefined |
|
|
|
|
|
|
|
|
.uk-margin |
|
|
.uk-margin |
|
|
label(for="is-active") |
|
|
label(for="is-active") |
|
|
input(id="is-active", name="isActive", type="checkbox", checked= serviceNode.flags.isActive).uk-checkbox |
|
|
input(id="is-active", name="isActive", type="checkbox", checked= serviceNode.flags.isActive).uk-checkbox |
|
|
span.uk-margin-small-left Is Active |
|
|
span.uk-margin-small-left Is Active |
|
|
|
|
|
|
|
|
.uk-card-footer |
|
|
.uk-card-footer |
|
|
div(uk-grid).uk-grid-small |
|
|
div(uk-grid).uk-grid-small |
|
|
.uk-width-expand |
|
|
.uk-width-expand |
|
|
+renderBackButton() |
|
|
+renderBackButton() |
|
|
|
|
|
|
|
|
|
|
|
.uk-width-auto |
|
|
|
|
|
button( |
|
|
|
|
|
type="button", |
|
|
|
|
|
data-service-node-id= serviceNode._id, |
|
|
|
|
|
onclick="return dtp.adminApp.deleteServiceNode(event);" |
|
|
|
|
|
).uk-button.uk-button-danger.uk-border-rounded |
|
|
|
|
|
span |
|
|
|
|
|
i.fas.fa-trash |
|
|
|
|
|
span.uk-margin-small-left Delete |
|
|
|
|
|
|
|
|
.uk-width-auto |
|
|
.uk-width-auto |
|
|
button(type="submit").uk-button.uk-button-primary Save |
|
|
button(type="submit").uk-button.uk-button-primary.uk-border-rounded |
|
|
|
|
|
span |
|
|
|
|
|
i.fas.fa-save |
|
|
|
|
|
span.uk-margin-small-left Save |