]> git.mxchange.org Git - jjobs-war.git/commitdiff
Added generic user list/edit/delete/un-/lock menus (stubs only)
authorRoland Haeder <roland@mxchange.org>
Sat, 9 Apr 2016 11:22:33 +0000 (13:22 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 9 Apr 2016 11:23:05 +0000 (13:23 +0200)
src/java/org/mxchange/localization/bundle_de_DE.properties
src/java/org/mxchange/localization/bundle_en_US.properties
web/WEB-INF/templates/admin/admin_menu.tpl
web/admin/admin_user_delete.xhtml [new file with mode: 0644]
web/admin/admin_user_edit.xhtml [new file with mode: 0644]
web/admin/admin_user_list.xhtml [new file with mode: 0644]

index fc3622538c03f63f964b0e15ccf974dc9e8135b9..ac8636beb27849910601968dfadc57ec826954ae 100644 (file)
@@ -292,3 +292,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:
index dbc935871bf84789d9a084610dc3c4566171b15f..37b1fad6962f428073d9b4abecf79506dcf44ab6 100644 (file)
@@ -266,3 +266,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:
index 6a561724ffb7a46f662ddd305bcbff8485fc20c3..1da30e5e44d962aa803d1966b13349864e40149f 100644 (file)
                                <li><h:link title="#{msg.LINK_ADMIN_PRODUCT_TITLE}" outcome="admin_product" value="#{msg.LINK_ADMIN_PRODUCT}" /></li>
                        </ul>
 
+                       <div class="menu_header">
+                               #{msg.ADMIN_MENU_USER_TITLE}
+                       </div>
+
+                       <ul>
+                               <li><h:link title="#{msg.LINK_ADMIN_ADD_USER_TITLE}" outcome="admin_add_user" value="#{msg.LINK_ADMIN_ADD_USER}" /></li>
+                               <li><h:link title="#{msg.LINK_ADMIN_LIST_USER_TITLE}" outcome="admin_list_user" value="#{msg.LINK_ADMIN_LIST_USER}" /></li>
+                               <li><h:link title="#{msg.LINK_ADMIN_EDIT_USER_TITLE}" outcome="admin_edit_user" value="#{msg.LINK_ADMIN_EDIT_USER}" /></li>
+                               <li><h:link title="#{msg.LINK_ADMIN_DELETE_USER_TITLE}" outcome="admin_delete_user" value="#{msg.LINK_ADMIN_DELETE_USER}" /></li>
+                               <li><h:link title="#{msg.LINK_ADMIN_UNLOCK_USER_TITLE}" outcome="admin_unlock_user" value="#{msg.LINK_ADMIN_UNLOCK_USER}" /></li>
+                       </ul>
+
                        <div class="menu_header">
                                #{msg.ADMIN_MENU_LOGOUT_TITLE}
                        </div>
diff --git a/web/admin/admin_user_delete.xhtml b/web/admin/admin_user_delete.xhtml
new file mode 100644 (file)
index 0000000..23b4d5d
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+         xmlns:ui="http://java.sun.com/jsf/facelets"
+         xmlns:h="http://xmlns.jcp.org/jsf/html"
+         xmlns:f="http://xmlns.jcp.org/jsf/core"
+         >
+
+       <ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
+               <ui:define name="admin_title">#{msg.PAGE_TITLE_ADMIN_DELETE_USER}</ui:define>
+
+               <ui:define name="content_header">
+                       #{msg.CONTENT_TITLE_ADMIN_DELETE_USER}
+               </ui:define>
+
+               <ui:define name="content">
+                       Here goes your content.
+               </ui:define>
+       </ui:composition>
+</html>
diff --git a/web/admin/admin_user_edit.xhtml b/web/admin/admin_user_edit.xhtml
new file mode 100644 (file)
index 0000000..1d77e15
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+         xmlns:ui="http://java.sun.com/jsf/facelets"
+         xmlns:h="http://xmlns.jcp.org/jsf/html"
+         xmlns:f="http://xmlns.jcp.org/jsf/core"
+         >
+
+       <ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
+               <ui:define name="admin_title">#{msg.PAGE_TITLE_ADMIN_EDIT_USER}</ui:define>
+
+               <ui:define name="content_header">
+                       #{msg.CONTENT_TITLE_ADMIN_EDIT_USER}
+               </ui:define>
+
+               <ui:define name="content">
+                       Here goes your content.
+               </ui:define>
+       </ui:composition>
+</html>
diff --git a/web/admin/admin_user_list.xhtml b/web/admin/admin_user_list.xhtml
new file mode 100644 (file)
index 0000000..63f75e2
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+         xmlns:ui="http://java.sun.com/jsf/facelets"
+         xmlns:h="http://xmlns.jcp.org/jsf/html"
+         xmlns:f="http://xmlns.jcp.org/jsf/core"
+         >
+
+       <ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
+               <ui:define name="admin_title">#{msg.PAGE_TITLE_ADMIN_LIST_USER}</ui:define>
+
+               <ui:define name="content_header">
+                       #{msg.CONTENT_TITLE_ADMIN_LIST_USER}
+               </ui:define>
+
+               <ui:define name="content">
+                       Here goes your content.
+               </ui:define>
+       </ui:composition>
+</html>