Commit 32c921e5 authored by Stacey Walker's avatar Stacey Walker Committed by Richard Mansfield
Browse files

css classes for blocktype and artefact theming


Signed-off-by: default avatarStacey Walker <stacey@catalyst.net.nz>
parent bd98d19e
......@@ -4,9 +4,9 @@
<colgroup width="50%" span="2"></colgroup>
<thead>
<tr>
<th>{str tag='completiondate' section='artefact.plans'}</th>
<th>{str tag='title' section='artefact.plans'}</th>
<th>{str tag='completed' section='artefact.plans'}</th>
<th class="c1">{str tag='completiondate' section='artefact.plans'}</th>
<th class="c2">{str tag='title' section='artefact.plans'}</th>
<th class="c3">{str tag='completed' section='artefact.plans'}</th>
</tr>
</thead>
<tbody>
......
{foreach from=$tasks.data item=task}
{if $task->completed == -1}
<tr class="plan_incomplete">
<td>{$task->completiondate|escape}</td>
<td>{$task->title|escape}<div>{$task->description|escape}</div></td>
<td>&nbsp;</td>
<td class="c1">{$task->completiondate|escape}</td>
<td class="c2">{$task->title|escape}</td>
<td class="c3">&nbsp;</td>
</tr>
{else}
<tr class="{cycle values='r0,r1'}">
<td>{$task->completiondate|escape}</td>
<td>{$task->title|escape}<div>{$task->description|escape}</div></td>
<td class="c1">{$task->completiondate|escape}</td>
<td class="c2">{$task->title|escape}<div>{$task->description|escape}</div></td>
{if $task->completed == 1}
<td><div class="plan_completed"><img src="{$WWWROOT}theme/raw/static/images/success.gif" alt="" /></div></td>
<td class="c3"><div class="plan_completed"><img src="{$WWWROOT}theme/raw/static/images/success.gif" alt="" /></div></td>
{else}
<td>&nbsp;</td>
<td class="c3">&nbsp;</td>
{/if}
</tr>
{/if}
......@@ -2,25 +2,25 @@
{foreach from=$tasks.data item=task}
{if $task->completed == -1}
<tr class="incomplete">
<td>{$task->completiondate}</td>
<td>{$task->title}</td>
<td>{$task->description}</td>
<td>&nbsp;</td>
<td><a href="{$WWWROOT}artefact/plans/edit/task.php?id={$task->task}">Edit</a></td>
<td><a href="{$WWWROOT}artefact/plans/delete/task.php?id={$task->task}">Delete</a></td>
<td class="c1">{$task->completiondate}</td>
<td class="c2">{$task->title}</td>
<td class="c3">{$task->description}</td>
<td class="c4">&nbsp;</td>
<td class="c5"><a href="{$WWWROOT}artefact/plans/edit/task.php?id={$task->task}">Edit</a></td>
<td class="c6"><a href="{$WWWROOT}artefact/plans/delete/task.php?id={$task->task}">Delete</a></td>
</tr>
{else}
<tr class="{cycle values='r0,r1'}">
<td>{$task->completiondate}</td>
<td>{$task->title}</td>
<td>{$task->description}</td>
<td class="c1">{$task->completiondate}</td>
<td class="c2">{$task->title}</td>
<td class="c3">{$task->description}</td>
{if $task->completed == 1}
<td><div class="completed"><img src="{$WWWROOT}theme/raw/static/images/success.gif" alt="" /></div></td>
<td class="c4"><div class="completed"><img src="{$WWWROOT}theme/raw/static/images/success.gif" alt="" /></div></td>
{else}
<td>&nbsp;</td>
<td class="c4">&nbsp;</td>
{/if}
<td><a href="{$WWWROOT}artefact/plans/edit/task.php?id={$task->task}">Edit</a></td>
<td><a href="{$WWWROOT}artefact/plans/delete/task.php?id={$task->task}">Delete</a></td>
<td class="c5"><a href="{$WWWROOT}artefact/plans/edit/task.php?id={$task->task}">Edit</a></td>
<td class="c6"><a href="{$WWWROOT}artefact/plans/delete/task.php?id={$task->task}">Delete</a></td>
</tr>
{/if}
{/foreach}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment