1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-21 21:33:18 +01:00

Work in progress to show live stats (#671)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
This commit is contained in:
Amir Raminfar
2020-09-06 15:32:27 -07:00
committed by GitHub
parent b7af2b7826
commit 220722deaa
28 changed files with 361 additions and 128 deletions

View File

@@ -5,24 +5,20 @@
</svg>
<div class="is-overlay columns is-vcentered is-centered has-text-weight-light">
<template v-if="indeterminate">
<div class="column is-narrow is-paddingless is-size-2">
&#8734;
</div>
<div class="column is-narrow is-paddingless is-size-2">&#8734;</div>
</template>
<template v-else>
<span class="column is-narrow is-paddingless is-size-2">
{{ Math.ceil(scrollProgress * 100) }}
</span>
<span class="column is-narrow is-paddingless">
%
</span>
<span class="column is-narrow is-paddingless"> % </span>
</template>
</div>
</div>
</template>
<script>
import { mapState } from "vuex";
import { mapGetters } from "vuex";
import throttle from "lodash.throttle";
export default {
@@ -61,7 +57,7 @@ export default {
},
},
computed: {
...mapState(["activeContainers"]),
...mapGetters(["activeContainers"]),
},
methods: {
attachEvents() {