Skip to content

Commit ae85566

Browse files
committed
chore: wip
1 parent d9c4e87 commit ae85566

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

resources/components/Dashboard/Deployments/DeploymentList.stx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@
107107
</div>
108108
</div>
109109

110+
<TerminalContainer class="px-4 sm:px-6 lg:px-8 pt-12" live="true" />
111+
110112
<div class="px-4 sm:px-6 lg:px-8 pt-12">
111113
<div class="sm:flex sm:items-center">
112114
<div class="sm:flex-auto">

resources/components/TerminalContainer.stx

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
<script setup>
2+
import { defineProps } from 'vue'
3+
4+
const props = defineProps({
5+
live: Boolean
6+
})
7+
</script>
8+
19
<template>
210
<div class="">
311
<div class="w-full h-full bg-[#1D1F21] text-[#C5C8C6] font-mono flex flex-col rounded-lg shadow">
@@ -7,7 +15,11 @@
715
<div class="w-3 h-3 rounded-full bg-[#68B5BD]" />
816
<div class="w-3 h-3 rounded-full bg-[#74C6F0]" />
917
</div>
10-
<div class="text-sm">
18+
19+
<div v-if="live" class="text-sm">
20+
Live Terminal Output
21+
</div>
22+
<div v-else class="text-sm">
1123
root@localhost:~
1224
</div>
1325
</header>
@@ -27,7 +39,7 @@
2739
<p>root</p>
2840
</div>
2941
</div>
30-
<div class="flex items-center gap-2 p-4 border-t border-[#282a2e]">
42+
<div v-if="!live" class="flex items-center gap-2 p-4 border-t border-[#282a2e]">
3143
<span class="text-[#68B5BD]">root@localhost:~$</span>
3244
<input
3345
class="bg-[#1D1F21] text-[#C5C8C6] w-full focus:outline-none"

0 commit comments

Comments
 (0)