From: Roland Haeder Date: Fri, 21 Aug 2015 09:32:12 +0000 (+0200) Subject: Fixes for bad HTML with better HTML and CSS X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=48b22259cab4c2108c6508c7886e285b596db67c;p=pizzaservice-war.git Fixes for bad HTML with better HTML and CSS Signed-off-by:Roland Häder --- diff --git a/web/index.jsp b/web/index.jsp index 69f8b768..916ccd50 100644 --- a/web/index.jsp +++ b/web/index.jsp @@ -41,59 +41,59 @@
- - - - - - - - + + + + + + +
- Bestellen? - - Anzahl: - - Produkt: - - Einzelpreis: -
+ Bestellen? + + Anzahl: + + Produkt: + + Einzelpreis: +
- - <% - // Get Iterator - Iterator iterator = app.getAvailableProducts(); + <% + // Get Iterator + Iterator iterator = app.getAvailableProducts(); - // "Walk" through all products and unmark them as ordered - while (iterator.hasNext()) { - // Get product instance - Product product = iterator.next(); + // "Walk" through all products and unmark them as ordered + while (iterator.hasNext()) { + // Get product instance + Product product = iterator.next(); - // Unmark as ordered - app.unmarkProductAsOrdered(product, session); - %> + // Unmark as ordered + app.unmarkProductAsOrdered(product, session); + %> +
+ + - - - - - - - <% - } - %>
+ + + <%=product.getTitle()%> + <%=product.getPrice()%>
+ + <% + } + %>
diff --git a/web/style.css b/web/style.css index ca487498..b44a60ae 100644 --- a/web/style.css +++ b/web/style.css @@ -60,3 +60,11 @@ ul.footer_nav li { list-style: none; padding-left: 5px; } + +.table_header_column { + width: 100px; +} + +.table_data_column { + width: 100px; +}