Skip to content
Snippets Groups Projects
Forked from DM / dm-docs
261 commits behind, 47 commits ahead of the upstream repository.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
home.xhtml 1.70 KiB
<!--<?xml version='1.0' encoding='UTF-8' ?>-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:p="http://primefaces.org/ui"
                xmlns:f="http://xmlns.jcp.org/jsf/core">


    <ui:composition template="../templates/homeViewTemplate.xhtml">
        <ui:define name="middleCenter">

            <div class="homePage">

                <div class="pageTitle">
                    <h1>Data Management Portal Home</h1>
                </div>

                <div class="sectionText"> 
                    Welcome to the Advanced Photon Source’s prototype data management portal. Registered users can view and set access permissions for their experiment data using this system.
                    <p/>
                </div>

                <div class="sectionTitle">
                    <h2>System At A Glance</h2>
                </div>    

                <h:form id="systemSummaryForm">
                    <p:growl id="messages" showDetail="true" autoUpdate="true"/>
                    <p:panelGrid columns="2">
                        <h:outputLabel for="nRegisteredUsers" value="Number of Registered Users" styleClass="entityDataLabel"/>
                        <h:outputText id="nRegisteredUsers" value="#{userInfoController.items.getRowCount()}" title="Number of Registered Users" styleClass="entityDataText"/>

                    </p:panelGrid>
                </h:form>
            </div>


        </ui:define>
    </ui:composition>
</ui:composition>