]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Added initial admin index.jsp (unprotected)
authorRoland Haeder <roland@mxchange.org>
Wed, 12 Aug 2015 13:25:45 +0000 (15:25 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 12 Aug 2015 13:25:45 +0000 (15:25 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/java/org/mxchange/pizzaapplication/database/product/PizzaProductDatabaseConstants.java
web/admin/index.jsp [new file with mode: 0644]
web/static/admin/menu.jsp [new file with mode: 0644]
web/static/menu.jsp

index 16d08d70c5292435d470a0e947aab751e9f04332..719dbf047258a3fc6d9eb0acc44331f1a69a4301 100644 (file)
@@ -17,6 +17,7 @@
 package org.mxchange.pizzaapplication.database.product;
 
 /**
+ * Holder class for database columns for product frontend
  *
  * @author Roland Haeder
  */
diff --git a/web/admin/index.jsp b/web/admin/index.jsp
new file mode 100644 (file)
index 0000000..773c1da
--- /dev/null
@@ -0,0 +1,43 @@
+<%-- 
+       Document   : index
+       Created on : 04.08.2015, 10:33:10
+       Author     : Roland Haeder
+--%>
+
+<%--<%@page errorPage="errorHandler.jsp" %>--%>
+<%@page import="java.util.Map"%>
+<%@page import="java.util.Iterator"%>
+<%@page import="org.mxchange.pizzaapplication.application.PizzaServiceApplication"%>
+<%@page import="org.mxchange.pizzaapplication.application.PizzaApplication"%>
+<%@page import="org.mxchange.pizzaapplication.product.Product"%>
+<%@page contentType="text/html" pageEncoding="UTF-8"%>
+
+<%
+       // Init application instance
+       PizzaApplication app = PizzaServiceApplication.getInstance(application);
+%>
+<!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" xml:lang="de" lang="de">
+       <head>
+               <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+               <link rel="stylesheet" href="<%=request.getContextPath()%>/style.css" type="text/css"/>
+               <title><%=PizzaServiceApplication.MAIN_TITLE%> - Administration</title>
+       </head>
+
+       <body>
+               <div id="title">
+                       <h1><%=PizzaServiceApplication.MAIN_TITLE%> - Administration</h1>
+               </div>
+
+               <jsp:include page="/static/admin/menu.jsp" flush="true" />
+
+               <div id="content_outer">
+                       <div id="content_title">
+                               <h2>Administration:</h2>
+                       </div>
+
+                       <div id="content">
+                       </div>
+               </div>
+       </body>
+</html>
diff --git a/web/static/admin/menu.jsp b/web/static/admin/menu.jsp
new file mode 100644 (file)
index 0000000..c890b6c
--- /dev/null
@@ -0,0 +1,13 @@
+<%-- 
+       Document   : menu
+       Created on : 06.08.2015, 12:41:44
+       Author     : Roland Haeder
+--%>
+
+<div id="menu">
+       <ul>
+               <li><a href="<%=request.getContextPath()%>/admin/index.jsp" title="Eingangsseite">Home</a></li>
+               <li><a href="<%=request.getContextPath()%>/admin/logout.jsp" title="Ausloggen">Ausloggen</a></li>
+               <li><a href="<%=request.getContextPath()%>/" title="Zur Webseite, aber eingeloggt bleiben">Webseite aufrufen</a></li>
+       </ul>
+</div>
index 1f72802be8de3c9a70e3584ad0ff6de553085184..7838c2ee9fa1c86d6375aa55e47fe210ef8d5c8f 100644 (file)
@@ -1,7 +1,7 @@
 <%-- 
-    Document   : menu
-    Created on : 06.08.2015, 12:41:44
-    Author     : Roland Haeder
+       Document   : menu
+       Created on : 06.08.2015, 12:41:44
+       Author     : Roland Haeder
 --%>
 
 <div id="menu">