web: better label table actions
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
		| @ -29,7 +29,7 @@ export class UserOAuthCodeList extends Table<ExpiringBaseGrantModel> { | ||||
|             new TableColumn(t`Provider`, "provider"), | ||||
|             new TableColumn(t`Expires`, "expires"), | ||||
|             new TableColumn(t`Scopes`, "scope"), | ||||
|             new TableColumn(""), | ||||
|             new TableColumn("Actions"), | ||||
|         ]; | ||||
|     } | ||||
|  | ||||
|  | ||||
| @ -37,7 +37,7 @@ export class UserOAuthRefreshList extends Table<RefreshTokenModel> { | ||||
|             new TableColumn(t`Revoked?`, "revoked"), | ||||
|             new TableColumn(t`Expires`, "expires"), | ||||
|             new TableColumn(t`Scopes`, "scope"), | ||||
|             new TableColumn(""), | ||||
|             new TableColumn("Actions"), | ||||
|         ]; | ||||
|     } | ||||
|  | ||||
|  | ||||
| @ -279,6 +279,10 @@ export abstract class Table<T> extends LitElement { | ||||
|         </button>`; | ||||
|     } | ||||
|  | ||||
|     renderToolbarSelected(): TemplateResult { | ||||
|         return html``; | ||||
|     } | ||||
|  | ||||
|     renderToolbarAfter(): TemplateResult { | ||||
|         return html``; | ||||
|     } | ||||
| @ -322,7 +326,7 @@ export abstract class Table<T> extends LitElement { | ||||
|                 : html``} | ||||
|             <div class="pf-c-toolbar"> | ||||
|                 <div class="pf-c-toolbar__content"> | ||||
|                     ${this.renderSearch()} | ||||
|                     ${this.renderToolbarSelected()}   ${this.renderSearch()} | ||||
|                     <div class="pf-c-toolbar__bulk-select">${this.renderToolbar()}</div> | ||||
|                     ${this.renderToolbarAfter()} | ||||
|                     <ak-table-pagination | ||||
|  | ||||
| @ -30,7 +30,7 @@ export class AuthenticatedSessionList extends Table<AuthenticatedSession> { | ||||
|             new TableColumn(t`Browser`, "user_agent"), | ||||
|             new TableColumn(t`Device`, "user_agent"), | ||||
|             new TableColumn(t`Expires`, "expires"), | ||||
|             new TableColumn(""), | ||||
|             new TableColumn("Actions"), | ||||
|         ]; | ||||
|     } | ||||
|  | ||||
|  | ||||
| @ -28,7 +28,7 @@ export class UserConsentList extends Table<UserConsent> { | ||||
|         return [ | ||||
|             new TableColumn(t`Application`, "application"), | ||||
|             new TableColumn(t`Expires`, "expires"), | ||||
|             new TableColumn(""), | ||||
|             new TableColumn("Actions"), | ||||
|         ]; | ||||
|     } | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Jens Langhammer
					Jens Langhammer