diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts
index 93d7604..3ef2ede 100644
--- a/src/app/app-routing.module.ts
+++ b/src/app/app-routing.module.ts
@@ -14,12 +14,14 @@ import { PageModerationEntries } from './pages/moderation/entries/moderation.ent
import { PageNew } from './pages/new/new.page';
import { PageNotFound } from './pages/notfound/notfound.page';
import { PageSettings } from './pages/settings/settings.page';
-import { PageSubmission } from './pages/submission/submission.page';
import { PageTop } from './pages/top/top.page';
import { PageUnavailable } from './pages/unavailable/unavailable.page';
import { PageUser } from './pages/user/user.page';
+
import { PageUserComments } from './pages/user/usercomments/usercomments.page';
import { PageUserEntries } from './pages/user/userentries/userentries.page';
+import { PageUserPageEdit } from './pages/userpage/edit/edit.page';
+import { PageUserPage } from './pages/userpage/userpage.page';
import { UiMain } from './ui/main/main.ui';
@@ -31,12 +33,16 @@ const routes: Routes = [
{ path: 'top', component: PageTop, canActivate: [ AuthenticatedGuard ] },
{ path: 'hot', component: PageHot, canActivate: [ AuthenticatedGuard ] },
{ path: 'last', component: PageLast, canActivate: [ AuthenticatedGuard ] },
+ { path: 'p', component: PageUserPageEdit, canActivate: [ AuthenticatedGuard ] },
+ { path: 'p/:name', component: PageUserPage, canActivate: [ AuthenticatedGuard ] },
+ { path: 'p/:name/edit', component: PageUserPageEdit, canActivate: [ AuthenticatedGuard ] },
+ { path: 'p/:name/:username', component: PageUserPage, canActivate: [ AuthenticatedGuard ] },
{ path: 'moderation/comments', component: PageModerationComments, canActivate: [ AuthenticatedGuard ] },
{ path: 'moderation/entries', component: PageModerationEntries, canActivate: [ AuthenticatedGuard ] },
{ path: 'new', component: PageNew, canActivate: [ AuthenticatedGuard ] },
{ path: 'bookmarks', component: PageBookmarks, canActivate: [ AuthenticatedGuard ] },
{ path: 'settings', component: PageSettings, canActivate: [ AuthenticatedGuard ] },
- { path: 'submit', component: PageSubmission, canActivate: [ AuthenticatedGuard ] },
+ { path: 'submit', component: PageEntryEdit, canActivate: [ AuthenticatedGuard ] },
{ path: 'e/:id', component: PageEntry, canActivate: [ AuthenticatedGuard ] },
{ path: 'e/:id/edit', component: PageEntryEdit, canActivate: [ AuthenticatedGuard ] },
{ path: 'c/:id', component: PageComment, canActivate: [ AuthenticatedGuard ] },
diff --git a/src/app/app.module.ts b/src/app/app.module.ts
index aa5f40a..b19904d 100644
--- a/src/app/app.module.ts
+++ b/src/app/app.module.ts
@@ -30,7 +30,6 @@ import { PageModerationEntries } from './pages/moderation/entries/moderation.ent
import { PageNew } from './pages/new/new.page';
import { PageNotFound } from './pages/notfound/notfound.page'
import { PageSettings } from './pages/settings/settings.page';
-import { PageSubmission } from './pages/submission/submission.page';
import { PageTop } from './pages/top/top.page';
import { PageUnavailable } from './pages/unavailable/unavailable.page'
import { PageUser } from './pages/user/user.page';
@@ -50,6 +49,9 @@ import { I18nService, I18nPaginatorIntl } from './services/i18n.service';
import { ServiceWorkerModule } from '@angular/service-worker';
import { environment } from '../environments/environment';
import { UiTagsPicker } from './ui/tags/tagspicker.ui';
+import { UiUserPageMenu } from './ui/userpagemenu/userpagemenu.ui';
+import { PageUserPage } from './pages/userpage/userpage.page';
+import { PageUserPageEdit } from './pages/userpage/edit/edit.page';
export function fetchI18n(i18n: I18nService) {
@@ -100,10 +102,11 @@ export class XhrInterceptor implements HttpInterceptor {
PageNew,
PageNotFound,
PageSettings,
- PageSubmission,
PageTop,
PageUnavailable,
PageUser, PageUserComments, PageUserEntries,
+ PageUserPage,
+ PageUserPageEdit,
UiComment,
UiCommentCount,
UiCommentForm,
@@ -112,8 +115,9 @@ export class XhrInterceptor implements HttpInterceptor {
UiEntry,
UiMain,
UiPoints,
- ConfirmDialog,
- UiTagsPicker
+ UiTagsPicker,
+ UiUserPageMenu,
+ ConfirmDialog
],
imports: [
BrowserModule,
diff --git a/src/app/pages/entries/entries.page.html b/src/app/pages/entries/entries.page.html
index 53111cb..3f210c1 100644
--- a/src/app/pages/entries/entries.page.html
+++ b/src/app/pages/entries/entries.page.html
@@ -1 +1,2 @@
-