Commit 5e88470c authored by Piotr Gawron's avatar Piotr Gawron
Browse files

unnecessary files removed

parent 22ce9853
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.org/ui">
<h:outputStylesheet library="css" name="minerva.css" />
<div class="minerva-header">
<a href="#{request.contextPath}/?id=#{mapMB.currentMapId}" class="mainTitle"><i class="fa fa-home" style="font-size:17px"></i> #{mapMB.currentProject.name}</a>
</div>
</html>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.org/ui">
<ui:include src="/WEB-INF/components/admin/header.xhtml" />
<h:form id="menuForm">
<p:menubar >
<p:menuitem value="Comments"
url="/admin/comments.xhtml?id=#{mapMB.currentMapId}"/>
<p:menuitem value="Map manager"
url="/admin/projects.xhtml?id=#{mapMB.currentMapId}"/>
<p:menuitem value="User manager"
url="/admin/users.xhtml?id=#{mapMB.currentMapId}"/>
<p:menuitem value="Service status"
url="/admin/status.xhtml?id=#{mapMB.currentMapId}"/>
<p:menuitem value="Configuration"
url="/admin/configuration.xhtml?id=#{mapMB.currentMapId}"/>
<p:menuitem value="Miriam"
url="/admin/miriam.xhtml?id=#{mapMB.currentMapId}"/>
<!-- <p:menuitem value="Genome"
url="/admin/genomes.xhtml?id=#{mapMB.currentMapId}"/> -->
<p:menuitem value="Manual"
onclick="window.open('#{request.contextPath}/javax.faces.resource/admin_guide.pdf.xhtml?ln=other','_admin_manual_');"/>
<p:menuitem value="Logout" actionListener="#{userMB.doLogout}"
oncomplete="location.reload();"
style="position: absolute; right: 6px; color:#ffffff; "/>
</p:menubar>
</h:form>
<script type="text/javascript">
$(window).load(function(){
var url=$(location).attr('href');
var active=-1;
if(url.indexOf('comments.xhtml')>0) active=0;
if(url.indexOf('projects.xhtml')>0) active=1;
if(url.indexOf('users.xhtml')>0) active=2;
if(url.indexOf('status.xhtml')>0) active=3;
if(url.indexOf('configuration.xhtml')>0) active=4;
if(url.indexOf('miriam.xhtml')>0) active=5;
if(active>-1){
var counter=0;
var tabs = $("a.ui-menuitem-link").each(function(){
if (counter==active) $(this).attr('class', 'ui-menuitem-link ui-corner-all ui-state-active');
counter++;
});
}
});
</script>
</html>
<?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">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:p="http://primefaces.org/ui"
xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
<link rel="shortcut icon" href="../resources/images/favicon.png" type="image/png" />
<ui:include src="/WEB-INF/components/admin/statistics.xhtml" />
<ui:insert name="css"></ui:insert>
<title>#{mapMB.currentProject.name} - <ui:insert name="title">Default title</ui:insert></title>
</h:head>
<h:body>
<h:outputStylesheet library="css" name="style.css"/>
<h:outputStylesheet library="css" name="admin.css"/>
<p:layout fullPage="true" resizeTitle="resize">
<p:layoutUnit styleClass="layoutUnitCenter" position="center" border="0">
<!-- menu -->
<ui:include src="/WEB-INF/components/admin/menu.xhtml" />
<!-- content -->
<h:panelGroup layout="block" id="content" rendered="#{access}">
<ui:insert name="content">Default content</ui:insert>
</h:panelGroup>
<h:panelGroup layout="block" id="no-content" rendered="#{not access}">
<center><h1>Access denied</h1></center>
</h:panelGroup>
</p:layoutUnit>
<p:layoutUnit position="south" resizable="true" id="south" size="95">
<!-- footer -->
<ui:include src="/WEB-INF/components/admin/footer.xhtml" />
</p:layoutUnit>
</p:layout>
<div id="dialog"><ui:insert name="dialog"></ui:insert></div>
</h:body>
</html>
<ui:composition template="/WEB-INF/components/admin/template.xhtml"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:cc="http://java.sun.com/jsf/composite/pfcomp"
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:define name="css">
</ui:define>
<ui:define name="title">
Admin panel - Comments
</ui:define>
<ui:param name="access" value="#{feedbackMB.userHasCommentPrivilege}"/>
<ui:define name="content">
<h1>COMMENTS</h1>
<h:form id="commentForm">
<p:messages id="messages" showDetail="true" autoUpdate="true" closable="true" />
<p:panelGrid columns="2" style="width:100%;height:100%;" >
<p:dataTable id="commentsDataTable" var="comment" value="#{feedbackMB.commentList}" paginator="true" rows="20" styleClass="paginated" paginatorAlwaysVisible="false">
<p:column sortBy="idObject" headerText="Id">
<h:outputText id="commentId" value="#{comment.idObject}" />
</p:column>
<p:column sortBy="title" headerText="Title">
<h:link value="#{comment.title}"
outcome="/index.xhtml?id=#{mapMB.currentMapId}&amp;x=#{comment.xCoord}&amp;y=#{comment.yCoord}&amp;zoom=#{comment.zoom}&amp;comments=on&amp;submap=#{comment.submap}"
target="_map"/>
</p:column>
<p:column sortBy="author" headerText="Author">
<h:outputText value="#{comment.author}" />
</p:column>
<p:column sortBy="email" headerText="Email">
<h:outputText value="#{comment.email}"/>
</p:column>
<p:column sortBy="content" headerText="Content">
<h:outputText value="#{comment.content}" />
</p:column>
<p:column sortBy="removed" headerText="Removed">
<h:outputText value="#{comment.removed}"/>
<p:commandButton actionListener="#{feedbackMB.removeComment(comment)}" icon="ui-icon-closethick" update="commentsDataTable" rendered="#{comment.removed=='NO'}" value="remove"/>
</p:column>
<p:column sortBy="pinned" headerText="Pinned">
<h:outputText value="#{comment.pinned}"/>
</p:column>
</p:dataTable>
<p:dataList value="#{projectMB.projects}" var="project" type="unordered" itemType="none" paginator="true" rows="10" styleClass="paginated" paginatorAlwaysVisible="false">
<f:facet name="header">
Projects
</f:facet>
<p:commandButton id="selectButton" icon="ui-icon-search" title="View" onclick="window.location.href='#{request.contextPath}/admin/comments.xhtml?id=#{project.projectId}';"/>
<h:link value="#{project.projectName} (#{project.projectId})" outcome="/index.xhtml?id=#{project.projectId}" target="_map_#{project.idObject}" style="#{project.projectId ==mapMB.currentMapId? 'background-color:#2DCAFF;':''}"/>
</p:dataList>
</p:panelGrid>
<center>
<p:commandButton id="refreshCommentButton" actionListener="#{feedbackMB.refreshCommentList}" icon="ui-icon-refresh" update="commentsDataTable"/>
</center>
</h:form>
</ui:define>
</ui:composition>
<ui:composition template="/WEB-INF/components/admin/template.xhtml"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:cc="http://java.sun.com/jsf/composite/pfcomp"
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:define name="css">
</ui:define>
<ui:define name="title">
Admin panel - Configuration
</ui:define>
<ui:param name="access" value="#{configurationMB.userHasConfigurationView}"/>
<ui:define name="content">
<cc:helpButton style="float:right" helpText='Configuration tab provides a summary of the current version of your MINERVA instance. Moreover, it allows privileged users to configure
global parameters of the MINERVA instance. More information can be found in the &lt;a href="#{request.contextPath}/javax.faces.resource/admin_guide.pdf.xhtml?ln=other" target="_admin_manual_" &gt;manual&lt;/a&gt;.'/>
<h1>CONFIGURATION</h1>
<h:form id="configurationForm">
<h:outputText value="System version: " class="text"/>
<h:outputText value="#{configurationMB.version.version}" class="text"/>
<br/>
<h:outputText value="Git build version: " />
<h:outputText value="#{configurationMB.version.gitVersion}" class="bold"/>
<br/>
<h:outputText value="Build date: " />
<h:outputText value="#{configurationMB.version.time}" class="bold"/>
<br/>
<br/>
<h:outputText value="PrimeFaces version: " />
<h:outputText value="#{configurationMB.primefacesVersion}" class="bold"/>
<br/>
<br/>
<h:outputText value="Memory usage: " />
<h:outputText value="#{configurationMB.memoryUsage}" class="bold"/>
<br/>
<h:outputText value="Max memory available: " />
<h:outputText value="#{configurationMB.maxMemory}" class="bold"/>
<br/>
<br/>
<h:outputText value="System parameters: " class="textLighter"/>
<p:dataTable id="configurationDataTable" var="configuration" value="#{configurationMB.values}">
<p:column sortBy="idObject" headerText="Id">
<h:outputText id="configurationId" value="#{configuration.idObject}" />
</p:column>
<p:column sortBy="title" headerText="Title">
<h:outputText value="#{configuration.type.commonName}" />
</p:column>
<p:column sortBy="value" headerText="Value">
<p:inputText value="#{configuration.value}" />
<p:colorPicker value="#{configuration.value}" rendered="#{configuration.type.editType == 'COLOR'}"/>
</p:column>
</p:dataTable>
<center>
<p:commandButton id="refreshConfigurationButton" actionListener="#{configurationMB.refreshValues}"
icon="ui-icon-refresh" update="configurationDataTable"/>
<p:commandButton id="saveConfigurationButton" actionListener="#{configurationMB.saveValues}"
icon="ui-icon-disk" update="configurationDataTable"/>
</center>
</h:form>
</ui:define>
</ui:composition>
<ui:composition template="/WEB-INF/components/admin/template.xhtml"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:cc="http://java.sun.com/jsf/composite/pfcomp"
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:define name="css">
<h:outputStylesheet library="css" name="genomes.css"/>
</ui:define>
<ui:define name="title">
Admin panel - Reference genomes
</ui:define>
<ui:param name="access" value="#{referenceGenomeMB.userHasManageGenomesPrivilege}"/>
<ui:define name="content">
<h1>Configured reference genomes</h1>
<h:form id="genomesForm">
<h:panelGroup layout="block" id="referenceGenomes">
<p:messages id="messages" showDetail="true" autoUpdate="true" closable="true" />
<p:dataTable id="referenceGenomesTable" var="genome" value="#{referenceGenomeMB.downloadedGenomes}">
<p:column sortBy="name" headerText="Genome type">
<h:outputText id="name" value="#{genome.type}" />
</p:column>
<p:column headerText="organism">
<h:outputText id="organism" value="#{referenceGenomeMB.getOrganismName(genome.organism)}" />
</p:column>
<p:column headerText="version">
<h:outputText id="version" value="#{genome.version}" />
</p:column>
<p:column headerText="progress">
<h:outputText value="Downloading " rendered="#{genome.downloadProgress &lt; 100.0}"/>
<h:outputText id="progressBar" value="#{genome.downloadProgress}" rendered="#{genome.downloadProgress &lt; 100.0}">
<f:convertNumber pattern="#0.00" />
</h:outputText>
<h:outputText value="%" rendered="#{genome.downloadProgress &lt; 100.0}"/>
<h:outputText id="progressReady" value="READY" rendered="#{genome.downloadProgress &gt;= 100.0}" />
</p:column>
<p:column headerText="source">
<h:outputText id="source" value="#{genome.sourceUrl}" />
</p:column>
<p:column style="width:4%">
<p:commandButton update=":#{p:component('genomeDlg')}" id="selectButton" oncomplete="PF('genomeDialog').show()" icon="ui-icon-search" title="View">
<f:setPropertyActionListener value="#{genome}" target="#{referenceGenomeMB.editedReferenceGenome}" />
</p:commandButton>
</p:column>
</p:dataTable>
<center>
<p:commandButton id="refreshGenomesButton" actionListener="#{referenceGenomeMB.refreshDownloadedGenomes}"
icon="ui-icon-refresh" update="referenceGenomesTable"/>
</center>
</h:panelGroup>
</h:form>
<h2>Add reference genome</h2>
<h:form id="addGenomeForm">
<p:messages id="messages" showDetail="true" autoUpdate="true" closable="true" />
<h:panelGrid id="addPanelGrid" columns="2" cellpadding="1">
<h:outputText value="Type: " />
<h:selectOneMenu value="#{referenceGenomeMB.selectedReferenceGenomeType}">
<f:selectItems value="#{referenceGenomeMB.genomeTypes}" var="genome"
itemLabel="#{genome}" itemValue="#{genome}" />
<f:ajax event="change" execute="@this" render="organismMenu"/>
<f:ajax event="change" execute="@this" render="versionMenu"/>
<f:ajax event="change" execute="@this" render="urlText"/>
</h:selectOneMenu>
<h:outputText value="Organism: " />
<h:selectOneMenu id="organismMenu" value="#{referenceGenomeMB.selectedOrganism}"
converter="miriamTypeConverter">
<f:selectItems value="#{referenceGenomeMB.availableOrganisms}" var="organism"
itemLabel="#{referenceGenomeMB.getOrganismName(organism)}" itemValue="#{organism}" />
<f:ajax event="change" execute="@this" render="versionMenu"/>
<f:ajax event="change" execute="@this" render="urlText"/>
</h:selectOneMenu>
<h:outputText value="Version: " />
<h:selectOneMenu id="versionMenu" value="#{referenceGenomeMB.selectedVersion}">
<f:selectItems value="#{referenceGenomeMB.availableVersions}" var="version"
itemLabel="#{version}" itemValue="#{version}" />
<f:ajax event="change" execute="@this" render="urlText"/>
</h:selectOneMenu>
<h:outputText value="Url to file (2bit): " />
<p:inputText id="urlText" value="#{referenceGenomeMB.selectedUrl}" style="width:400px !important;" />
</h:panelGrid>
<center>
<p:commandButton id="downloadGenomeButton" actionListener="#{referenceGenomeMB.downloadGenome}" value="Download" update=":genomesForm:referenceGenomesTable"
icon="ui-icon-save" />
</center>
</h:form>
</ui:define>
<ui:define name="dialog">
<h:form id="genomeDetailForm">
<p:dialog header="Genome Detail" widgetVar="genomeDialog" resizable="false" id="genomeDlg"
showEffect="fade" modal="true">
<p:tabView id="genomeDetailPanel">
<p:tab title="General">
<p:panelGrid columns="2">
<h:outputText value="Type:" />
<p:inputText value="#{referenceGenomeMB.editedReferenceGenome.type}"
readonly="true" styleClass="genomeValueField"/>
<h:outputText value="Organism:" />
<p:inputText value="#{referenceGenomeMB.getOrganismName(referenceGenomeMB.editedReferenceGenome.organism)}"
readonly="true" styleClass="genomeValueField"/>
<h:outputText value="Version: " />
<p:inputText value="#{referenceGenomeMB.editedReferenceGenome.version}"
readonly="true" styleClass="genomeValueField" />
<h:outputText value="Url to file:" />
<p:inputText value="#{referenceGenomeMB.editedReferenceGenome.sourceUrl}"
readonly="true" styleClass="genomeValueField" style="width:400px !important;"/>
</p:panelGrid>
<p:separator />
<p:commandButton update=":#{p:component('referenceGenomesTable')}"
actionListener="#{referenceGenomeMB.removeGenome(referenceGenomeMB.editedReferenceGenome)}"
id="removeButton" oncomplete="PF('genometDialog').hide()" icon="ui-icon-trash" value="Remove"
title="Remove"/>
<p:commandButton update=":#{p:component('referenceGenomesTable')}" id="cancelButton"
oncomplete="PF('genomeDialog').hide()" icon="ui-icon-close" value="Cancel" title="Cancel"/>
</p:tab>
<p:tab id="layoutTab" title="Gene mapping">
<p:dataTable id="geneMappingDataTable" var="geneMapping" value="#{referenceGenomeMB.editedReferenceGenome.geneMapping}"
rows="10"
paginator="true"
paginatorTemplate="{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink}">
<p:column sortBy="name" headerText="Name">
<p:inputText value="#{geneMapping.name}" readonly="true" />
</p:column>
<p:column sortBy="sourceUrl" headerText="Source">
<p:inputText value="#{geneMapping.sourceUrl}" readonly="true" />
</p:column>
<p:column sortBy="downloadProgress" headerText="Progress">
<h:outputText value="Downloading " rendered="#{geneMapping.downloadProgress &lt; 100.0}"/>
<h:outputText id="progressBar" value="#{geneMapping.downloadProgress}" rendered="#{geneMapping.downloadProgress &lt; 100.0}">
<f:convertNumber pattern="#0.00" />
</h:outputText>
<h:outputText value="%" rendered="#{geneMapping.downloadProgress &lt; 100.0}"/>
<h:outputText id="progressReady" value="READY" rendered="#{geneMapping.downloadProgress &gt;= 100.0}" />
</p:column>
<p:column headerText="Remove">
<p:commandButton update="geneMappingDataTable" actionListener="#{referenceGenomeMB.removeGeneMapping(geneMapping)}" id="removeGeneMappingButton" icon="ui-icon-trash"/>
</p:column>
</p:dataTable>
<p:separator />
<p:commandButton value="Add gene mapping" id="openAddGeneMapingButton" update=":#{p:component('geneMappingDlg')}" oncomplete="PF('geneMappingDialog').show()"/>
</p:tab>
</p:tabView>
</p:dialog>
</h:form>
<h:form id="addGeneMappingForm">
<p:dialog header="Add gene mapping" widgetVar="geneMappingDialog" resizable="false" id="geneMappingDlg"
showEffect="fade" modal="true" >
<p:panelGrid id="layoutDataTable" columns="2">
<h:outputText value="Name" />
<p:inputText value="#{referenceGenomeMB.selectedReferenceGenomeGeneMappingName}" />
<h:outputText value="File (url)" />
<p:inputText value="#{referenceGenomeMB.selectedReferenceGenomeGeneMappingUrl}" />
</p:panelGrid>
<center>
<p:commandButton id="addLayoutButton"
actionListener="#{referenceGenomeMB.addGeneMapping(referenceGenomeMB.editedReferenceGenome)}"
update=":genomeDetailForm:genomeDetailPanel:geneMappingDataTable" icon="ui-icon-disk"
value="Save" title="Save" onclick="PF('geneMappingDialog').hide();"/>
</center>
</p:dialog>
</h:form>
</ui:define>
</ui:composition>
<ui:composition template="/WEB-INF/components/admin/template.xhtml"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:cc="http://java.sun.com/jsf/composite/pfcomp"
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:define name="css">
</ui:define>
<ui:define name="title">
Admin panel - Miriam
</ui:define>
<ui:param name="access" value="true"/>
<ui:define name="content">
<cc:helpButton style="float:right" helpText='The MIRIAM panel lists all MIRIAM-supported resources (&lt;a href="http://www.ebi.ac.uk/miriam/main/mdb?section=intro" target="_miriam_" &gt;http://www.ebi.ac.uk/miriam/main/mdb?section=intro&lt;/a&gt;) currently handled by MINERVA platform as shown in the figure below. More information can be found in the &lt;a href="#{request.contextPath}/javax.faces.resource/admin_guide.pdf.xhtml?ln=other" target="_admin_manual_" &gt;manual&lt;/a&gt;.'/>
<h1>MIRIAM</h1>
<h:form id="miriamForm">
<p:messages id="messages" showDetail="true" autoUpdate="true" closable="true" />
<h:outputText value="Supported Miriam types: " class="textLighter"/>
<p:dataTable id="miriamDataTable" var="type" value="#{miriamMB.miriamTypes}">
<p:column sortBy="commonName" headerText="Annotation type">
<a target="_blank" href="#{type.dbHomepage}"><h:outputText value="#{type.commonName}" /></a>
</p:column>
<p:column sortBy="registryIdentifier" headerText="Miriam identifier">
<a target="_blank" href="http://www.ebi.ac.uk/miriam/main/collections/#{type.registryIdentifier}"><h:outputText value="#{type.registryIdentifier}" /></a>
</p:column>
<p:column headerText="Valid for elements:">
<p:dataList value="#{type.validClass}" var="classEl">
#{classEl.simpleName=="Object" ? "All": (classEl.simpleName=="ComplexSpecies" ? "Complex" : classEl.simpleName)}
</p:dataList>
</p:column>
<p:column headerText="Valid uri:">
<p:dataList value="#{type.uris}" var="uri" >
#{uri}
</p:dataList>
</p:column>
</p:dataTable>
</h:form>
</ui:define>
</ui:composition>
This diff is collapsed.
<ui:composition template="/WEB-INF/components/admin/template.xhtml"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:cc="http://java.sun.com/jsf/composite/pfcomp"
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:define name="css">
</ui:define>
<ui:define name="title">
Admin panel - Service status
</ui:define>
<ui:param name="access" value="#{feedbackMB.userHasCommentPrivilege}"/>
<ui:define name="content">
<cc:helpButton style="float:right" helpText='Service status tab lists all external services and databases cross-linked by MINERVA platform. The left column contains service name hyperlinked to the original website. The right column contains the status of the service. The checkup is invoked by the Refresh button at the bottom of the window.'/>
<h1>SERVICE STATUS</h1>
<h:form id="serviceForm">
<h:panelGroup layout="block" id="statusComponent">
<p:messages id="messages" showDetail="true" autoUpdate="true" closable="true" />
<p:dataTable id="statusesDataTable" var="service" value="#{statusMB.statuses}">
<p:column sortBy="name" headerText="Name">
<a href="#{service.page}" class="textBigger" target="_blank">
<h:outputText id="name" value="#{service.name}" />
</a>
</p:column>
<p:column sortBy="status" headerText="status">
<h:outputText id="status" value="#{service.status}" />
</p:column>
</p:dataTable>
<center>
<p:commandButton id="refreshStatusButton" actionListener="#{statusMB.refreshStatuses}"
icon="ui-icon-refresh" update="statusesDataTable" onclick="PF('statusPanelBlock').show()"
oncomplete="PF('statusPanelBlock').hide()">
</p:commandButton>
</center>
</h:panelGroup>
<p:blockUI block="statusComponent" widgetVar="statusPanelBlock">
CHECKING<br />
<p:graphicImage library="images" name="icons/ajax-loader.gif"/>
</p:blockUI>
</h:form>
</ui:define>
</ui:composition>
<ui:composition template="/WEB-INF/components/admin/template.xhtml"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:cc="http://java.sun.com/jsf/composite/pfcomp"
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:define name="css">
</ui:define>
<ui:define name="title">
Admin panel - User management
</ui:define>
<ui:param name="access" value="#{usersMB.userHasManagePrivileges}"/>
<ui:define name="content">
<h1>USERS</h1>
<h:form id="userForm">
<p:messages id="messages" showDetail="true" autoUpdate="true" closable="true" />
<p:dataTable id="usersDataTable" var="user" value="#{usersMB.userList}">
<p:column sortBy="id" headerText="Id">