22 lines
913 B
Plaintext
22 lines
913 B
Plaintext
<%#
|
|
OAuth2 clients admin list (todo §6): apps that log in *through* us (Hydra). Same building blocks as
|
|
the Roles screen, around the shell, backed by live Hydra OAuth2 clients (src/admin-clients.ts).
|
|
%><%
|
|
const nav = include("partials/nav-tree", { nodes: model.nav });
|
|
const filters = include("partials/filter-bar", model.filterBar);
|
|
const table = include("partials/data-table", model.table);
|
|
const pager = include("partials/pagination", model.pagination);
|
|
const actions = '<a class="btn btn-primary" href="/admin/clients/new"><svg class="ico ico-sm" aria-hidden="true"><use href="#i-plus"/></svg>Register client</a>';
|
|
-%>
|
|
<%- include("partials/shell", {
|
|
actions,
|
|
body: filters + table + pager,
|
|
brand: model.shell.brand,
|
|
breadcrumbs: model.shell.breadcrumbs,
|
|
csrfToken: model.shell.csrfToken,
|
|
nav,
|
|
theme: model.shell.theme,
|
|
title: model.shell.title,
|
|
user: model.shell.user,
|
|
}) %>
|