Updated all page templates

Log page now displays recent log entries
Job Details page now shows job-specific log entries.
Jobs page lists all jobs in the database, while homepage lists all
running/completed/failed jobs in groups
This commit is contained in:
2010-03-18 02:05:32 +00:00
parent 9af46a1c5d
commit 69cead4ca3
9 changed files with 196 additions and 20 deletions

View File

@@ -1 +1,27 @@
Jobs
<h2>Jobs</h2>
{if $jobs}
<table>
<thead>
<tr>
<th>Name</th>
<th>Destination</th>
<th>Title</th>
<th>Status</th>
</tr>
</thead>
<tbody>
{foreach from=$jobs item=job}
{assign var=current_status value=$job->currentStatus()}
<tr>
<td><a href="{$base_uri}/job-details/id/{$job->id()}" title="View job details">{$job->name()}</a></td>
<td>{$job->destination()}</td>
<td>{$job->title()}</td>
<td>{$current_status->statusName()}</td>
</tr>
{/foreach}
</tbody>
</table>
{else}
<em>There are no jobs</em>
{/if}