From: Roland Haeder Date: Wed, 7 Oct 2015 10:42:06 +0000 (+0200) Subject: added initial login templates and navigation rules X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4df7c2863755466326717432fff97f5da7767927;p=addressbook-war.git added initial login templates and navigation rules Signed-off-by:Roland Häder --- diff --git a/web/WEB-INF/faces-config.xml b/web/WEB-INF/faces-config.xml index 74a1c30b..2078bf98 100644 --- a/web/WEB-INF/faces-config.xml +++ b/web/WEB-INF/faces-config.xml @@ -49,6 +49,10 @@ admin_index /admin/index.xhtml + + login_index + /login/index.xhtml + /admin/admin_logout.xhtml @@ -63,4 +67,11 @@ en_US + + /user/login.xhtml + + login + /login/index.xhtml + + diff --git a/web/WEB-INF/templates.dist/login_page.xhtml b/web/WEB-INF/templates.dist/login_page.xhtml new file mode 100644 index 00000000..c91b0f83 --- /dev/null +++ b/web/WEB-INF/templates.dist/login_page.xhtml @@ -0,0 +1,28 @@ + + + + + + #{msg.PAGE_TITLE_LOGIN_FOO} + + + + + + #{msg.SUB_TITLE_LOGIN_FOO} + + + + Here goes your content. + + + + + + diff --git a/web/WEB-INF/templates/login/login_base.tpl b/web/WEB-INF/templates/login/login_base.tpl new file mode 100644 index 00000000..23c86ca2 --- /dev/null +++ b/web/WEB-INF/templates/login/login_base.tpl @@ -0,0 +1,8 @@ + + + + Benutzerbereich - + diff --git a/web/WEB-INF/templates/login/login_footer.tpl b/web/WEB-INF/templates/login/login_footer.tpl new file mode 100644 index 00000000..98fd01dc --- /dev/null +++ b/web/WEB-INF/templates/login/login_footer.tpl @@ -0,0 +1,18 @@ + + + + +
+
diff --git a/web/WEB-INF/templates/login/login_menu.tpl b/web/WEB-INF/templates/login/login_menu.tpl new file mode 100644 index 00000000..08ce0c8f --- /dev/null +++ b/web/WEB-INF/templates/login/login_menu.tpl @@ -0,0 +1,20 @@ + + + + + diff --git a/web/login/index.xhtml b/web/login/index.xhtml new file mode 100644 index 00000000..dafff409 --- /dev/null +++ b/web/login/index.xhtml @@ -0,0 +1,28 @@ + + + + + + #{msg.PAGE_TITLE_LOGIN_FOO} + + + + + + #{msg.SUB_TITLE_LOGIN_FOO} + + + + Here goes your content. + + + + + +