web/admin: fix linting errors
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
c0cfd75a2e
commit
f9382ed32e
|
@ -32,18 +32,6 @@ export class AdminURLManager {
|
|||
return `/administration/sources/${rest}`;
|
||||
}
|
||||
|
||||
static tokens(rest: string): string {
|
||||
return `/administration/tokens/${rest}`;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export class UserURLManager {
|
||||
|
||||
static tokens(rest: string): string {
|
||||
return `/-/user/tokens/${rest}`;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export class AppURLManager {
|
||||
|
|
|
@ -100,6 +100,9 @@ export class Sidebar extends LitElement {
|
|||
PFNav,
|
||||
AKGlobal,
|
||||
css`
|
||||
:host {
|
||||
z-index: 100;
|
||||
}
|
||||
.pf-c-nav__link.pf-m-current::after,
|
||||
.pf-c-nav__link.pf-m-current:hover::after,
|
||||
.pf-c-nav__item.pf-m-current:not(.pf-m-expanded) .pf-c-nav__link::after {
|
||||
|
|
|
@ -4,7 +4,6 @@ import { customElement, property } from "lit-element";
|
|||
import { html, TemplateResult } from "lit-html";
|
||||
import { DEFAULT_CONFIG } from "../../api/Config";
|
||||
import { Form } from "../../elements/forms/Form";
|
||||
import { ifDefined } from "lit-html/directives/if-defined";
|
||||
import "../../elements/forms/HorizontalFormElement";
|
||||
import "../../elements/CodeMirror";
|
||||
import YAML from "yaml";
|
||||
|
@ -42,7 +41,7 @@ export class InvitationForm extends Form<Invitation> {
|
|||
label=${gettext("Expires")}
|
||||
?required=${true}
|
||||
name="expires">
|
||||
<input type="date" value="${ifDefined(this.invitation?.expires)}" class="pf-c-form-control" required>
|
||||
<input type="date" class="pf-c-form-control" required>
|
||||
</ak-form-element-horizontal>
|
||||
<ak-form-element-horizontal
|
||||
label=${gettext("Attributes")}
|
||||
|
|
|
@ -12,7 +12,6 @@ import { Table, TableColumn } from "../../../elements/table/Table";
|
|||
import { PAGE_SIZE } from "../../../constants";
|
||||
import { CoreApi, Token } from "authentik-api";
|
||||
import { DEFAULT_CONFIG } from "../../../api/Config";
|
||||
import { AdminURLManager } from "../../../api/legacy";
|
||||
import "./UserTokenForm";
|
||||
|
||||
@customElement("ak-user-token-list")
|
||||
|
|
Reference in New Issue