]> git.mxchange.org Git - pizzaservice-war.git/blob - web/WEB-INF/templates/admin/user/admin_form_user_data.tpl
Continued:
[pizzaservice-war.git] / web / WEB-INF / templates / admin / user / admin_form_user_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://xmlns.jcp.org/jsf/core"
5         xmlns:h="http://xmlns.jcp.org/jsf/html"
6         xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
7
8         <h:outputText styleClass="errors" value="#{msg.ADMIN_USER_DATA_PASSWORD_NOTICE}" rendered="#{empty mode}" />
9
10         <ui:fragment rendered="#{not empty mode}">
11                 <div class="para">
12                         <fieldset id="login_data">
13                                 <legend title="#{msg.ADMIN_USER_DATA_EMAIL_LEGEND_TITLE}">#{msg.ADMIN_USER_DATA_EMAIL_LEGEND}</legend>
14
15                                 <div class="table_row">
16                                         <div class="table_left">
17                                                 <h:outputLabel for="userName" value="#{msg.ADMIN_USER_DATA_ENTER_USER_NAME}" />
18                                         </div>
19
20                                         <div class="table_right">
21                                                 <h:inputText class="input" id="userName" size="20" maxlength="255" value="#{adminUserController.userName}" required="true" />
22                                         </div>
23
24                                         <div class="clear"></div>
25                                 </div>
26
27                                 <div class="table_row">
28                                         <div class="table_left">
29                                                 <h:outputLabel for="emailAddress" value="#{msg.ADMIN_USER_DATA_ENTER_EMAIL}" />
30                                         </div>
31
32                                         <div class="table_right">
33                                                 <h:inputText class="input" id="emailAddress" size="20" maxlength="255" value="#{adminContactController.emailAddress}" required="true" />
34                                         </div>
35
36                                         <div class="clear"></div>
37                                 </div>
38
39                                 <div class="para"></div>
40
41                                 <div class="table_row">
42                                         <div class="table_left">
43                                                 <h:outputLabel for="password1" value="#{msg.ADMIN_USER_DATA_ENTER_PASSWORD1}" />
44                                         </div>
45
46                                         <div class="table_right">
47                                                 <h:inputSecret class="input" id="password1" size="10" maxlength="255" value="#{adminUserController.userPassword}" />
48                                         </div>
49
50                                         <div class="clear"></div>
51                                 </div>
52
53                                 <div class="table_row">
54                                         <div class="table_left">
55                                                 <h:outputLabel for="password2" value="#{msg.ADMIN_USER_DATA_ENTER_PASSWORD2}" />
56                                         </div>
57
58                                         <div class="table_right">
59                                                 <h:inputSecret class="input" id="password2" size="10" maxlength="255" value="#{adminUserController.userPasswordRepeat}" />
60                                         </div>
61
62                                         <div class="clear"></div>
63                                 </div>
64
65                                 <div class="para notice">
66                                         <ul>
67                                                 <li>#{msg.ADMIN_USER_DATA_USER_NAME_NOTICE}</li>
68
69                                                 <li>
70                                                         <h:outputText value="#{msg.ADMIN_USER_DATA_PASSWORD_EDIT_NOTICE}" rendered="#{mode == 'edit'}" />
71                                                         <h:outputText value="#{msg.ADMIN_USER_DATA_PASSWORD_ADD_NOTICE}" rendered="#{mode == 'add'}" />
72                                                 </li>
73
74                                                 <li>#{msg.ADMIN_USER_DATA_EMAIL_ADDRESS_NOTICE}</li>
75                                         </ul>
76                                 </div>
77                         </fieldset>
78                 </div>
79         </ui:fragment>
80 </ui:composition>