mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 17:52:32 +00:00
* Adding explicit MPL license for sub-package. This directory and its subdirectories (packages) contain files licensed with the MPLv2 `LICENSE` file in this directory and are intentionally licensed separately from the BSL `LICENSE` file at the root of this repository. * Adding explicit MPL license for sub-package. This directory and its subdirectories (packages) contain files licensed with the MPLv2 `LICENSE` file in this directory and are intentionally licensed separately from the BSL `LICENSE` file at the root of this repository. * Updating the license from MPL to Business Source License. Going forward, this project will be licensed under the Business Source License v1.1. Please see our blog post for more details at https://hashi.co/bsl-blog, FAQ at www.hashicorp.com/licensing-faq, and details of the license at www.hashicorp.com/bsl. * add missing license headers * Update copyright file headers to BUS-1.1 * Fix test that expected exact offset on hcl file --------- Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com> Co-authored-by: Sarah Thompson <sthompson@hashicorp.com> Co-authored-by: Brian Kassouf <bkassouf@hashicorp.com>
52 lines
1.8 KiB
Handlebars
52 lines
1.8 KiB
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: BUSL-1.1
|
|
~}}
|
|
|
|
<div class="chart-wrapper single-chart-grid" data-test-monthly-usage>
|
|
<div class="chart-header has-bottom-margin-xl">
|
|
<h2 class="chart-title">Vault usage</h2>
|
|
<p class="chart-description">
|
|
This data can be used to understand how many total clients are using Vault each month for this date range.
|
|
</p>
|
|
</div>
|
|
|
|
<div class={{concat (unless @verticalBarChartData "chart-empty-state ") "chart-container-wide"}}>
|
|
<Clients::VerticalBarChart @dataset={{@verticalBarChartData}} @chartLegend={{@chartLegend}} />
|
|
</div>
|
|
|
|
<div class="chart-subTitle">
|
|
<h2 class="chart-title">Total monthly clients</h2>
|
|
<p class="chart-subtext">
|
|
Each client is counted once per month. This can help with capacity planning.
|
|
</p>
|
|
</div>
|
|
|
|
<div class="data-details-top" data-test-monthly-usage-average-total>
|
|
<h3 class="data-details">Average total clients per month</h3>
|
|
<p class="data-details">
|
|
{{format-number this.averageTotalClients}}
|
|
</p>
|
|
</div>
|
|
|
|
<div class="data-details-bottom" data-test-monthly-usage-average-new>
|
|
<h3 class="data-details">Average new clients per month</h3>
|
|
<p class="data-details">
|
|
{{format-number this.averageNewClients}}
|
|
</p>
|
|
</div>
|
|
|
|
<div data-test-monthly-usage-timestamp class="timestamp">
|
|
{{#if @responseTimestamp}}
|
|
Updated
|
|
{{date-format @responseTimestamp "MMM d yyyy, h:mm:ss aaa" withTimeZone=true}}
|
|
{{/if}}
|
|
</div>
|
|
|
|
{{#if @verticalBarChartData}}
|
|
<div data-test-monthly-usage-legend class="legend-right">
|
|
<span class="light-dot"></span><span class="legend-label">{{capitalize (get @chartLegend "0.label")}}</span>
|
|
<span class="dark-dot"></span><span class="legend-label">{{capitalize (get @chartLegend "1.label")}}</span>
|
|
</div>
|
|
{{/if}}
|
|
</div> |