Merged PR 73: Update Draft label
Update Draft label
This commit is contained in:
@@ -8,6 +8,6 @@
|
|||||||
.editor ol, .md-editor-preview ol{
|
.editor ol, .md-editor-preview ol{
|
||||||
list-style-type: decimal !important;
|
list-style-type: decimal !important;
|
||||||
}
|
}
|
||||||
.editor .md-editor-preview{
|
.editor, .md-editor-preview{
|
||||||
word-break: break-word;
|
word-break: break-word !important;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -58,13 +58,12 @@
|
|||||||
<div class="p-4 flex flex-col flex-grow">
|
<div class="p-4 flex flex-col flex-grow">
|
||||||
<h3 class="text-lg font-medium text-gray-900 dark:text-gray-100">{{ item.name }}</h3>
|
<h3 class="text-lg font-medium text-gray-900 dark:text-gray-100">{{ item.name }}</h3>
|
||||||
<p class="text-sm font-medium text-gray-500 dark:text-gray-400 mt-2">{{ item.description }}</p>
|
<p class="text-sm font-medium text-gray-500 dark:text-gray-400 mt-2">{{ item.description }}</p>
|
||||||
<div v-if="item.visible==='DRAFT'" class="text-xs font-semibold text-white bg-purple-600 px-2 py-1 rounded-md inline-flex items-center justify-center w-auto mt-2">
|
|
||||||
{{ item.visible }}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="p-2 border-t border-gray-200 dark:border-gray-700 flex justify-end">
|
<div class="p-2 border-t border-gray-200 dark:border-gray-700 flex justify-between items-center w-full">
|
||||||
<Button @click="executeScenario(item.id)" size="small" label="Load" class="flex-auto md:flex-initial text-white">
|
<div v-if="item.visible==='DRAFT'" class="text-xs font-semibold text-white bg-purple-400 px-2 py-1 inline-flex items-center justify-center w-auto">
|
||||||
|
{{ item.visible }}
|
||||||
|
</div>
|
||||||
|
<Button @click="executeScenario(item.id)" size="small" label="Load" class="ml-auto flex-initial text-white">
|
||||||
<ChevronRightIcon class="w-6 h-5 text-white transition-transform transform hover:translate-x-1"/>
|
<ChevronRightIcon class="w-6 h-5 text-white transition-transform transform hover:translate-x-1"/>
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user