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.
24 lines
728 B
24 lines
728 B
extends ../layout/main
|
|
block view-content
|
|
|
|
section.uk-section.uk-section-default.uk-section-small
|
|
.uk-container
|
|
|
|
.uk-margin
|
|
div(uk-grid)
|
|
.uk-width-expand
|
|
h1 Clients
|
|
.uk-width-auto
|
|
a(href="/client/create").uk-button.uk-button-default.uk-border-rounded Create Client
|
|
|
|
.uk-margin
|
|
if Array.isArray(clients) && (clients.length > 0)
|
|
ul.uk-list.uk-list-divider
|
|
each client in clients
|
|
li
|
|
a(href=`/client/${client._id}`).uk-link-reset.uk-display-block
|
|
.uk-text-lead= client.name
|
|
div= client.description || 'No description'
|
|
|
|
else
|
|
div There are no clients
|