mirror of
https://github.com/simon987/sist2.git
synced 2025-12-14 15:59:03 +00:00
web UI rewrite, switch to ndjson.zst index format
This commit is contained in:
21
sist2-vue/src/components/SmallBadge.vue
Normal file
21
sist2-vue/src/components/SmallBadge.vue
Normal file
@@ -0,0 +1,21 @@
|
||||
<template>
|
||||
<b-badge variant="secondary" :pill="pill">{{ text }}</b-badge>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import Vue from "vue";
|
||||
|
||||
export default Vue.extend({
|
||||
props: {
|
||||
text: String,
|
||||
pill: Boolean
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.badge-pill {
|
||||
padding: 0.3em .4em 0.1em;
|
||||
border-radius: 6rem;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user