From 772ce8101947e18a54f2458daaddd8e118245ea6 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sat, 9 Apr 2016 13:22:33 +0200 Subject: [PATCH] Added generic user list/edit/delete/un-/lock menus (stubs only) --- .../localization/bundle_de_DE.properties | 23 +++++++++++++++++++ .../localization/bundle_en_US.properties | 16 +++++++++++++ web/WEB-INF/templates/admin/admin_menu.tpl | 12 ++++++++++ web/admin/admin_user_delete.xhtml | 20 ++++++++++++++++ web/admin/admin_user_edit.xhtml | 20 ++++++++++++++++ web/admin/admin_user_list.xhtml | 20 ++++++++++++++++ 6 files changed, 111 insertions(+) create mode 100644 web/admin/admin_user_delete.xhtml create mode 100644 web/admin/admin_user_edit.xhtml create mode 100644 web/admin/admin_user_list.xhtml diff --git a/src/java/org/mxchange/localization/bundle_de_DE.properties b/src/java/org/mxchange/localization/bundle_de_DE.properties index 492af4c7..22bac2af 100644 --- a/src/java/org/mxchange/localization/bundle_de_DE.properties +++ b/src/java/org/mxchange/localization/bundle_de_DE.properties @@ -199,3 +199,26 @@ EN_US=English (US) CONTENT_PAGE_INDEX_PARA1=Text fuer 1. Absatz. CONTENT_PAGE_INDEX_PARA2=Text fuer 2. Absatz. CONTENT_PAGE_INDEX_PARA3=Text fuer 3. Absatz. +# @TODO Fix German umlaut! +LINK_ADMIN_ADD_USER=Benutzeraccount hinzufuegen +# @TODO Fix German umlaut! +LINK_ADMIN_ADD_USER_TITLE=Hier koennen Sie einen weiteren Benutzer hinzufuegen. +LINK_ADMIN_LIST_USER=Benuzteraccounts auflisten +LINK_ADMIN_LIST_USER_TITLE=Alle bestehenden Benutzeraccounts auflisten. +LINK_ADMIN_EDIT_USER=Benuzteraccount editieren +#@TODO Please fix German umlauts! +LINK_ADMIN_EDIT_USER_TITLE=Aendern Sie hier die Accounts Ihrer Benutzer. +#@TODO Please fix German umlauts! +LINK_ADMIN_DELETE_USER=Benuzteraccount loeschen +#@TODO Please fix German umlauts! +LINK_ADMIN_DELETE_USER_TITLE=Loeschen Sie hier bestehende Benutzeraccounts. +LINK_ADMIN_UNLOCK_USER=Ent-/Sperren von Benutzeraccounts +LINK_ADMIN_UNLOCK_USER_TITLE=Sperren oder entsperren Sie hier Benutzeraccounts. +PAGE_TITLE_ADMIN_LIST_USER=Benutzeraccounts auflisten +CONTENT_TITLE_ADMIN_LIST_USER=Auflisten von Benutzeraccounts: +#@TODO Please fix German umlauts! +PAGE_TITLE_ADMIN_EDIT_USER=Benuzteraccount aendern +#@TODO Please fix German umlauts! +CONTENT_TITLE_ADMIN_EDIT_USER=Aendern von Benutzeraccounts: +PAGE_TITLE_ADMIN_UNLOCK_USER=Ent-/Sperren von Benutzeraccounts +CONTENT_TITLE_ADMIN_UNLOCK_USER=Ent-/Sperren von Benutzeraccounts: diff --git a/src/java/org/mxchange/localization/bundle_en_US.properties b/src/java/org/mxchange/localization/bundle_en_US.properties index f2e149c9..13308f31 100644 --- a/src/java/org/mxchange/localization/bundle_en_US.properties +++ b/src/java/org/mxchange/localization/bundle_en_US.properties @@ -199,3 +199,19 @@ EN_US=English (US) CONTENT_PAGE_INDEX_PARA1=Text for 1st paragraph. CONTENT_PAGE_INDEX_PARA2=Text for 2nd paragraph. CONTENT_PAGE_INDEX_PARA3=Text for 3rd paragraph. +LINK_ADMIN_ADD_USER=Add user account +LINK_ADMIN_ADD_USER_TITLE=Here you can add a new user account. +LINK_ADMIN_LIST_USER=List user accounts +LINK_ADMIN_LIST_USER_TITLE=List all existing user accounts. +LINK_ADMIN_EDIT_USER=Edit user account +LINK_ADMIN_EDIT_USER_TITLE=Change here your user's accounts. +LINK_ADMIN_DELETE_USER=Delete user account +LINK_ADMIN_DELETE_USER_TITLE=Here you can delete existing user accounts. +LINK_ADMIN_UNLOCK_USER=Un-/Lock user accounts +LINK_ADMIN_UNLOCK_USER_TITLE=Lock or unlock here user accounts. +PAGE_TITLE_ADMIN_LIST_USER=List user accounts +CONTENT_TITLE_ADMIN_LIST_USER=List user accounts: +PAGE_TITLE_ADMIN_EDIT_USER=Edit user accounts +CONTENT_TITLE_ADMIN_EDIT_USER=Edit user accounts: +PAGE_TITLE_ADMIN_UNLOCK_USER=Un-/Lock user accounts +CONTENT_TITLE_ADMIN_UNLOCK_USER=Un-/Lock user accounts: diff --git a/web/WEB-INF/templates/admin/admin_menu.tpl b/web/WEB-INF/templates/admin/admin_menu.tpl index 6a561724..1da30e5e 100644 --- a/web/WEB-INF/templates/admin/admin_menu.tpl +++ b/web/WEB-INF/templates/admin/admin_menu.tpl @@ -16,6 +16,18 @@
  • + + + + diff --git a/web/admin/admin_user_delete.xhtml b/web/admin/admin_user_delete.xhtml new file mode 100644 index 00000000..23b4d5d9 --- /dev/null +++ b/web/admin/admin_user_delete.xhtml @@ -0,0 +1,20 @@ + + + + + + #{msg.PAGE_TITLE_ADMIN_DELETE_USER} + + + #{msg.CONTENT_TITLE_ADMIN_DELETE_USER} + + + + Here goes your content. + + + diff --git a/web/admin/admin_user_edit.xhtml b/web/admin/admin_user_edit.xhtml new file mode 100644 index 00000000..1d77e150 --- /dev/null +++ b/web/admin/admin_user_edit.xhtml @@ -0,0 +1,20 @@ + + + + + + #{msg.PAGE_TITLE_ADMIN_EDIT_USER} + + + #{msg.CONTENT_TITLE_ADMIN_EDIT_USER} + + + + Here goes your content. + + + diff --git a/web/admin/admin_user_list.xhtml b/web/admin/admin_user_list.xhtml new file mode 100644 index 00000000..63f75e2c --- /dev/null +++ b/web/admin/admin_user_list.xhtml @@ -0,0 +1,20 @@ + + + + + + #{msg.PAGE_TITLE_ADMIN_LIST_USER} + + + #{msg.CONTENT_TITLE_ADMIN_LIST_USER} + + + + Here goes your content. + + + -- 2.39.5