{#include main} {#title}Quarkus REST Score Console{/title} {#style} collapse-list{ cursor: pointer; } p{ text-align: right; font-size:20px; } .scoregauge{ justify-content: center; } .gauge { width: 100%; max-width: 250px; font-family: "Roboto", sans-serif; font-size: 32px; color: #004033; } .gauge__body { width: 100%; height: 0; padding-bottom: 50%; background: #b4c0be; position: relative; border-top-left-radius: 100% 200%; border-top-right-radius: 100% 200%; overflow: hidden; } .gauge__fill { position: absolute; top: 100%; left: 0; width: inherit; height: 100%; transform-origin: center top; transition: transform 0.2s ease-out; } .gauge__cover { width: 75%; height: 150%; background: #ffffff; border-radius: 50%; position: absolute; top: 25%; left: 50%; transform: translateX(-50%); display: flex; align-items: center; text-align: center; justify-content: center; padding-bottom: 25%; box-sizing: border-box; } .scorekey{ font-weight: bold; font-size: 165%; font-family: "Roboto", sans-serif; } .scoremessage{ font-size: 90%; font-family: "Roboto", sans-serif; display: block; text-align: center; padding: 15px; } th, td { border: 1px solid black; border-collapse: collapse; } table { position: relative; margin: 10px auto; padding: 0; width: 100%; height: auto; border-collapse: collapse; text-align: center; } code{ float: left; font-size: 80%; } .styleBadge{ float: right; } .btn{ min-width: 100%; } .accordion{ align: center; width: 99%; margin-top: 2%; } .showfilters { cursor: pointer; } .filterbox{ font-size: 0.9em; background: #343a40; color: white; } {/style} {#script} function setGaugeValue(gauge, value) { if (value < 0 || value > 100) { return; } var r; if(value < 50){ r = "transform:rotate( " + value*2 + "grad);background: #DE4E46;"; }else if(value < 100){ r = "transform:rotate( " + value*2 + "grad);background: #F7C00F;"; }else{ r = "transform:rotate( " + value*2 + "grad);background: lightgreen;"; } gauge.find(".gauge__fill").attr("style",r); gauge.find(".gauge__cover").text(value + "%"); } $(document).ready(function(){ $(".gauge").each(function(){ setGaugeValue($(this), $(this).attr("data-score")); }); }); {/script} {#body}
{#for endpoint in info:endpointScores.endpoints}
{#for diagnosticEntry in endpoint.diagnostics.entrySet()} {#for diagnostic in diagnosticEntry.value}
{diagnosticEntry.key}
{diagnostic.message}
{/for} {/for}

{#if !endpoint.produces.isEmpty()}
Produces:
{endpoint.produces}
{/if} {#if !endpoint.consumes.isEmpty()}
Consumes:
{endpoint.consumes}
{/if} {#if !endpoint.requestFilterEntries.isEmpty()}
Filters:
{endpoint.requestFilterEntries.size}
`{#for requestFilters in endpoint.requestFilterEntries} {requestFilters.getName}
{/for}`
{/if}
Resource Class:
{endpoint.className}
{/for}
{/body} {/include}