From 131ed69d53b3212aa5ad04e0b2f3006f2284ce40 Mon Sep 17 00:00:00 2001 From: Johannes Kirschbauer Date: Wed, 11 Dec 2024 11:32:10 +0100 Subject: [PATCH] UI: machine listitem pepare for grid view --- .../app/src/components/MachineListItem.tsx | 195 +++++++++--------- 1 file changed, 95 insertions(+), 100 deletions(-) diff --git a/pkgs/webview-ui/app/src/components/MachineListItem.tsx b/pkgs/webview-ui/app/src/components/MachineListItem.tsx index 832a30edf..00871060d 100644 --- a/pkgs/webview-ui/app/src/components/MachineListItem.tsx +++ b/pkgs/webview-ui/app/src/components/MachineListItem.tsx @@ -106,109 +106,104 @@ export const MachineListItem = (props: MachineListItemProps) => { setUpdating(false); }; return ( -
  • -
    -
    - -
    -
    -
    - -

    - {name} -

    -
    -
    - {(d) => d()?.description} -
    -
    - - {(d) => ( - <> - - {(tags) => ( - - - {(tag) => ( - - )} - - - )} - - {d()?.deploy?.targetHost} - - )} - -
    -
    -
    -
    - } + + {name} + + +
    + {(d) => d()?.description}
    +
    + + {(d) => ( + <> + + {(tags) => ( + + + {(tag) => ( + + )} + + + )} + + {d()?.deploy?.targetHost} + + )} + +
    +
    +
    +
    + }> + +
    -
  • + ); };