]> git.mxchange.org Git - jjobs-war.git/blob - web/WEB-INF/templates/admin/user/admin_form_user_data.tpl
also this must be medium-sized
[jjobs-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_medium">
17                                                 <h:outputLabel for="userName" value="#{msg.ADMIN_PERSONAL_DATA_ENTER_USER_NAME}" />
18                                         </div>
19
20                                         <div class="table_right_medium">
21                                                 <h:inputText styleClass="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="para"></div>
28
29                                 <div class="table_row">
30                                         <div class="table_left_medium">
31                                                 <h:outputLabel for="userPassword" value="#{msg.ADMIN_USER_DATA_ENTER_PASSWORD}" />
32                                         </div>
33
34                                         <div class="table_right_medium">
35                                                 <h:inputSecret styleClass="input" id="userPassword" size="10" maxlength="255" value="#{adminUserController.userPassword}" />
36                                         </div>
37
38                                         <div class="clear"></div>
39                                 </div>
40
41                                 <div class="table_row">
42                                         <div class="table_left_medium">
43                                                 <h:outputLabel for="userPasswordRepeat" value="#{msg.ADMIN_USER_DATA_ENTER_PASSWORD_REPEAT}" />
44                                         </div>
45
46                                         <div class="table_right_medium">
47                                                 <h:inputSecret styleClass="input" id="userPasswordRepeat" size="10" maxlength="255" value="#{adminUserController.userPasswordRepeat}" />
48                                         </div>
49
50                                         <div class="clear"></div>
51                                 </div>
52
53                                 <div class="para notice">
54                                         <ul>
55                                                 <li>#{msg.ADMIN_USER_DATA_USER_NAME_NOTICE}</li>
56
57                                                 <li>
58                                                         <h:outputText value="#{msg.ADMIN_DATA_PASSWORD_EDIT_NOTICE}" rendered="#{mode == 'edit'}" />
59                                                         <h:outputText value="#{msg.ADMIN_USER_DATA_PASSWORD_ADD_NOTICE}" rendered="#{mode == 'add'}" />
60                                                 </li>
61
62                                                 <li>
63                                                         <h:outputText value="#{msg.ADMIN_USER_DATA_EMAIL_ADDRESS_NOTICE}" />
64                                                 </li>
65                                         </ul>
66                                 </div>
67                         </fieldset>
68                 </div>
69         </ui:fragment>
70 </ui:composition>