Skip to content
Snippets Groups Projects
AnalysisCockpit.xhtml 3.15 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/AnalysisCockpit.css" />
    </h:head>

    <h:body>

        <!-- This is the layout for the whole page. -->
        <p:layout id="layout" fullPage="true">

            <p:layoutUnit position="north" collapsible="false" header="Kieker.WebGUI - Cockpit">
                <h:form>
                    <p:menubar>
                        <p:submenu label="File">
                            <p:menuitem value="Close Cockpit" action="#{currentAnalysisCockpitProjectBean.clearProject()}" ajax="false"/>
                            <p:separator/>
                            <p:menuitem value="Settings" onclick="settingsDlg.show()" ajax="true"/>
                        </p:submenu>

                        <p:submenu label="Help">
                            <p:menuitem value="User Guide" ajax="true"/>
                            <p:separator/>
                            <p:menuitem value="About..." onclick="aboutDlg.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" id="centerLayout">
                <p:dashboard id="board" model="#{currentAnalysisCockpitProjectBean.model}">
                    <p:panel id="panel1" header="N/A">  
                        <h:outputText value="N/A" />  
                    </p:panel>
                      <p:panel id="panel2" header="N/A">  
                        <h:outputText value="N/A" />  
                    </p:panel>
                </p:dashboard>
            </p:layoutUnit>

            <p:layoutUnit position="west" size="300" header="Views" resizable="true" collapsible="true">
                <h:form id="viewsForm">
                    <p:accordionPanel multiple="true" activeIndex="" value="#{currentAnalysisCockpitProjectBean.views}" var="currView">
                        <p:tab title="#{currView}">
                            <h:outputText value="Some description here."/>
                        </p:tab>
                    </p:accordionPanel>
                </h:form>
            </p:layoutUnit>
        </p:layout>

        <p:growl id="messages" life="1500" showDetail="true"  autoUpdate="false" sticky="false"/>  

        <!-- 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>