This commit is contained in:
syuilo
2018-02-22 00:07:37 +09:00
parent 0f36bbd3d4
commit 9fde555cc3
7 changed files with 87 additions and 83 deletions

View File

@@ -53,7 +53,7 @@
<script lang="ts">
import Vue from 'vue';
import uuid from 'uuid';
import * as uuid from 'uuid';
export default Vue.extend({
props: ['connection'],

View File

@@ -3,8 +3,8 @@
<x-pie class="pie" :value="usage"/>
<div>
<p>%fa:microchip%CPU</p>
<p>{{ cores }} Cores</p>
<p>{{ model }}</p>
<p>{{ meta.cpu.cores }} Cores</p>
<p>{{ meta.cpu.model }}</p>
</div>
</div>
</template>

View File

@@ -14,8 +14,8 @@ export default Vue.extend({
});
</script>
<style lang="info" scoped>
.uptimes
<style lang="stylus" scoped>
.info
padding 10px 14px
> p

View File

@@ -14,7 +14,7 @@
fill="none"
stroke-width="0.1"
:stroke="color"/>
<text x="50%" y="50%" dy="0.05" text-anchor="middle">{{ (p * 100).toFixed(0) }}%</text>
<text x="50%" y="50%" dy="0.05" text-anchor="middle">{{ (value * 100).toFixed(0) }}%</text>
</svg>
</template>