55 lines
1.8 KiB
HTML
55 lines
1.8 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>Responsible Page </title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
|
</head>
|
|
<body>
|
|
|
|
<div>Responsibles:</div>
|
|
<h:dataTable value="#{administratorManager.allResponsibles}" var="responsible">
|
|
<h:column>
|
|
<f:facet name="header">Id</f:facet>
|
|
<h:outputText value="#{responsible.id}"/>
|
|
</h:column>
|
|
<h:column>
|
|
<f:facet name="header">Name</f:facet>
|
|
<h:outputText value="#{responsible.name}"/>
|
|
</h:column>
|
|
<h:column>
|
|
<f:facet name="header">Email</f:facet>
|
|
<h:outputText value="#{responsible.email}"/>
|
|
|
|
</h:column>
|
|
|
|
<h:column>
|
|
<h:form>
|
|
<h:commandLink value="Entrar" action="responsible_details?faces-redirect=true">
|
|
<f:setPropertyActionListener target="#{administratorManager.currentResponsible}" value="#{responsible}" />
|
|
</h:commandLink>
|
|
|
|
|
|
</h:form>
|
|
</h:column>
|
|
</h:dataTable>
|
|
|
|
<h:form>
|
|
<h:commandLink action="admin_user_create" value="New Responsible"></h:commandLink>
|
|
|
|
|
|
<br></br>
|
|
<h:commandLink action="index" value="Back"></h:commandLink>
|
|
|
|
</h:form>
|
|
|
|
</body>
|
|
</html>
|