This repository has been archived on 2024-03-13. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
timekeeper/components/FirstTabContent.vue

33 lines
888 B
Vue
Raw Normal View History

<template>
<div class="tab-content grid flex-col">
2022-01-07 17:28:21 -05:00
<template v-for="(process, index) in $store.state.processes">
<button :key="index" class="text-right font-semibold">
2022-01-07 17:28:21 -05:00
{{ process.instrument }}
</button>
<div :key="index" class="progress-bar relative">
2022-01-07 17:28:21 -05:00
<progress
max="100"
:value="process.completion"
class="w-full h-full"
></progress>
<span
class="absolute top-0 bottom-0 left-0 right-0 text-center text-white"
>
1.3 <span class="fas fa-hourglass-half text-sm" /> / sec
<!-- {{ $store.state.incremental.currency[process.produces] }} {{ process.produces }} -->
</span>
</div>
</template>
</div>
</template>
<script>
export default {}
</script>
<style scoped>
.tab-content {
grid-template-columns: auto 1fr;
grid-gap: 1rem 1rem;
}
</style>