]> git.mxchange.org Git - pizzaservice-war.git/blob - web/customer/checkout.xhtml
old method called
[pizzaservice-war.git] / web / customer / checkout.xhtml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html
4         lang="#{localizationController.language}" xml:lang="#{localizationController.language}"
5         xmlns="http://www.w3.org/1999/xhtml"
6         xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
7         xmlns:h="http://xmlns.jcp.org/jsf/html"
8         xmlns:f="http://xmlns.jcp.org/jsf/core"
9         >
10
11         <ui:composition template="/WEB-INF/templates/guest/guest_base.tpl">
12                 <ui:define name="guest_title">#{msg.PAGE_TITLE_CUSTOMER_CHECKOUT}</ui:define>
13
14                 <ui:define name="content_header">
15                         #{msg.CONTENT_TITLE_CUSTOMER_CHECKOUT}
16                 </ui:define>
17
18                 <ui:define name="content">
19                         <div class="basket_content">
20                                 <ui:include src="/WEB-INF/templates/basket/full_basket.tpl" />
21
22                                 <ui:include src="/WEB-INF/templates/basket/total_sum.tpl" />
23                         </div>
24
25                         <div class="checkout_outer">
26                                 <div class="checkout_title">
27                                         #{msg.CONTENT_TITLE_CUSTOMER_CHECKOUT}
28                                 </div>
29
30                                 <div class="checkout_options">
31                                         <ul>
32                                                 <li>
33                                                         <div class="checkout_option_title">
34                                                                 #{msg.CUSTOMER_CHECKOUT_OPTION1_TITLE}
35                                                         </div>
36
37                                                         <div class="checkout_option_content">
38                                                                 <h:link class="checkout_option_link" id="checkout_option_login" outcome="login" value="#{msg.LINK_CHECKOUT_OPTION_LOGIN}">
39                                                                         <f:param name="redirect" value="login_checkout" />
40                                                                 </h:link>
41                                                         </div>
42                                                 </li>
43
44                                                 <li>
45                                                         <div class="checkout_option_title">
46                                                                 #{msg.CUSTOMER_CHECKOUT_OPTION2_TITLE}
47                                                         </div>
48
49                                                         <div class="checkout_option_content">
50                                                                 <h:link class="checkout_option_link" id="checkout_option_register" outcome="register" value="#{msg.LINK_CHECKOUT_OPTION_REGISTRATION}">
51                                                                         <f:param name="redirect" value="login_checkout" />
52                                                                 </h:link>
53                                                         </div>
54                                                 </li>
55
56                                                 <li>
57                                                         <div class="checkout_option_title">
58                                                                 #{msg.CUSTOMER_CHECKOUT_OPTION3_TITLE}
59                                                         </div>
60
61                                                         <div class="checkout_option_content">
62                                                                 <h:link class="checkout_option_link" id="checkout_option_guest" outcome="checkout2" value="#{msg.LINK_CHECKOUT_OPTION_GUEST}" />
63                                                         </div>
64                                                 </li>
65                                         </ul>
66                                 </div>
67                         </div>
68                 </ui:define>
69         </ui:composition>
70 </html>