Commit 82108e8e authored by michael.simon's avatar michael.simon
Browse files

cosmetic changes. #36

parent 084d2be6
......@@ -97,4 +97,12 @@ public class ServiceAdminStatsBean implements Serializable {
return userPerIdpPie;
}
public ServiceEntity getServiceEntity() {
return serviceEntity;
}
public void setServiceEntity(ServiceEntity serviceEntity) {
this.serviceEntity = serviceEntity;
}
}
......@@ -24,6 +24,8 @@
<ui:define name="content">
<h:form id="form">
<h2><h:outputText value="#{messages.service}: #{serviceAdminUserListDeproBean.serviceEntity.name}"/></h2>
<div id="panelInline">
<p:dataTable id="registeredTable1" var="registry" value="#{serviceAdminUserListDeproBean.deproList}" paginator="true"
......
......@@ -23,6 +23,8 @@
<ui:define name="content">
<h:form id="form">
<h2><h:outputText value="#{messages.service}: #{serviceAdminUserListBean.serviceEntity.name}"/></h2>
<div id="panelInline">
<p:tabView id="tabVw" dynamic="true" cache="false">
......
......@@ -24,28 +24,24 @@
<ui:define name="content">
<h:form id="form">
<h2>#{messages.statistics}: #{serviceAdminStatsBean.serviceEntity.name}</h2>
<div id="panelInline">
<p:tabView id="tabVw" dynamic="true" cache="true">
<p:tab id="tab1" title="#{messages.service_desc_short}">
<p:chart type="pie" model="#{serviceAdminStatsBean.userPerIdpPie}" style="height:400px;" />
<p:dataTable id="dataTable" var="o" value="#{serviceAdminStatsBean.userPerIdpList}">
<p:column>
<f:facet name="header">
<h:outputText value="#{messages.users}" />
</f:facet>
<h:outputText value="#{o[0]}" />
</p:column>
<p:column>
<f:facet name="header">
<h:outputText value="#{messages.idp}" />
</f:facet>
<h:outputText value="#{o[1].orgName}" />
</p:column>
</p:dataTable>
</p:tab>
<p:tab id="tab2" title="#{messages.service_desc}">
</p:tab>
</p:tabView>
<p:chart type="pie" model="#{serviceAdminStatsBean.userPerIdpPie}" style="height:400px;" />
<p:dataTable id="dataTable" var="o" value="#{serviceAdminStatsBean.userPerIdpList}">
<p:column>
<f:facet name="header">
<h:outputText value="#{messages.users}" />
</f:facet>
<h:outputText value="#{o[0]}" />
</p:column>
<p:column>
<f:facet name="header">
<h:outputText value="#{messages.idp}" />
</f:facet>
<h:outputText value="#{o[1].orgName}" />
</p:column>
</p:dataTable>
</div>
</h:form>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment