ui.about.backgroundJobs.ftl Maven / Gradle / Ivy
<#-- @ftlvariable name="appUrl" type="com.infobip.kafkistry.webapp.url.AppUrl" -->
<#-- @ftlvariable name="backgroundJobStatuses" type="java.util.List" -->
<#include "../commonResources.ftl"/>
Kafkistry: About
<#include "../commonMenu.ftl">
<#import "../common/util.ftl" as util>
<#import "../common/infoIcon.ftl" as info>
<#assign activeNavItem = "background-jobs">
<#include "submenu.ftl">
Job
Cluster
Last
Duration
Status
<#list backgroundJobStatuses as jobStatus>
<#assign tooltip>
Executing class: ${jobStatus.job.key.jobClass}
${jobStatus.job.description}
#assign>
<#assign jobText>
#assign>
<@info.icon tooltip=tooltip text=jobText/>
<#if jobStatus.job.key.cluster??>
${jobStatus.job.key.cluster}
<#else>
---
#if>
${util.prettyDuration(jobStatus.lastDurationMs/1000.0)}
<#if jobStatus.lastSuccess>
SUCCESS
<#else>
FAILED
#if>
<#if jobStatus.lastFailureMessage??>
#if>
#list>
<#include "../common/pageBottom.ftl">