Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
/>
<dd
:aria-labelledby="`metrics.cache.${index}.hits`"
class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2"
class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2 sm:text-right"
v-text="current.hit"
/>
</template>
Expand All @@ -45,7 +45,7 @@
/>
<dd
:aria-labelledby="`metrics.cache.${index}.misses`"
class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2"
class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2 sm:text-right"
v-text="current.miss"
/>
</template>
Expand All @@ -57,18 +57,19 @@
/>
<dd
:aria-labelledby="`metrics.cache.${index}.ratio`"
class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2"
class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2 sm:text-right"
v-text="ratio"
/>
</template>
<template v-if="current.size !== undefined">
<dt
:id="`metrics.cache.${index}.size`"
class="sm:col-span-4"
class="text-sm font-medium text-gray-500 sm:col-span-4"
v-text="$t('instances.details.cache.size')"
/>
<dd
:aria-labelledby="`metrics.cache.${index}.size`"
class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2 sm:text-right"
v-text="current.size"
/>
</template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
v-text="$t('instances.details.datasource.active_connections')"
/>
<dd
class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2"
class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2 sm:text-right"
v-text="current.active"
/>

Expand All @@ -42,7 +42,7 @@
v-text="$t('instances.details.datasource.min_connections')"
/>
<dd
class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2"
class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2 sm:text-right"
v-text="current.min"
/>

Expand All @@ -52,12 +52,12 @@
/>
<dd
v-if="current.max >= 0"
class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2"
class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2 sm:text-right"
v-text="current.max"
/>
<dd
v-else
class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2"
class="mt-1 text-sm text-gray-900 sm:mt-0 sm:col-span-2 sm:text-right"
v-text="$t('instances.details.datasource.unlimited')"
/>
</dl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@
</div>

<div class="instance-grid">
<div>
<details-datasources v-if="hasDatasources" :instance="instance" />
<div v-if="hasDatasources">
<details-datasources :instance="instance" />
</div>
<div>
<details-caches v-if="hasCaches" :instance="instance" />
<div v-if="hasCaches">
<details-caches :instance="instance" />
</div>
</div>
</sba-instance-section>
Expand Down
Loading