2009-04-02 00:53:45 +08:00
|
|
|
|
|
|
|
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
|
|
|
<meta name="layout" content="main" />
|
|
|
|
<title>Conference List</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="nav">
|
|
|
|
<span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
|
|
|
|
<span class="menuButton"><g:link class="create" action="create">New Conference</g:link></span>
|
|
|
|
</div>
|
|
|
|
<div class="body">
|
|
|
|
<h1>Your Conferences</h1>
|
|
|
|
<g:if test="${flash.message}">
|
|
|
|
<div class="message">${flash.message}</div>
|
|
|
|
</g:if>
|
|
|
|
<div class="list">
|
|
|
|
<table>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2009-04-30 03:38:46 +08:00
|
|
|
<g:sortableColumn property="name" title="Conference Name" />
|
2009-04-02 00:53:45 +08:00
|
|
|
<g:sortableColumn property="dateCreated" title="Date Created" />
|
|
|
|
<g:sortableColumn property="lastUpdated" title="Last Updated" />
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<g:each in="${conferenceList}" status="i" var="conference">
|
|
|
|
<tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
|
2009-04-30 03:38:46 +08:00
|
|
|
<td><g:link action="show" id="${conference.id}">${fieldValue(bean:conference, field:'name')}</g:link></td>
|
2009-04-02 00:53:45 +08:00
|
|
|
<td>${fieldValue(bean:conference, field:'dateCreated')}</td>
|
|
|
|
<td>${fieldValue(bean:conference, field:'lastUpdated')}</td>
|
|
|
|
</tr>
|
|
|
|
</g:each>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|