]> git.mxchange.org Git - pizzaservice-war.git/blob - web/customer/checkout.xhtml
Please cherry-pick:
[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">
13                         <h:outputText value="#{msg.PAGE_TITLE_USER_CHECKOUT}" />
14                 </ui:define>
15
16                 <ui:define name="content_header">
17                         <h:outputText value="#{msg.CONTENT_TITLE_USER_CHECKOUT}" />
18                 </ui:define>
19
20                 <ui:define name="content">
21                         <div class="basket_content">
22                                 <ui:include src="/WEB-INF/templates/basket/full_basket.tpl" />
23
24                                 <ui:include src="/WEB-INF/templates/basket/total_sum.tpl" />
25                         </div>
26
27                         <div class="checkout_outer">
28                                 <div class="checkout_title">
29                                         <h:outputText value="#{msg.CONTENT_TITLE_USER_CHECKOUT}" />
30                                 </div>
31
32                                 <div class="checkout_options">
33                                         <ul>
34                                                 <li>
35                                                         <div class="checkout_option_title">
36                                                                 <h:outputText value="#{msg.CUSTOMER_CHECKOUT_OPTION1_TITLE}" />
37                                                         </div>
38
39                                                         <div class="checkout_option_content">
40                                                                 <h:link class="checkout_option_link" id="checkout_option_login" outcome="user_login" value="#{msg.LINK_CHECKOUT_OPTION_LOGIN}">
41                                                                         <f:param name="redirect" value="login_checkout" />
42                                                                 </h:link>
43                                                         </div>
44                                                 </li>
45
46                                                 <li>
47                                                         <div class="checkout_option_title">
48                                                                 <h:outputText value="#{msg.CUSTOMER_CHECKOUT_OPTION2_TITLE}" />
49                                                         </div>
50
51                                                         <div class="checkout_option_content">
52                                                                 <h:link class="checkout_option_link" id="checkout_option_register" outcome="user_register" value="#{msg.LINK_CHECKOUT_OPTION_REGISTRATION}">
53                                                                         <f:param name="redirect" value="login_checkout" />
54                                                                 </h:link>
55                                                         </div>
56                                                 </li>
57
58                                                 <li>
59                                                         <div class="checkout_option_title">
60                                                                 <h:outputText value="#{msg.CUSTOMER_CHECKOUT_OPTION3_TITLE}" />
61                                                         </div>
62
63                                                         <div class="checkout_option_content">
64                                                                 <h:link class="checkout_option_link" id="checkout_option_guest" outcome="checkout2" value="#{msg.LINK_CHECKOUT_OPTION_GUEST}" />
65                                                         </div>
66                                                 </li>
67                                         </ul>
68                                 </div>
69                         </div>
70                 </ui:define>
71         </ui:composition>
72 </html>