All Downloads are FREE. Search and download functionalities are using the official Maven repository.

serposcope.views.HomeController.homeLayout.ftl.html Maven / Gradle / Ivy

The newest version!
<#assign sideMenu>
  • ${i18n("label.groups")}
  • <#macro homeLayout title="" > <#import "../layout/root.ftl.html" as layout> <@layout.rootLayout i18n("home.title") "${sideMenu}" >
    ${i18n("label.dbSize")} : <#if diskUsage?? >${diskUsage}<#else>${i18n("label.unavailableOnMySQL")} [${i18n("label.settings")?lower_case}]
    ${i18n("label.diskFree")} : <#if diskFree?? >${diskFree}<#else>${i18n("label.unavailable")}
    ${i18n("home.lastTasks")} : <#if lastRuns?? && lastRuns?has_content > <#list lastRuns as task> <#switch task.status> <#case "RUNNING"> <#assign taskLabel="primary" > <#assign taskCaption=i18n("home.taskRunning") > <#break> <#case "ABORTING"> <#assign taskLabel="warning" > <#assign taskCaption=i18n("home.taskAborting") > <#break> <#case "DONE_SUCCESS"> <#assign taskLabel="success" > <#assign taskCaption=i18n("home.taskOk") > <#break> <#default> <#assign taskLabel="danger" > <#assign taskCaption=i18n("home.taskFailure") > <#else> - ${i18n("label.tasks")} | ${i18n("label.logs")} <#if currentRun?? && currentRun.isRunning() > | ${i18n("label.abort")}
    <#if currentRun?? && currentRun.isRunning() >
    progress-bar-warning" style="width: ${currentRun.getProgress()}%; min-width: 50px;" > <#if currentRun.getStatus() != "RUNNING" >${i18n("admin.task.aborting")}<#else>${currentRun.getProgress()} %
    <#if lastRun?? >
    ${lastRun.getDay()} <#if lastRun.status != "DONE_SUCCESS" > (${i18n("home.taskFailure")})
    <#if hasTarget > <#nested> <#else>

    ${i18n("home.noTarget")}

    <#else>

    ${i18n("home.welcome")}





    <#noescape>${i18n("home.quickStart")}





    © 2015 - 2024 Weber Informatics LLC | Privacy Policy