mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-01-18 10:46:27 +00:00
added step component
This commit is contained in:
parent
1dc85118ef
commit
f3faf08217
33
web/src/components/Step.vue
Normal file
33
web/src/components/Step.vue
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
<template>
|
||||||
|
<div class="step flex items-center mb-4">
|
||||||
|
<div class="checkbox flex items-center justify-center w-6 h-6 rounded border border-gray-300 mr-2">
|
||||||
|
<i data-feather
|
||||||
|
v-if="done"
|
||||||
|
name="check"
|
||||||
|
class="text-green-500 w-4 h-4"
|
||||||
|
></i>
|
||||||
|
</div>
|
||||||
|
<div class="content flex-1">{{ message }}</div>
|
||||||
|
<div class="loader w-6 h-6 border-t-4 border-b-4 border-blue-500 rounded-full animate-spin" v-if="!done"></div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
props: {
|
||||||
|
done: {
|
||||||
|
type: Boolean,
|
||||||
|
required: true
|
||||||
|
},
|
||||||
|
message: {
|
||||||
|
type: String,
|
||||||
|
required: true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
|
||||||
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user