Commit 0e7c5280 authored by Evonne Cheung's avatar Evonne Cheung Committed by Hugh Davenport
Browse files

artefact/plans: Theme update



Responsive theme

Bug #1041645

Change-Id: Ie51b967ba6720d76be82ac682efff82a609d6f0a
Signed-off-by: default avatarHugh Davenport <hugh@catalyst.net.nz>
parent 71a7bf59
<div class="blockinstance-content">
{if $tasks.data}
<table id="tasktable_{$blockid}" class="plansblocktable">
<colgroup width="50%" span="2"></colgroup>
......@@ -19,4 +19,3 @@
{else}
<p>{str tag='notasks' section='artefact.plans'}</p>
{/if}
</div>
/**
* CSS rules for the resume artefact plugin
*
* Copyright (C) 2006-2009 Catalyst IT
* This file is distributed under the same terms as Mahara itself
*/
#planswrap table tr.incomplete {
background: #ffd2d8;
color: #DD0221;
border-top: 1px solid #080D0F;
}
#planswrap table tr.incomplete a.btn-edit {
color: #458400;
}
......@@ -7,13 +7,13 @@
<div>{str tag="planstasksdesc" section="artefact.plans"}</div>
<div class="message">{$strnotasksaddone|safe}</div>
{else}
<table id="taskslist">
<table id="taskslist" class="fullwidth listing">
<thead>
<tr>
<th>{str tag='completiondate' section='artefact.plans'}</th>
<th>{str tag='title' section='artefact.plans'}</th>
<th>{str tag='description' section='artefact.plans'}</th>
<th>{str tag='completed' section='artefact.plans'}</th>
<th class="completiondate">{str tag='completiondate' section='artefact.plans'}</th>
<th class="plantasktitle">{str tag='title' section='artefact.plans'}</th>
<th class="plantaskdescription">{str tag='description' section='artefact.plans'}</th>
<th class="completed">{str tag='completed' section='artefact.plans'}</th>
<th class="planscontrols"></th>
</tr>
</thead>
......
......@@ -9,9 +9,9 @@
<table id="planslist">
<thead>
<tr>
<th>{str tag='completiondate' section='artefact.plans'}</th>
<th>{str tag='title' section='artefact.plans'}</th>
<th>{str tag='description' section='artefact.plans'}</th>
<th class="completiondate">{str tag='completiondate' section='artefact.plans'}</th>
<th class="plantitle">{str tag='title' section='artefact.plans'}</th>
<th class="plandescription">{str tag='description' section='artefact.plans'}</th>
<th class="planscontrols"></th>
<th class="planscontrols"></th>
<th class="planscontrols"></th>
......
/**
* CSS rules for the resume artefact plugin
*
* Copyright (C) 2006-2009 Catalyst IT
* Copyright (C) 2006-2012 Catalyst IT
* This file is distributed under the same terms as Mahara itself
*/
th.planscontrols {
width: 40px !important;
}
#planswrap table {
width: 100%;
}
#planswrap table tr.incomplete td {
background: #f5e8e9;
color: #DD0221;
border-bottom: 2px solid #FFF;
}
#planswrap table td div.completed {
text-align: center;
width: 60px;
}
#container #planswrap table td.errmsg {
padding-left: 20px;
}
fieldset legend.plansh3 a {
background: none;
padding: 0;
}
ul.planslist {
margin: 0;
}
......@@ -39,10 +18,15 @@ ul.planslist li {
list-style: none;
margin: 0 0 3px 0;
}
.codesc {
font-size: .9167em;
margin: 3px 0 0 0;
line-height: 1.25em;
}
/* plan tasks */
#taskslist td {
padding: 5px 5px 3px 5px;
}
#taskslist th.completed, #taskslist td.completed {
text-align: center;
}
\ No newline at end of file
{foreach from=$tasks.data item=task}
{if $task->completed == -1}
<tr class="plan_incomplete">
<td class="c1">{$task->completiondate}</td>
<td class="completiondate">{$task->completiondate}</td>
{if $task->description}
<td class="c2"><a class="task-title" href="">{$task->title}</a>
<td class="plantasktitledescript"><a class="task-title" href="">{$task->title}</a>
<div class="task-desc hidden">{$task->description}</div></td>
{else}
<td class="c2">{$task->title}</td>
<td class="plantasktitle">{$task->title}</td>
{/if}
<td class="c3">&nbsp;</td>
<td>&nbsp;</td>
</tr>
{else}
<tr class="{cycle values='r0,r1'}">
<td class="c1">{$task->completiondate}</td>
<td class="completiondate">{$task->completiondate}</td>
{if $task->description}
<td class="c2"><a class="task-title" href="">{$task->title}</a>
<td class="plantasktitledescript"><a class="task-title" href="">{$task->title}</a>
<div class="task-desc hidden" id="task-desc-{$task->id}">{$task->description}</div></td>
{else}
<td class="c2">{$task->title}</td>
<td class="plantasktitle">{$task->title}</td>
{/if}
{if $task->completed == 1}
<td class="c3"><div class="plan_completed"><img src="{$WWWROOT}theme/raw/static/images/success.gif" alt="" /></div></td>
<td class="completed"><div class="plan_completed"><img src="{$WWWROOT}theme/raw/static/images/success.gif" alt="" /></div></td>
{else}
<td class="c3">&nbsp;</td>
<td>&nbsp;</td>
{/if}
</tr>
{/if}
{foreach from=$tasks.data item=task}
{if $task->completed == -1}
<tr class="incomplete">
<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="completiondate">{$task->completiondate}</td>
<td class="plantasktitle">{$task->title}</td>
<td class="plantaskdescription">{$task->description}</td>
<td>&nbsp;</td>
{else}
<tr class="{cycle values='r0,r1'}">
<td class="c1">{$task->completiondate}</td>
<td class="c2">{$task->title}</td>
<td class="c3">{$task->description}</td>
<td class="completiondate">{$task->completiondate}</td>
<td class="plantasktitle">{$task->title}</td>
<td class="plantaskdescription">{$task->description}</td>
{if $task->completed == 1}
<td class="c4"><div class="completed"><img src="{$WWWROOT}theme/raw/static/images/success.gif" alt="" /></div></td>
<td class="completed"><img src="{$WWWROOT}theme/raw/static/images/success.gif" alt="" /></td>
{else}
<td class="c4">&nbsp;</td>
<td>&nbsp;</td>
{/if}
{/if}
<td class="c5 buttonscell"><a href="{$WWWROOT}artefact/plans/edit/task.php?id={$task->task}" title="{str tag=edit}"><img src="{theme_url filename='images/edit.gif'}" alt="{str tag=edit}"></a>
<td class="buttonscell btns2 planscontrols"><a href="{$WWWROOT}artefact/plans/edit/task.php?id={$task->task}" title="{str tag=edit}"><img src="{theme_url filename='images/edit.gif'}" alt="{str tag=edit}"></a>
<a href="{$WWWROOT}artefact/plans/delete/task.php?id={$task->task}" title="{str tag=delete}"><img src="{theme_url filename='images/icon_close.gif'}" alt="{str tag=delete}"></a></td>
</tr>
{/foreach}
Supports Markdown
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