]> git.mxchange.org Git - addressbook-war.git/blob - web/login/login_user_list.xhtml
added more stuff for user list + updated jar(s)
[addressbook-war.git] / web / login / login_user_list.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 xmlns="http://www.w3.org/1999/xhtml"
4           xmlns:ui="http://java.sun.com/jsf/facelets"
5           xmlns:h="http://xmlns.jcp.org/jsf/html"
6           xmlns:f="http://xmlns.jcp.org/jsf/core"
7           >
8
9         <ui:composition template="/WEB-INF/templates/login/login_base.tpl">
10                 <ui:define name="login_title">#{msg.PAGE_TITLE_LOGIN_USER_LIST}</ui:define>
11
12                 <ui:define name="content_header">
13                         #{msg.CONTENT_TITLE_LOGIN_USER_LIST}
14                 </ui:define>
15
16                 <ui:define name="content">
17                         <div class="table_big">
18                                 <div class="table_header">
19                                         #{msg.LOGIN_TABLE_HEADER_USER_LIST}
20                                 </div>
21
22                                 <h:dataTable id="userList" var="user" value="#{userController.allPublicUsers()}" headerClass="table_header_column25" summary="#{msg.TABLE_SUMMARY_LOGIN_USER_LIST}" rendered="#{userController.isPublicUserRegistered()}">
23                                         <f:facet name="header">#{msg.USER_ID}</f:facet>
24                                         <h:link outcome="login_user_profile" value="#{user.userId}">
25                                                 <f:param name="profile" value="#{user.userId}" />
26                                         </h:link>
27
28                                         <f:facet name="header">#{msg.USER_NAME}</f:facet>
29                                         <h:link outcome="login_user_profile" value="#{user.userName}">
30                                                 <f:param name="profile" value="#{user.userId}" />
31                                         </h:link>
32
33                                         <f:facet name="header">#{msg.USER_CREATED}</f:facet>
34                                         <h:outputFormat id="userCreated" value="#{user.userCreated.time}" title="#{msg.USER_CREATED_TITLE}">
35                                                 <f:convertDateTime for="addressbookCreated" type="both" timeStyle="short" dateStyle="medium" />
36                                         </h:outputFormat>
37
38                                         <f:facet name="header">#{msg.USER_LIST_SHARING_ADDRESSBOOKS}</f:facet>
39                                         <h:link outcome="login_list_sharing_addressbooks" value="#{msg.LINK_LOGIN_LIST_SHARING_ADDRESSBOOKS}" title="#{msg.LINK_LOGIN_LIST_SHARING_ADDRESSBOOKS_TITLE}">
40                                                 <f:param name="profile" value="#{user.userId}" />
41                                         </h:link>
42                                 </h:dataTable>
43                         </div>
44                 </ui:define>
45         </ui:composition>
46 </html>