From: Roland Haeder <roland@mxchange.org> Date: Sat, 9 Apr 2016 11:38:25 +0000 (+0200) Subject: Renamed admin_index.xhtml to index.xhtml to have a nice index page. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=dfd6c8048ab14b91dafc5c6d7d78a628345f3ea1;p=jjobs-war.git Renamed admin_index.xhtml to index.xhtml to have a nice index page. Signed-off-by: Roland Häder <roland@mxchange.org> --- diff --git a/nbproject/faces-config.NavData b/nbproject/faces-config.NavData index f08d4ef1..763a9ffb 100644 --- a/nbproject/faces-config.NavData +++ b/nbproject/faces-config.NavData @@ -24,7 +24,7 @@ <Node id="*" x="150" y="300" zoom="true"/> <Node id="user/login_error.xhtml" x="900" y="300" zoom="true"/> <Node id="user/show_addressbook_entries.xhtml" x="1650" y="150" zoom="true"/> - <Node id="admin/admin_index.xhtml" x="1400" y="150" zoom="true"/> + <Node id="admin/index.xhtml" x="1400" y="150" zoom="true"/> <Node id="login/login_change_email_address.xhtml" x="1150" y="450" zoom="true"/> <Node id="user/lost_passwd.xhtml" x="400" y="750" zoom="true"/> <Node id="user/login.xhtml" x="400" y="150" zoom="true"/> diff --git a/web/WEB-INF/faces-config.xml b/web/WEB-INF/faces-config.xml index e95370b4..cf33e9d3 100644 --- a/web/WEB-INF/faces-config.xml +++ b/web/WEB-INF/faces-config.xml @@ -77,7 +77,7 @@ </navigation-case> <navigation-case> <from-outcome>admin_index</from-outcome> - <to-view-id>/admin/admin_index.xhtml</to-view-id> + <to-view-id>/admin/index.xhtml</to-view-id> </navigation-case> <navigation-case> <from-outcome>login_index</from-outcome> diff --git a/web/admin/admin_index.xhtml b/web/admin/admin_index.xhtml deleted file mode 100644 index 66ce3acb..00000000 --- a/web/admin/admin_index.xhtml +++ /dev/null @@ -1,23 +0,0 @@ -<?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_WELCOME}</ui:define> - - <ui:define name="content_header"> - #{msg.CONTENT_TITLE_ADMIN_WELCOME} - </ui:define> - - <ui:define name="content"> - <!-- - TODO: Replace this dummy - //--> - Einiges kann hier eingestellt werden. - </ui:define> - </ui:composition> -</html> diff --git a/web/admin/index.xhtml b/web/admin/index.xhtml new file mode 100644 index 00000000..66ce3acb --- /dev/null +++ b/web/admin/index.xhtml @@ -0,0 +1,23 @@ +<?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_WELCOME}</ui:define> + + <ui:define name="content_header"> + #{msg.CONTENT_TITLE_ADMIN_WELCOME} + </ui:define> + + <ui:define name="content"> + <!-- + TODO: Replace this dummy + //--> + Einiges kann hier eingestellt werden. + </ui:define> + </ui:composition> +</html>