Skip to content

Commit

Permalink
rm sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
samaradel committed May 2, 2023
1 parent cb32119 commit c4702a7
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 7 deletions.
8 changes: 4 additions & 4 deletions client/src/views/Admin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,10 @@ export default {
]);
const usersHeaders = ref([
{ title: "No", key: "id" },
{ title: "Name", key: "name" },
{ title: "VMs", key: "vms" },
{ title: "IPs", key: "public_ips" },
{ title: "No", key: "id", sortable: false },
{ title: "Name", key: "name", sortable: false },
{ title: "VMs", key: "vms", sortable: false },
{ title: "IPs", key: "public_ips", sortable: false },
]);
const vouchers = ref([]);
Expand Down
13 changes: 12 additions & 1 deletion client/src/views/K8s.vue
Original file line number Diff line number Diff line change
Expand Up @@ -236,22 +236,27 @@ export default {
{
title: "ID",
key: "clusterID",
sortable: false,
},
{
title: "Name",
key: "name",
sortable: false,
},
{
title: "Disk (GB)",
key: "sru",
sortable: false,
},
{
title: "RAM (GB)",
key: "mru",
sortable: false,
},
{
title: "CPU",
key: "cru",
sortable: false,
},
{
title: "Yggdrasil IP",
Expand All @@ -269,23 +274,28 @@ export default {
const workerHeaders = ref([
{
title: "ID",
key: "id",
key: "clusterID",
sortable: false,
},
{
title: "Name",
key: "name",
sortable: false,
},
{
title: "Disk (GB)",
key: "sru",
sortable: false,
},
{
title: "RAM (GB)",
key: "mru",
sortable: false,
},
{
title: "CPU",
key: "cru",
sortable: false,
},
{
title: "Resources",
Expand Down Expand Up @@ -317,6 +327,7 @@ export default {
const deLoading = ref(false);
const dialog = ref(false);
const active = ref(false);
const getK8s = () => {
userService
.getK8s()
Expand Down
9 changes: 7 additions & 2 deletions client/src/views/VM.vue
Original file line number Diff line number Diff line change
Expand Up @@ -144,22 +144,27 @@ export default {
{
title: "ID",
key: "id",
sortable: false,
},
{
title: "Name",
key: "name",
sortable: false,
},
{
title: "Disk (GB)",
key: "sru",
sortable: false,
},
{
title: "RAM (GB)",
key: "mru",
sortable: false,
},
{
title: "CPU",
key: "cru",
sortable: false,
},
{
title: "Yggdrasil IP",
Expand Down Expand Up @@ -327,8 +332,8 @@ export default {
.cursor-pointer {
cursor: pointer;
}
thead th{
thead th {
background-color: #217dbb !important;
color: white !important
color: white !important;
}
</style>

0 comments on commit c4702a7

Please sign in to comment.