Ignore:
Timestamp:
Feb 18, 2010, 3:42:40 AM (14 years ago)
Author:
gav
Message:

Svn move InventoryGroup controller and views to detailed and complete detailing.

Location:
trunk/grails-app/views/inventoryGroupDetailed
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/inventoryGroupDetailed/list.gsp

    r178 r380  
    66        <meta name="layout" content="main" />
    77        <title>InventoryGroup List</title>
     8        <nav:resources override="true"/>
    89    </head>
    910    <body>
    1011        <div class="nav">
    11             <span class="menuButton"><g:link class="create" action="create">New InventoryGroup</g:link></span>
     12            <nav:renderSubItems group="navAlt"/>
    1213        </div>
    1314        <div class="body">
    14             <h1>InventoryGroup List</h1>
    1515            <g:if test="${flash.message}">
    1616            <div class="message">${flash.message}</div>
     
    2121                        <tr>
    2222                       
    23                                 <g:sortableColumn property="id" title="Id" />
    24                        
    25                                 <g:sortableColumn property="name" title="Name" />
    26                        
    27                                 <g:sortableColumn property="description" title="Description" />
    28                        
    29                                 <g:sortableColumn property="isActive" title="Is Active" />
     23                            <g:sortableColumn property="id" title="Id" />
     24
     25                            <g:sortableColumn property="name" title="Name" />
     26
     27                            <g:sortableColumn property="description" title="Description" />
     28
     29                            <g:sortableColumn property="isActive" title="Is Active" />
     30
     31                            <th></th>
    3032                       
    3133                        </tr>
     
    3335                    <tbody>
    3436                    <g:each in="${inventoryGroupInstanceList}" status="i" var="inventoryGroupInstance">
    35                         <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
     37                        <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/inventoryGroupDetailed/show/${inventoryGroupInstance.id}"'/>
    3638                       
    37                             <td><g:link action="show" id="${inventoryGroupInstance.id}">${fieldValue(bean:inventoryGroupInstance, field:'id')}</g:link></td>
     39                            <td>${fieldValue(bean:inventoryGroupInstance, field:'id')}</td>
    3840                       
    3941                            <td>${fieldValue(bean:inventoryGroupInstance, field:'name')}</td>
     
    4244                       
    4345                            <td>${fieldValue(bean:inventoryGroupInstance, field:'isActive')}</td>
     46
     47                            <td>
     48                                <g:link action="show" id="${inventoryGroupInstance.id}">
     49                                    <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
     50                                </g:link>
     51                            </td>
    4452                       
    4553                        </tr>
Note: See TracChangeset for help on using the changeset viewer.