diff options
| author | Zephyrrus <[email protected]> | 2021-01-07 21:39:47 +0200 |
|---|---|---|
| committer | Zephyrrus <[email protected]> | 2021-01-07 21:39:47 +0200 |
| commit | a838d024a7b74e69b7fb65b9c1db4a3a900d160e (patch) | |
| tree | 87a7ea1801fea5c2003134f17076a105806f7a1f /src/site/components/statistics/generic.vue | |
| parent | feat: change mutation timestamp on every database mutation (diff) | |
| parent | fix: indentation (diff) | |
| download | host.fuwn.me-a838d024a7b74e69b7fb65b9c1db4a3a900d160e.tar.xz host.fuwn.me-a838d024a7b74e69b7fb65b9c1db4a3a900d160e.zip | |
Merge branch 'feature/stats-dashboard' into feature/system_status_page
Diffstat (limited to 'src/site/components/statistics/generic.vue')
| -rw-r--r-- | src/site/components/statistics/generic.vue | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/site/components/statistics/generic.vue b/src/site/components/statistics/generic.vue new file mode 100644 index 0000000..704be7a --- /dev/null +++ b/src/site/components/statistics/generic.vue @@ -0,0 +1,26 @@ +<template> + <div> + <div class="columns"> + <div class="column is-2"> + {{ title }} + </div> + <div class="column"> + {{ value }} + </div> + </div> + </div> +</template> +<script> +export default { + props: { + title: { + 'type': String, + 'default': null + }, + value: { + 'type': [Number, String], + 'default': null + } + } +}; +</script> |