2022-01-03 23:53:38 +00:00
|
|
|
<template>
|
2022-01-10 03:28:09 +00:00
|
|
|
<div class="tab-content grid flex-col">
|
|
|
|
<template v-for="(process, index) in $store.state.processes">
|
2022-01-10 07:12:10 +00:00
|
|
|
<button :key="process.instrument" class="text-right font-semibold">
|
2022-01-10 03:28:09 +00:00
|
|
|
{{ process.instrument }}
|
|
|
|
</button>
|
|
|
|
<div :key="index" class="progress-bar relative">
|
|
|
|
<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"
|
2022-01-08 22:04:05 +00:00
|
|
|
>
|
2022-01-10 03:28:09 +00:00
|
|
|
{{
|
|
|
|
(process.workerCount * process.workerRate * process.reward) / 100.0
|
|
|
|
}}
|
|
|
|
<span class="fas fa-hourglass-half text-sm" /> / sec
|
|
|
|
<!-- {{ $store.state.incremental.currency[process.produces] }} {{ process.produces }} -->
|
|
|
|
</span>
|
2022-01-06 10:18:46 +00:00
|
|
|
</div>
|
2022-01-10 03:28:09 +00:00
|
|
|
</template>
|
2022-01-04 22:41:36 +00:00
|
|
|
</div>
|
2022-01-03 23:53:38 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2022-01-10 03:28:09 +00:00
|
|
|
export default {}
|
2022-01-03 23:53:38 +00:00
|
|
|
</script>
|
2022-01-04 22:41:36 +00:00
|
|
|
|
|
|
|
<style scoped>
|
2022-01-10 03:28:09 +00:00
|
|
|
.tab-content {
|
|
|
|
grid-template-columns: auto 1fr;
|
|
|
|
grid-gap: 1rem 1rem;
|
2022-01-08 22:04:05 +00:00
|
|
|
}
|
2022-01-04 22:41:36 +00:00
|
|
|
</style>
|