]> git.mxchange.org Git - jjobs-war.git/blob - web/WEB-INF/templates/admin/country/admin_form_country_data.tpl
Moved generic templates/page files to sub folders for re-organization.
[jjobs-war.git] / web / WEB-INF / templates / admin / country / admin_form_country_data.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://java.sun.com/jsf/facelets">
7
8         <div class="para notice">
9                 #{msg.ADMIN_COUNTRY_DATA_MINIMUM_NOTICE}
10         </div>
11
12         <div class="para">
13                 <fieldset id="country_data">
14                         <legend title="#{msg.ADMIN_COUNTRY_PHONE_DATA_LEGEND_TITLE}">#{msg.ADMIN_COUNTRY_PHONE_DATA_LEGEND}</legend>
15
16                         <div class="table_row">
17                                 <div class="table_left_medium">
18                                         <h:outputLabel for="countryAbroadDialPrefix" value="#{msg.ADMIN_ENTER_COUNTRY_ABROAD_DIAL_PREFIX}" />
19                                 </div>
20
21                                 <div class="table_right_medium">
22                                         <h:inputText class="input" id="countryAbroadDialPrefix" size="2" maxlength="10" value="#{adminCountryController.countryAbroadDialPrefix}" required="true">
23                                                 <f:validateLongRange for="countryAbroadDialPrefix" minimum="0" maximum="99" />
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="countryCode" value="#{msg.ADMIN_ENTER_COUNTRY_CODE}" />
33                                 </div>
34
35                                 <div class="table_right_medium">
36                                         <h:inputText class="input" id="countryCode" size="2" maxlength="2" value="#{adminCountryController.countryCode}" required="true">
37                                                 <f:validateRegex for="countryCode" pattern="[A-Z]{2}" />
38                                         </h:inputText>
39
40                                         <h:outputText class="small notice" value="#{msg.ADMIN_ENTER_COUNTRY_CODE_EXAMPLE}" />
41                                 </div>
42
43                                 <div class="clear"></div>
44                         </div>
45
46                         <div class="table_row">
47                                 <div class="table_left_medium">
48                                         <h:outputLabel for="countryI18nKey" value="#{msg.ADMIN_ENTER_COUNTRY_I18N_KEY}" />
49                                 </div>
50
51                                 <div class="table_right_medium">
52                                         <h:inputText class="input" id="countryI18nKey" size="20" maxlength="100" value="#{adminCountryController.countryI18nKey}" required="true">
53                                                 <f:validateRegex for="countryI18nKey" pattern="[A-Z_]{2,}" />
54                                         </h:inputText>
55                                 </div>
56
57                                 <div class="clear"></div>
58                         </div>
59
60                         <div class="table_row">
61                                 <div class="table_left_medium">
62                                         <h:outputLabel for="countryIsLocalPrefixRequired" value="#{msg.ADMIN_SELECT_COUNTRY_IS_EXTERNAL_DIAL_PREFIX_REQUIORED}" />
63                                 </div>
64
65                                 <div class="table_right_medium">
66                                         <h:selectOneListbox required="true" id="countryIsLocalPrefixRequired" value="#{adminCountryController.countryIsLocalPrefixRequired}" size="1" class="select">
67                                                 <f:selectItem itemValue="true" itemLabel="#{msg.YES}" />
68                                                 <f:selectItem itemValue="false" itemLabel="#{msg.NO}" />
69                                         </h:selectOneListbox>
70                                 </div>
71
72                                 <div class="clear"></div>
73                         </div>
74
75                         <div class="table_row">
76                                 <div class="table_left_medium">
77                                         <h:outputLabel for="countryExternalDialPrefix" value="#{msg.ADMIN_ENTER_COUNTRY_EXTERNAL_DIAL_PREFIX}" />
78                                 </div>
79
80                                 <div class="table_right_medium">
81                                         <h:inputText class="input" id="countryExternalDialPrefix" size="2" maxlength="10" value="#{adminCountryController.countryExternalDialPrefix}" required="true">
82                                                 <f:validateLongRange for="countryAbroadDialPrefix" minimum="0" maximum="99" />
83                                         </h:inputText>
84                                 </div>
85
86                                 <div class="clear"></div>
87                         </div>
88
89                         <div class="table_row">
90                                 <div class="table_left_medium">
91                                         <h:outputLabel for="countryPhoneCode" value="#{msg.ADMIN_ENTER_COUNTRY_PHONE_CODE}" />
92                                 </div>
93
94                                 <div class="table_right_medium">
95                                         <h:inputText class="input" id="countryPhoneCode" size="2" maxlength="6" value="#{adminCountryController.countryPhoneCode}" required="true">
96                                                 <f:validateLongRange for="countryAbroadDialPrefix" minimum="0" maximum="99" />
97                                         </h:inputText>
98
99                                         <h:outputText class="small notice" value="#{msg.ADMIN_ENTER_COUNTRY_PHONE_CODE_EXAMPLE}" />
100                                 </div>
101
102                                 <div class="clear"></div>
103                         </div>
104                 </fieldset>
105         </div>
106 </ui:composition>