|
|
@@ -330,6 +330,8 @@ public class MainLayoutTemplate : PageTemplate {
|
|
|
*/
|
|
|
public class HomePage : PageComponent {
|
|
|
|
|
|
+ public override string title { get { return "Authentication Example"; } }
|
|
|
+
|
|
|
private AuthorisationContext _auth_context = inject<AuthorisationContext>();
|
|
|
|
|
|
public const string ROUTE = "/";
|
|
|
@@ -382,6 +384,8 @@ public class HomePage : PageComponent {
|
|
|
*/
|
|
|
public class RegisterPage : PageComponent {
|
|
|
|
|
|
+ public override string title { get { return "Register"; } }
|
|
|
+
|
|
|
private UserService _user_service = inject<UserService>();
|
|
|
private HttpContext _http_context = inject<HttpContext>();
|
|
|
|
|
|
@@ -590,6 +594,8 @@ public class RegisterPage : PageComponent {
|
|
|
*/
|
|
|
public class LoginPage : PageComponent {
|
|
|
|
|
|
+ public override string title { get { return "Login"; } }
|
|
|
+
|
|
|
private ComponentFactory _factory = inject<ComponentFactory>();
|
|
|
|
|
|
public const string ROUTE = "/login";
|
|
|
@@ -648,6 +654,8 @@ public class LogoutEndpoint : Object, Endpoint {
|
|
|
*/
|
|
|
public class DashboardPage : PageComponent {
|
|
|
|
|
|
+ public override string title { get { return "Dashboard"; } }
|
|
|
+
|
|
|
private AuthorisationContext _auth_context = inject<AuthorisationContext>();
|
|
|
|
|
|
public const string ROUTE = "/dashboard";
|
|
|
@@ -787,6 +795,8 @@ public class DashboardPage : PageComponent {
|
|
|
*/
|
|
|
public class UserAdminPage : PageComponent {
|
|
|
|
|
|
+ public override string title { get { return "User Administration"; } }
|
|
|
+
|
|
|
private ComponentFactory _factory = inject<ComponentFactory>();
|
|
|
private UserManagementComponent _user_management;
|
|
|
|