web: migrate Outpost Service Connection to web

This commit is contained in:
Jens Langhammer
2021-02-19 17:49:34 +01:00
parent 8008918d8b
commit 865f652476
11 changed files with 353 additions and 219 deletions

View File

@ -31,7 +31,7 @@ export class PolicyListPage extends TablePage<Policy> {
apiEndpoint(page: number): Promise<AKResponse<Policy>> {
return Policy.list({
ordering: this.order,
page: page,
page: page,
search: this.search || "",
});
}
@ -54,7 +54,7 @@ export class PolicyListPage extends TablePage<Policy> {
${gettext(`Assigned to ${item.bound_to} objects.`)}
</small>`:
html`<i class="pf-icon pf-icon-warning-triangle"></i>
<small>${gettext("Warning: Policy is not assigned.")}/small>`}
<small>${gettext("Warning: Policy is not assigned.")}</small>`}
</div>`,
html`${item.verbose_name}`,
html`