Skip to content
Snippets Groups Projects
Select Git revision
  • master default
  • 1.12
  • 1.11
  • 1.10
  • 1.9
  • 1.8
  • 1.7
  • 1.6-beta
8 results

ProjectOverview.xhtml

Blame
  • user avatar
    Nils Christian Ehmke authored
    Started with an improved version of the GUI, including a multi user mode; Updated also the Kieker-jar.
    f7243b4c
    History
    ProjectOverview.xhtml 5.30 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">
    <html xmlns="http://www.w3.org/1999/xhtml"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:ui="http://java.sun.com/jsf/facelets"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:p="http://primefaces.org/ui"
          xmlns:c="http://java.sun.com/jsp/jstl/core">
    
        <h:head>
            <title>Kieker.WebGUI</title>
            <link rel="stylesheet" type="text/css" href="../css/Common.css" />
            <link rel="stylesheet" type="text/css" href="../css/ProjectOverview.css" />
        </h:head>
    
        <h:body>
    
            <p:layout fullPage="true">
                <p:layoutUnit position="north" header="Kieker.WebGUI">
                    <h:form id="menubarForm">
                        <p:menubar>
                            <p:submenu label="File">
                                <p:menuitem value="New Project" onclick="newProjectDialog.show()" ajax="true"/>
                                <p:menuitem value="Import Project" ajax="true"/>
                                <p:separator/>
                                <p:menuitem value="Refresh Projects List" update=":projectsListForm" ajax="true"/>
                                <p:separator/>
                                <p:menuitem value="Settings" onclick="settingsDialog.show()" ajax="true"/>
                            </p:submenu>
    
                            <p:submenu label="Help">
                                <p:menuitem value="User Guide" ajax="true"/>
                                <p:separator/>
                                <p:menuitem value="About..." onclick="aboutDialog.show()" ajax="true"/>
                            </p:submenu>
    
                            <p:menuitem styleClass="logOutButton" disabled="true" value="#{userBean.userName} [Log Out]" ajax="true"/>
                        </p:menubar>
                    </h:form>
                </p:layoutUnit>
    
                <p:layoutUnit position="center">
                    <h:form id="projectsListForm">
                        <p:dataTable rows="15" paginator="true" var="project" value="#{projectsBean.projects}" paginatorTemplate="{CurrentPageReport}  {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}">  
                            <p:column headerText="Project Name" id="modelHeader" sortBy="#{project}">  
                                <h:outputText value="#{project}" />  
                            </p:column>  
    
                            <p:column headerText="Owner">   
                                <h:outputText value="N/A" />  
                            </p:column>  
    
                            <p:column headerText="Last Modification" sortBy="#{projectsBean.getCurrTimeStamp(project)}">  
                                <h:outputText value="#{projectsBean.getCurrTimeStamp(project)}" />  
                            </p:column>  
                            
                            <p:column headerText="Analysis" style="text-align: center">  
                                <h:outputText value="#{projectsBean.getAnalysisControllerState(project)}"/>  
                            </p:column> 
    
                            <p:column headerText="Options" style="text-align: center; width: 280px">
                                <p:commandButton id="openButton" ajax="false" action="#{currentWorkSpaceProjectBean.setProject(projectsBean.openProject(project), project)}" icon="ui-icon-folder-open"/>
                                <p:commandButton id="copyButton" icon="ui-icon-copy"/>
                                <p:commandButton id="renameButton" icon="ui-icon-pencil"/>
                                <p:commandButton id="deleteButton" icon="ui-icon-trash"/>      
                                <p:spacer height="0" width="10"/>
                                <p:commandButton id="controlAnalysis" ajax="false" action="#{currentAnalysisControllerProjectBean.setProject(project)}" icon="ui-icon-wrench"/>
                                <p:commandButton id="editAnalysisViews" icon="ui-icon-pencil"/>
                                <p:commandButton id="showAnalysis" ajax="false" action="#{currentAnalysisCockpitProjectBean.setProject(project)}" icon="ui-icon-search"/>
    
                                <p:tooltip for="deleteButton" value="Delete Project"/>
                                <p:tooltip for="openButton" value="Open Project"/>
                                <p:tooltip for="renameButton" value="Rename Project"/>
                                <p:tooltip for="copyButton" value="Copy Project"/>
                                <p:tooltip for="controlAnalysis" value="Open Analysis Control"/>
                                <p:tooltip for="editAnalysisViews" value="Edit Analysis Views"/>
                                <p:tooltip for="showAnalysis" value="View Running Analysis"/>
                            </p:column>
                        </p:dataTable>  
                    </h:form>
                </p:layoutUnit>
    
            </p:layout>
    
            <p:growl id="messages" life="1500" showDetail="true"  autoUpdate="false" sticky="false"/>  
    
             <!-- Include the dialogs for the project managment. -->
            <ui:include src="dialogs/projectDialogs.xhtml" />
            
            <!-- Include the dialog for the configuration. -->
            <ui:include src="dialogs/settingsDialog.xhtml" />
    
            <!-- Include the about-dialog. -->
            <ui:include src="dialogs/aboutDialog.xhtml" />
        </h:body>
    </html>