Skip to content

Commit

Permalink
Lichen: add 'in queue' and 'running' labels (#2607)
Browse files Browse the repository at this point in the history
  • Loading branch information
tushargr authored and bmcutler committed Jul 31, 2018
1 parent 0562b44 commit 0181947
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions site/app/views/admin/PlagiarismView.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,10 @@ public function plagiarismMainPage($semester, $course, $gradeables_with_plagiari
#lichen job in queue for this gradeable but processing not started
if (file_exists("/var/local/submitty/daemon_job_queue/lichen__" . $semester . "__" . $course . "__" . $id . ".json")) {
$return .= <<<HTML
<tr style="color:red;">
<tr style="color:grey;">
<td>$title
</td>
<td><i class="fa fa-pencil" aria-hidden="true"></i>
</td>
<td><i class="fa fa-refresh" aria-hidden="true"></i>
</td>
<td><i class="fa fa-trash" aria-hidden="true"></i>
<td colspan=3><i>in queue</i>
</td>
<td>
Last run: $timestamp
Expand All @@ -75,11 +71,7 @@ public function plagiarismMainPage($semester, $course, $gradeables_with_plagiari
<tr style="color:green;">
<td>$title
</td>
<td><i class="fa fa-pencil" aria-hidden="true"></i>
</td>
<td><i class="fa fa-refresh" aria-hidden="true"></i>
</td>
<td><i class="fa fa-trash" aria-hidden="true"></i>
<td colspan=3><i>running</i>
</td>
<td>
Last run: $timestamp
Expand Down

0 comments on commit 0181947

Please sign in to comment.