diff --git a/webui/source/pages/home.php b/webui/source/pages/home.php index 1977aa7..2d5edd7 100644 --- a/webui/source/pages/home.php +++ b/webui/source/pages/home.php @@ -1,10 +1,12 @@ smarty->assign('running_jobs', $running_jobs); + $this->smarty->assign('queued_jobs', $queued_jobs); $this->smarty->assign('completed_jobs', $completed_jobs); $this->smarty->assign('failed_jobs', $failed_jobs); diff --git a/webui/source/templates/home.tpl b/webui/source/templates/home.tpl index f9c1417..c7289c5 100644 --- a/webui/source/templates/home.tpl +++ b/webui/source/templates/home.tpl @@ -4,7 +4,17 @@ {if $running_jobs} {foreach from=$running_jobs item=job} -
  • Job {$job->id()}
  • +
  • {$job->name()} ({$job->currentStatus()->ripProgress()}%)
  • + {/foreach} +{else} + There are no currently running jobs. +{/if} + +

    Queued Jobs

    + +{if $queued_jobs} + {foreach from=$queued_jobs item=job} +
  • {$job->name()}
  • {/foreach} {else} There are no currently running jobs. @@ -15,7 +25,7 @@ {if $completed_jobs} {else} @@ -27,7 +37,7 @@ {if $failed_jobs} {else}