WIP: Implement frontend

This commit is contained in:
Simon Grimme
2022-07-21 00:29:00 +02:00
parent 6b89690180
commit cc1e02a1ca
109 changed files with 22662 additions and 670 deletions
@@ -0,0 +1,15 @@
import { Icon } from '../enums/Icon';
export class DropDownMenuItem {
title: string;
icon: Icon;
action: () => void;
enabled: boolean;
public constructor(title: string, icon: Icon, action: () => void, enabled: boolean) {
this.title = title;
this.icon = icon;
this.action = action;
this.enabled = enabled;
}
}
@@ -0,0 +1,15 @@
import { Icon } from '../enums/Icon';
export class NavMenuItem {
title: string;
icon: Icon;
route: string;
enabled: boolean;
public constructor(title: string, icon: Icon, route: string, enabled: boolean) {
this.title = title;
this.icon = icon;
this.route = route;
this.enabled = enabled;
}
}