-
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ADD: parent & child nested components
- Loading branch information
1 parent
6dacda5
commit 2d73bfd
Showing
5 changed files
with
52 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
launcher/src/components/UI/multi-server/components/ManagementParent.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<template> | ||
<div | ||
class="w-full h-full col-start-1 col-end-10 row-start-1 row-span-full grid grid-cols-12 grid-rows-12 p-2" | ||
> | ||
<ServerDetails /> | ||
<SshManagement /> | ||
</div> | ||
</template> | ||
|
||
<script setup> | ||
import ServerDetails from "./ServerDetails.vue"; | ||
import SshManagement from "./SshManagement.vue"; | ||
</script> |
12 changes: 11 additions & 1 deletion
12
launcher/src/components/UI/multi-server/components/SavedServers.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
<template> | ||
<div>Saved Server</div> | ||
<div | ||
class="col-start-11 col-span-full row-start-1 row-span-full p-2 grid grid-cols-12 grid-rows-12 items-center" | ||
> | ||
<div | ||
class="col-start-1 col-span-full row-start-1 row-span-1 flex justify-start items-center" | ||
> | ||
<span>SAVED SERVER CONNECTIONS</span> | ||
</div> | ||
|
||
<div class="col-start-1 col-span-full row-start-2 row-span-full">saved servers</div> | ||
</div> | ||
</template> |
17 changes: 15 additions & 2 deletions
17
launcher/src/components/UI/multi-server/components/ServerBody.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,20 @@ | ||
<template> | ||
<div | ||
class="w-full h-full col-start-1 col-span-full row-start-2 row-span-full grid grid-cols-24 grid-rows-12" | ||
class="w-full h-full col-start-1 col-span-full row-start-2 row-span-full grid grid-cols-24 grid-rows-12 p-2 divide-y-2 divide-gray-200" | ||
> | ||
Body | ||
<div | ||
class="col-start-1 col-end-10 row-start-1 row-span-full p-1 grid grid-cols-12 grid-rows-12" | ||
> | ||
<LoginBox v-if="isServerLoginActive" /> | ||
<ManagementParent v-if="isServerManagementActive" /> | ||
</div> | ||
|
||
<SavedServers /> | ||
</div> | ||
</template> | ||
|
||
<script setup> | ||
import SavedServers from "./SavedServers.vue"; | ||
import LoginBox from "./LoginBox.vue"; | ||
import ManagementParent from "./ManagementParent.vue"; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters