diff --git a/frontend/src/assets/style.css b/frontend/src/assets/style.css index 890d657..9272855 100644 --- a/frontend/src/assets/style.css +++ b/frontend/src/assets/style.css @@ -1742,3 +1742,9 @@ td.actions { color: var(--text-light); cursor: pointer; } + +/* Clickable list rows: the whole row navigates to the item detail; interactive + cells (the actions column, in-row links) stop propagation so they still work + independently. */ +.clickable-row { cursor: pointer; } +.clickable-row:hover td { background: var(--bg); } diff --git a/frontend/src/views/applications/ApplicationsList.vue b/frontend/src/views/applications/ApplicationsList.vue index a8b7ab5..9ce783a 100644 --- a/frontend/src/views/applications/ApplicationsList.vue +++ b/frontend/src/views/applications/ApplicationsList.vue @@ -1,213 +1,213 @@ - - - - - + + + + + diff --git a/frontend/src/views/machines/MachinesList.vue b/frontend/src/views/machines/MachinesList.vue index 0b2ba52..b31db8f 100644 --- a/frontend/src/views/machines/MachinesList.vue +++ b/frontend/src/views/machines/MachinesList.vue @@ -36,7 +36,7 @@ - + {{ item.assetnumber }} @@ -50,7 +50,7 @@ {{ item.locationname || '-' }} - + - + {{ item.assetnumber }} {{ item.name || '-' }} {{ item.serialnumber || '-' }} @@ -61,7 +61,7 @@ {{ item.locationname || '-' }} - + -
- - - -
- - -
- - -
- - - -
- -
-
Loading...
- - -
-
- - - - - + + + + + diff --git a/frontend/src/views/network/NetworkHub.vue b/frontend/src/views/network/NetworkHub.vue index 089900e..2a9015f 100644 --- a/frontend/src/views/network/NetworkHub.vue +++ b/frontend/src/views/network/NetworkHub.vue @@ -21,15 +21,15 @@ import { ref, computed, watch } from 'vue' import { useRoute, useRouter } from 'vue-router' import NetworkDevicesList from './NetworkDevicesList.vue' import SubnetsBrowse from './SubnetsBrowse.vue' -import VLANsList from '../settings/VLANsList.vue' const route = useRoute() const router = useRouter() +// VLANs are a layer under a subnet (each Networks row shows its VLAN); VLAN +// naming lives in Settings, so the hub is just Devices + Networks. const tabs = [ { key: 'devices', label: 'Devices', comp: NetworkDevicesList }, { key: 'networks', label: 'Networks', comp: SubnetsBrowse }, - { key: 'vlans', label: 'VLANs', comp: VLANsList }, ] const active = ref(tabs.some(t => t.key === route.query.tab) ? route.query.tab : 'devices') diff --git a/frontend/src/views/pcs/PCsList.vue b/frontend/src/views/pcs/PCsList.vue index 4ba419c..3c05e74 100644 --- a/frontend/src/views/pcs/PCsList.vue +++ b/frontend/src/views/pcs/PCsList.vue @@ -1,211 +1,211 @@ - - - - - + + + + + diff --git a/frontend/src/views/printers/PrintersList.vue b/frontend/src/views/printers/PrintersList.vue index 2b0fa82..f64acf0 100644 --- a/frontend/src/views/printers/PrintersList.vue +++ b/frontend/src/views/printers/PrintersList.vue @@ -44,7 +44,7 @@ - + {{ printer.assetnumber }} {{ printer.name && printer.name.toUpperCase() !== 'NONE' ? printer.name : (printer.printer?.hostname || '-') }} {{ printer.businessunitname || '-' }} @@ -55,7 +55,7 @@ {{ printer.statusname || 'Active' }} - +