Files
speckle-server/packages/frontend-2/components/workspace/page/VersionCount.vue
T
Benjamin Ottensten 1f1300baaf Fix: Various papercuts (#3296)
* Update move copy

* Ensure version counter doesn't break onto 2 lines

* Increase contrast in breadcrumb

Darker '/' and only font-medium on the active item

* Make it clearer to input new short ID and not current

* Add ... to menu items

* Change more "..." in menu items

* Fix gap and border between invite banners

And move the background to the individual banners
2024-10-18 12:40:20 +02:00

32 lines
836 B
Vue

<template>
<div class="w-40 flex flex-col items-center md:mx-4">
<CommonProgressBar
class="mb-1"
:current-value="versionsCount.current"
:max-value="versionsCount.max"
/>
<div class="text-body-3xs text-foreground">
<span class="font-medium">
{{ versionsCount.current }}/{{ versionsCount.max }}
</span>
free model versions
</div>
</div>
</template>
<script lang="ts" setup>
import { graphql } from '~/lib/common/generated/gql'
import type { WorkspacePageVersionCount_WorkspaceVersionsCountFragment } from '~~/lib/common/generated/gql/graphql'
graphql(`
fragment WorkspacePageVersionCount_WorkspaceVersionsCount on WorkspaceVersionsCount {
current
max
}
`)
defineProps<{
versionsCount: WorkspacePageVersionCount_WorkspaceVersionsCountFragment
}>()
</script>