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

rest.profile.list.ftl Maven / Gradle / Ivy

<#--

    Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements.  See the NOTICE file
    distributed with this work for additional information
    regarding copyright ownership.  The ASF licenses this file
    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License.  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

-->
<#include "*/generic.ftl">
<#macro page_head>









<#macro page_body>
  <#if (model.getErrors()?size > 0) >
    
Failed to get profiles:
<#list model.getErrors() as error> ${error}
<#if (model.getRunningQueries()?size > 0) >

Running Queries

<@list_queries queries=model.getRunningQueries() stateList="running" />
<#else>
No running queries.
<#include "*/alertModals.ftl">

Completed Queries

Loaded ${model.getFinishedQueries()?size} profiles
<@list_queries queries=model.getFinishedQueries() stateList="completed" /> <#macro list_queries queries stateList>
<#if stateList == "running" > <#list queries as query> <#if stateList == "running" >
Time User Query State Duration Foreman
${query.getTime()} ${query.getUser()}
${query.getQuery()}
${query.getState()} ${query.getDuration()} ${query.getForeman()}
<@page_html/>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy