diff options
| author | Kana <[email protected]> | 2021-01-08 13:46:17 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-01-08 13:46:17 +0900 |
| commit | 0205300cb907ad14115a30c4152f5df31385eb37 (patch) | |
| tree | e6751c9c112886010e1b8736de0bdbff1a6df6d8 /src/site/components/statistics/generic.vue | |
| parent | chore: update sharex snippet to use apiKey instead of jwt (diff) | |
| parent | fix: indentation (diff) | |
| download | host.fuwn.me-0205300cb907ad14115a30c4152f5df31385eb37.tar.xz host.fuwn.me-0205300cb907ad14115a30c4152f5df31385eb37.zip | |
Merge pull request #248 from WeebDev/feature/stats-dashboard
feature: Add basic statistics UI
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> |