]> git.mxchange.org Git - pizzaservice-war.git/blob - web/WEB-INF/templates/admin/mobile_provider/admin_form_mobile_provider.tpl
Mail pattern for cellphone provider are optional, maybe not all pĆ¼rovide such services
[pizzaservice-war.git] / web / WEB-INF / templates / admin / mobile_provider / admin_form_mobile_provider.tpl
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition
3         xmlns="http://www.w3.org/1999/xhtml"
4         xmlns:f="http://java.sun.com/jsf/core"
5         xmlns:h="http://java.sun.com/jsf/html"
6         xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
7
8         <div class="para notice">
9                 #{msg.ADMIN_MOBILE_PROVIDER_MINIMUM_NOTICE}
10         </div>
11
12         <div class="para">
13                 <fieldset id="mobile_provider">
14                         <legend title="#{msg.ADMIN_MOBILE_PROVIDER_LEGEND_TITLE}">#{msg.ADMIN_MOBILE_PROVIDER_LEGEND}</legend>
15
16                         <div class="table_row">
17                                 <div class="table_left_medium">
18                                         <h:outputLabel for="providerDialPrefix" value="#{msg.ADMIN_ENTER_MOBILE_PROVIDER_DIAL_PREFIX}" />
19                                 </div>
20
21                                 <div class="table_right_medium">
22                                         <h:inputText class="input" id="providerDialPrefix" size="5" maxlength="20" value="#{adminMobileProviderController.providerDialPrefix}" required="true">
23                                                 <f:validateLongRange for="providerDialPrefix" minimum="0" maximum="9999" />
24                                         </h:inputText>
25                                 </div>
26
27                                 <div class="clear"></div>
28                         </div>
29
30                         <div class="table_row">
31                                 <div class="table_left_medium">
32                                         <h:outputLabel for="providerMailPattern" value="#{msg.ADMIN_ENTER_MOBILE_PROVIDER_PATTERN}" />
33                                 </div>
34
35                                 <div class="table_right_medium">
36                                         <h:inputText class="input" id="providerMailPattern" size="10" maxlength="30" value="#{adminMobileProviderController.providerMailPattern}" />
37
38                                         <h:outputText class="small notice" value="#{msg.ADMIN_ENTER_MOBILE_PROVIDER_PATTERN_EXAMPLE}" />
39                                 </div>
40
41                                 <div class="clear"></div>
42                         </div>
43
44                         <div class="table_row">
45                                 <div class="table_left_medium">
46                                         <h:outputLabel for="providerName" value="#{msg.ADMIN_ENTER_MOBILE_PROVIDER_NAME}" />
47                                 </div>
48
49                                 <div class="table_right_medium">
50                                         <h:inputText class="input" id="providerName" size="20" maxlength="100" value="#{adminMobileProviderController.providerName}" required="true" />
51                                 </div>
52
53                                 <div class="clear"></div>
54                         </div>
55
56                         <div class="table_row">
57                                 <div class="table_left_medium">
58                                         <h:outputLabel for="providerCountry" value="#{msg.ADMIN_SELECT_MOBILE_PROVIDER_COUNTRY}" />
59                                 </div>
60
61                                 <div class="table_right_medium">
62                                         <h:selectOneMenu class="select" id="providerCountry" value="#{adminMobileProviderController.providerCountry}" converter="CountryConverter">
63                                                 <f:selectItems value="#{countryController.allCountries()}" var="c" itemValue="#{c}" itemLabel="#{c.countryCode} (#{msg[c.countryI18nkey]})" />
64                                         </h:selectOneMenu>
65                                 </div>
66
67                                 <div class="clear"></div>
68                         </div>
69                 </fieldset>
70         </div>
71 </ui:composition>