82 lines
3.1 KiB
HTML
82 lines
3.1 KiB
HTML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
To change this license header, choose License Headers in Project Properties.
|
|
To change this template file, choose Tools | Templates
|
|
and open the template in the editor.
|
|
-->
|
|
<!DOCTYPE html>
|
|
<html xmlns="http://www.w3.org/1999/xhtml"
|
|
xmlns:h="http://xmlns.jcp.org/jsf/html"
|
|
xmlns:f="http://xmlns.jcp.org/jsf/core">
|
|
<head>
|
|
<title>Participant Detail</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
|
</head>
|
|
<body>
|
|
<div>Participant Details:</div>
|
|
<h:dataTable value="#{administratorManager.currentParticipant}"
|
|
var="participant"
|
|
summary="List Participant detais"
|
|
rules="all"
|
|
cellpadding="5">>
|
|
<h:column>
|
|
<f:facet name="header">Id</f:facet>
|
|
<h:outputText value="#{participant.id}"/>
|
|
</h:column>
|
|
<h:column>
|
|
<f:facet name="header">Name</f:facet>
|
|
<h:outputText value="#{participant.name}"/>
|
|
</h:column>
|
|
<h:column>
|
|
<f:facet name="header">Email</f:facet>
|
|
<h:outputText value="#{participant.email}"/>
|
|
</h:column>
|
|
|
|
</h:dataTable>
|
|
|
|
<br></br>
|
|
|
|
<div>Participant Events:</div>
|
|
<h:dataTable value="#{administratorManager.currentParticipantEvents}"
|
|
var="event"
|
|
summary="List of all events of the Responsible"
|
|
rules="all"
|
|
cellpadding="5">
|
|
<h:column>
|
|
<f:facet name="header">Date</f:facet>
|
|
<h:outputText value="#{event.date}"/>
|
|
</h:column>
|
|
<h:column>
|
|
<f:facet name="header">Name</f:facet>
|
|
<h:outputText value="#{event.name}"/>
|
|
</h:column>
|
|
<h:column>
|
|
<f:facet name="header">Type</f:facet>
|
|
<h:outputText value="#{event.type}"/>
|
|
</h:column>
|
|
<h:column>
|
|
<f:facet name="header">Local</f:facet>
|
|
<h:outputText value="#{event.local}"/>
|
|
</h:column>
|
|
<h:column>
|
|
<f:facet name="header">Responsible</f:facet>
|
|
<h:outputText value="#{event.responsible_name}"/>
|
|
</h:column>
|
|
<h:column>
|
|
<f:facet name="header">Responsible</f:facet>
|
|
<h:outputText value="#{event.responsible_name}"/>
|
|
</h:column>
|
|
<h:column>
|
|
<h:form rendered="#{event.openInscriptions}">
|
|
<h:commandLink value="Open inscriptions" action="participant_details?faces-redirect=true">
|
|
<f:setPropertyActionListener target="#{administratorManager.registPresence}" value="#{event}" />
|
|
</h:commandLink>
|
|
</h:form>
|
|
</h:column>
|
|
</h:dataTable>
|
|
<h:form>
|
|
<h:commandLink action="AdminPage" value="Back"></h:commandLink>
|
|
</h:form>
|
|
</body>
|
|
</html>
|