Changeset 879


Ignore:
Timestamp:
Jun 4, 2010, 5:33:59 PM (14 years ago)
Author:
slederer
Message:

Beginn der Überarbeitung des GUI-Layouts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vanHelsing/trunk/gui/WebContent/menu.jspx

    r872 r879  
    1818    <ice:outputText style="color:grey; font-size:32px" value="Van Helsing"/>
    1919    <ice:form>
    20    
    21         <ice:panelTabSet>
    22                 <ice:panelTab  label="Configuration">
    23                
    24                         <ice:panelDivider style="height:600px;width:95%" dividerPosition="30">
     20                            <!-- <ice:panelGroup style="float:top"> -->
     21                            <ice:panelLayout layout="flow">
     22                                <ice:commandButton id="newClient"
     23                                        value="create client"
     24                                        actionListener="#{configurationBean.newClientButtonListener}" />
     25                                       
     26                                        <ice:commandButton id="reloadRes"
     27                                                value="reload Tree"
     28                                                actionListener="#{configurationBean.reloadResourceButtonListener}" />
     29                                       
     30                                        <ice:commandButton id="saveRes"
     31                                        value="update resource"
     32                                        actionListener="#{configurationBean.saveButtonListener}"/>
     33                                       
     34                                        <ice:commandButton id="deleteRes"
     35                                                value="delete resource"
     36                                                actionListener="#{configurationBean.deleteResourceButtonListener}" />
     37                                </ice:panelLayout>
     38
     39                <ice:panelDivider style="height:600px;width:95%" dividerPosition="30">
    2540                        <f:facet name="first">
    2641                        <ice:tree id="baum"     
     
    5974                        </ice:panelDivider>
    6075
    61                             <ice:panelGroup style="float:top">
    62                                 <ice:commandButton id="newClient"
    63                                         value="create client"
    64                                         actionListener="#{configurationBean.newClientButtonListener}" />
    65                                        
    66                                         <ice:commandButton id="reloadRes"
    67                                                 value="reload Tree"
    68                                                 actionListener="#{configurationBean.reloadResourceButtonListener}" />
    69                                        
    70                                         <ice:commandButton id="saveRes"
    71                                         value="update resource"
    72                                         actionListener="#{configurationBean.saveButtonListener}"/>
    73                                        
    74                                         <ice:commandButton id="deleteRes"
    75                                                 value="delete resource"
    76                                                 actionListener="#{configurationBean.deleteResourceButtonListener}" />
    77                                 </ice:panelGroup>
    78                        
    79                 </ice:panelTab>
    80          
    81                 <ice:panelTab label="Job / Schedule">
    82                         <ice:commandButton id="createNode"
    83                                 value="create"
    84                                 actionListener="#{jobScheduleBean.createNodeListener}" />
    85 
    86                         <ice:commandButton id="updateNode"
    87                                 value="update"
    88                                 actionListener="#{jobScheduleBean.updateNodeListener}" />
    89 
    90                         <ice:commandButton id="deleteNode"
    91                                 value="delete" actionListener="#{jobScheduleBean.deleteNodeListener}">
    92                                         <f:param name="userObject.resId" value="#{item.userObject.userObject.resId}"/>
    93                                         <f:param name="userObject.resName" value="#{item.userObject.userObject.resName}" />
    94                                 </ice:commandButton>                           
    95                         <ice:commandButton id="reloadTree"
    96                                 value="reloadTree"
    97                                 actionListener="#{jobScheduleBean.reloadTreeListener}" />
    98                        
    99                         <ice:panelDivider style="height:600px;width:85%" dividerPosition="30">
    100                                         <f:facet name="first">
    101                                 <ice:tree id="baum2"   
    102                                         value="#{jobScheduleBean.dataTree.tree}"
    103                                         var="item"
    104                                         hideRootNode = "false"
    105                                         hideNavigation ="false"
    106                                         imageDir = "css/images/">
    107                                                         <ice:treeNode id="knoten">
    108                                                                 <f:facet name="icon">
    109                                                                 <ice:panelGroup style="display: inline" >
    110                                                     <ice:graphicImage
    111                                                          value="/css/images/#{item.userObject.icon}"/>
    112                                                         </ice:panelGroup>
    113                                                                 </f:facet>
    114                                                                 <f:facet name="content">
    115                                                                         <ice:commandLink actionListener="#{jobScheduleBean.selectNode}">
    116                                                                         <f:param name="userObject.resId" value="#{item.userObject.userObject.resId}"/>
    117                                                                         <f:param name="userObject.resName" value="#{item.userObject.userObject.resName}" />
    118                                                                     <ice:outputText id="knoten" value="#{item.userObject.userObject.resName}" />
    119                                                                         </ice:commandLink>
    120                                                                 </f:facet>
    121                                                         </ice:treeNode>
    122                                                 </ice:tree>
    123                                         </f:facet>
    124                                         <f:facet name="second">
    125                                         </f:facet>
    126                         </ice:panelDivider>                     
    127                 </ice:panelTab>
    128          
    129                 <ice:panelTab label="Topology">
    130                 </ice:panelTab>
    131 
    132                         <ice:panelTab label="Dependencies">
    133                         </ice:panelTab>
    134         </ice:panelTabSet>
    135        
    13676    </ice:form>
    13777    <ice:form>
Note: See TracChangeset for help on using the changeset viewer.