ui.clusters.all.ftl Maven / Gradle / Ivy
<#-- @ftlvariable name="lastCommit" type="java.lang.String" -->
<#-- @ftlvariable name="appUrl" type="com.infobip.kafkistry.webapp.url.AppUrl" -->
<#-- @ftlvariable name="pendingClustersUpdates" type="java.util.Map>" -->
<#-- @ftlvariable name="gitStorageEnabled" type="java.lang.Boolean" -->
<#-- @ftlvariable name="clustersStatuses" type="java.util.List" -->
<#include "../commonResources.ftl"/>
Kafkistry: Clusters
<#include "../commonMenu.ftl">
<#import "../common/util.ftl" as util>
<#if gitStorageEnabled>
<#assign pendingUpdates = pendingClustersUpdates>
<#assign entityName = "Cluster">
<#include "../common/pendingChangeRequests.ftl">
#if>
Status of clusters registry
<#assign disabledCount = 0>
Cluster
Tags
Status
Nodes/Brokers
Inspect
<#list clustersStatuses as clusterStatus>
<#if clusterStatus.clusterState == "DISABLED">
<#assign disabledCount++>
<#continue>
#if>
<#assign cluster = clusterStatus.cluster>
<#assign clusterIdentifier = cluster.identifier>
${clusterIdentifier}
<#if cluster.tags?size gt 0>
<#list cluster.tags as tag>
${tag}
#list>
<#else>
---
#if>
<@util.namedTypeStatusAlert type=clusterStatus.clusterState/>
Last refresh:
<#if clusterStatus.clusterInfo??>
<#assign clusterInfo = clusterStatus.clusterInfo>
<#include "clusterNodesList.ftl">
<#else>
---
#if>
<#assign statusId = "clusterBriefInspect_"+clusterIdentifier>
<#include "../common/serverOpStatus.ftl">
<#assign statusId = "">
#list>
<#if disabledCount gt 0>
▼
△
Disabled clusters (${disabledCount})
Cluster
Tags
Status
<#list clustersStatuses as clusterStatus>
<#if clusterStatus.clusterState != "DISABLED">
<#continue>
#if>
<#assign cluster = clusterStatus.cluster>
<#assign clusterIdentifier = cluster.identifier>
${clusterIdentifier}
<#if cluster.tags?size gt 0>
<#list cluster.tags as tag>
${tag}
#list>
<#else>
---
#if>
<@util.namedTypeStatusAlert type=clusterStatus.clusterState/>
#list>
#if>
<#include "../common/pageBottom.ftl">