mirror of
https://github.com/FJurmanovic/wallet-web.git
synced 2026-02-06 06:08:10 +00:00
added page titles
This commit is contained in:
@@ -9,7 +9,9 @@ class HistoryPageElement extends BasePageElement {
|
||||
private transactionsService: TransactionsService;
|
||||
@target pagination: AppPaginationElement;
|
||||
constructor() {
|
||||
super();
|
||||
super({
|
||||
title: "Transaction History",
|
||||
});
|
||||
}
|
||||
|
||||
elementConnected = (): void => {
|
||||
|
||||
@@ -8,7 +8,9 @@ import { BasePageElement } from "common/";
|
||||
class HomePageElement extends BasePageElement {
|
||||
private pingService: PingService;
|
||||
constructor() {
|
||||
super();
|
||||
super({
|
||||
title: "Home",
|
||||
});
|
||||
}
|
||||
|
||||
elementConnected = (): void => {
|
||||
|
||||
@@ -11,7 +11,9 @@ class LoginPageElement extends BasePageElement {
|
||||
@target appForm: AppFormElement;
|
||||
authService: AuthService;
|
||||
constructor() {
|
||||
super();
|
||||
super({
|
||||
title: "Login",
|
||||
});
|
||||
}
|
||||
elementConnected = (): void => {
|
||||
this.authService = new AuthService(this.appMain.appService);
|
||||
|
||||
@@ -6,7 +6,9 @@ import { BasePageElement } from "common/";
|
||||
class LogoutPageElement extends BasePageElement {
|
||||
authService: AuthService;
|
||||
constructor() {
|
||||
super();
|
||||
super({
|
||||
title: "Logout",
|
||||
});
|
||||
}
|
||||
elementConnected = (): void => {
|
||||
this.authService = new AuthService(this.appMain.appService);
|
||||
|
||||
@@ -5,7 +5,9 @@ import { BasePageElement } from "common/";
|
||||
@controller
|
||||
class NotFoundElement extends BasePageElement {
|
||||
constructor() {
|
||||
super();
|
||||
super({
|
||||
title: "404 - Not Found",
|
||||
});
|
||||
}
|
||||
elementConnected = (): void => {
|
||||
this.update();
|
||||
|
||||
@@ -9,7 +9,9 @@ class RegisterPageElement extends BasePageElement {
|
||||
@targets inputs: Array<InputFieldElement>;
|
||||
authService: AuthService;
|
||||
constructor() {
|
||||
super();
|
||||
super({
|
||||
title: "Register",
|
||||
});
|
||||
}
|
||||
elementConnected = (): void => {
|
||||
this.authService = new AuthService(this.appMain.appService);
|
||||
|
||||
@@ -12,7 +12,9 @@ class WalletCreateElement extends BasePageElement {
|
||||
authService: AuthService;
|
||||
errorMessage: string;
|
||||
constructor() {
|
||||
super();
|
||||
super({
|
||||
title: "New Wallet",
|
||||
});
|
||||
}
|
||||
elementConnected = (): void => {
|
||||
this.walletService = new WalletService(this.appMain?.appService);
|
||||
|
||||
@@ -12,7 +12,9 @@ class WalletListElement extends BasePageElement {
|
||||
authService: AuthService;
|
||||
errorMessage: string;
|
||||
constructor() {
|
||||
super();
|
||||
super({
|
||||
title: "Wallet List",
|
||||
});
|
||||
}
|
||||
elementConnected = (): void => {
|
||||
this.walletService = new WalletService(this.appMain?.appService);
|
||||
|
||||
Reference in New Issue
Block a user