diff --git a/assets/style.css b/assets/style.css index e22836e..1a70d90 100644 --- a/assets/style.css +++ b/assets/style.css @@ -11,6 +11,7 @@ html { --primary-color: rgb(87, 75, 255); + --primary-color-dark: rgb(69, 57, 241); --tile-color: #ebf1ff; background-color: rgb(255, 255, 255); --shade-light: #f3f3f3; diff --git a/assets/transparent_logo.png b/assets/transparent_logo.png new file mode 100644 index 0000000..f508012 Binary files /dev/null and b/assets/transparent_logo.png differ diff --git a/classes/Node.ts b/classes/Node.ts index acc03ec..87bdc30 100644 --- a/classes/Node.ts +++ b/classes/Node.ts @@ -4,6 +4,7 @@ export class NodeStats { constructor ( public node: Node, + public runningPods: number ) { } relativeCpuUsage?: number; diff --git a/components/LogPopup.vue b/components/LogPopup.vue index 73c5ffa..0938911 100644 --- a/components/LogPopup.vue +++ b/components/LogPopup.vue @@ -1,5 +1,5 @@ \ No newline at end of file diff --git a/components/ingress/view/IngressViewPopup.vue b/components/ingress/view/IngressViewPopup.vue index 270a67b..cbeed6f 100644 --- a/components/ingress/view/IngressViewPopup.vue +++ b/components/ingress/view/IngressViewPopup.vue @@ -1,5 +1,5 @@ diff --git a/components/pod/PodComponent.vue b/components/pod/PodComponent.vue index c23f8c7..bd4cef2 100644 --- a/components/pod/PodComponent.vue +++ b/components/pod/PodComponent.vue @@ -1,6 +1,6 @@ @@ -21,13 +22,13 @@ import type { Pod } from '~/classes/Pod'; import { calcAge } from '~/classes/Pod'; import { hasAnyRole } from '~/classes/User'; -import { deletePod } from '~/requests/pod'; +import PodDeletePopup from './view/PodDeletePopup.vue'; defineProps<{ pod: Pod }>(); -const logPopup = ref(); - -const podViewPopup = ref(); +const showDeletePopup = ref(false); +const showLogPopup = ref(false); +const showViewPopup = ref(false); \ No newline at end of file diff --git a/components/pod/view/PodDeletePopup.vue b/components/pod/view/PodDeletePopup.vue new file mode 100644 index 0000000..d1a4b2d --- /dev/null +++ b/components/pod/view/PodDeletePopup.vue @@ -0,0 +1,36 @@ + + + + + diff --git a/components/pod/view/PodViewPopup.vue b/components/pod/view/PodViewPopup.vue index 7fb3978..ffae658 100644 --- a/components/pod/view/PodViewPopup.vue +++ b/components/pod/view/PodViewPopup.vue @@ -1,5 +1,5 @@