summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--design/style.css4
-rw-r--r--tpl/study/batch.php2
-rw-r--r--tpl/study/list.php8
3 files changed, 7 insertions, 7 deletions
diff --git a/design/style.css b/design/style.css
index bb3e2ef..5e26d29 100644
--- a/design/style.css
+++ b/design/style.css
@@ -59,7 +59,7 @@ body {
top: 50px;
left: 0px;
bottom: 0px;
- width: 300px;
+ width: 270px;
border-right: 1px solid #ddd;
overflow: auto;
padding: 16px;
@@ -67,7 +67,7 @@ body {
.contents-right {
margin-top: 50px;
- margin-left: 332px;
+ margin-left: 302px;
padding: 16px;
}
diff --git a/tpl/study/batch.php b/tpl/study/batch.php
index 842deaa..6eaa99c 100644
--- a/tpl/study/batch.php
+++ b/tpl/study/batch.php
@@ -11,7 +11,7 @@ $onload_js = 'show_batch_table();';
require("tpl/general/top.php");
-echo '<div class="small_right"><a href="batchreview-study-' . $info['batchid'] . '">test now</a></div>';
+echo '<div class="small_right"><a href="batchreview-study-' . $info['batchid'] . '">test now</a> | <a href="list-study-' . $info['studyid'] . '#batch_' . $info['batchid'] . '">back</a></div>';
echo '<h2>Items in this list</h2>';
echo '<div id="items">Please wait, processing...</div>';
diff --git a/tpl/study/list.php b/tpl/study/list.php
index 3bb16dd..265d8a7 100644
--- a/tpl/study/list.php
+++ b/tpl/study/list.php
@@ -39,14 +39,14 @@ foreach ($batches as $batch) {
$dc = ($batch['lr_date'] ? ' style="background-color: ' . $days_color .'"' : '');
echo '<tr>';
- echo '<td><code>' . $batch['name'] . '</code></td>';
+ echo '<td><a id="batch_' . $batch['id'] . '"></a><code>' . $batch['name'] . '</code></td>';
echo '<td><a href="batch-study-' . $batch['id'] . '">view</a> | <a href="batchreview-study-' . $batch['id'] . '">test</a></td>';
echo '<td>' . $batch['num_reviews'] . '</td>';
echo '<td'.$dc.'>' . ($batch['lr_date'] ? $batch['lr_date'] : "never") . '</td>';
echo '<td'.$color.'>' . ($batch['lr_date'] ? $batch['lr_score'] . '/100' : 'N/A') .
- ($batch['blr_date'] ? ($batch['lr_score'] > $batch['blr_score'] ? '<span style="color: green"> ⬈</span>' :
- ($batch['lr_score'] < $batch['blr_score'] ? '<span style="color: orange;"> ⬊</span>' :
- '<span style="color: grey"> ➡</span>')) : '') . '</td>';
+ ($batch['blr_date'] ? ($batch['lr_score'] > $batch['blr_score'] ? '<span style="color: green"> ➚</span>' :
+ ($batch['lr_score'] < $batch['blr_score'] ? '<span style="color: orange;"> ➘</span>' :
+ '<span style="color: grey"> ➙</span>')) : '') . '</td>';
echo '</tr>';
}
echo '</table>';