Merge remote-tracking branch 'origin/ui' into main-demo
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
import React, { useState } from 'react'
|
import React, { useState } from 'react'
|
||||||
import Search from '../../../../ui/inputs/Search'
|
import { ClockThreeIcon, LocationPinIcon, TargetIcon } from '../../../../icons/ExportCommonIcons'
|
||||||
import RegularDropDown from '../../../../ui/inputs/RegularDropDown'
|
|
||||||
import { ClockThreeIcon, HourGlassIcon, ListTaskIcon, LocationPinIcon, SlectedTickIcon, TargetIcon } from '../../../../icons/ExportCommonIcons'
|
|
||||||
import NavigateCatagory from '../NavigateCatagory'
|
import NavigateCatagory from '../NavigateCatagory'
|
||||||
|
|
||||||
const Hrm = () => {
|
const Hrm = () => {
|
||||||
|
const [selectedCard, setSelectedCard] = useState(0);
|
||||||
|
|
||||||
const employee_details = [
|
const employee_details = [
|
||||||
{
|
{
|
||||||
"employee": {
|
"employee": {
|
||||||
@@ -89,12 +89,9 @@ const Hrm = () => {
|
|||||||
"Emergency Stop"
|
"Emergency Stop"
|
||||||
],
|
],
|
||||||
"location": "Floor 4 . Zone B"
|
"location": "Floor 4 . Zone B"
|
||||||
}
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
const [selectedCard, setSelectedCard] = useState(0);
|
|
||||||
console.log('selectedCard: ', selectedCard);
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{/* <NavigateCatagory
|
{/* <NavigateCatagory
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ const AssetManagement = () => {
|
|||||||
name: 'Forklift Model X200',
|
name: 'Forklift Model X200',
|
||||||
model: 'FLK-0025',
|
model: 'FLK-0025',
|
||||||
status: 'Online',
|
status: 'Online',
|
||||||
usageRate: 89,
|
usageRate: 15,
|
||||||
level: 'Level 1',
|
level: 'Level 1',
|
||||||
image: assetImage,
|
image: assetImage,
|
||||||
description: 'Electric forklift used for moving goods and materials in warehouse operations.',
|
description: 'Electric forklift used for moving goods and materials in warehouse operations.',
|
||||||
@@ -24,7 +24,7 @@ const AssetManagement = () => {
|
|||||||
name: 'Warehouse Robot WR-300',
|
name: 'Warehouse Robot WR-300',
|
||||||
model: 'WRB-3001',
|
model: 'WRB-3001',
|
||||||
status: 'Online',
|
status: 'Online',
|
||||||
usageRate: 76,
|
usageRate: 50,
|
||||||
level: 'Level 2',
|
level: 'Level 2',
|
||||||
image: assetImage,
|
image: assetImage,
|
||||||
description: 'Automated robot for handling packages and inventory in the warehouse.',
|
description: 'Automated robot for handling packages and inventory in the warehouse.',
|
||||||
@@ -54,9 +54,9 @@ const AssetManagement = () => {
|
|||||||
setSelectedCategory={setSelectedCategory}
|
setSelectedCategory={setSelectedCategory}
|
||||||
/> */}
|
/> */}
|
||||||
|
|
||||||
<div className='assetManagement-container'>
|
<div className='assetManagement-container assetManagement-wrapper'>
|
||||||
{dummyAssets.map((asset, index) => (
|
{dummyAssets.map((asset, index) => (
|
||||||
<div className={`assetManagement-wrapper ${expandedAssetId === asset.id ? "openViewMore" : ""}`}>
|
<div className={`assetManagement-card-wrapper ${expandedAssetId === asset.id ? "openViewMore" : ""}`}>
|
||||||
<header>
|
<header>
|
||||||
<div className="header-wrapper">
|
<div className="header-wrapper">
|
||||||
|
|
||||||
|
|||||||
@@ -275,7 +275,7 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 6px;
|
gap: 6px;
|
||||||
|
|
||||||
.assetManagement-wrapper {
|
.assetManagement-card-wrapper {
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
border: 1px solid #564B69;
|
border: 1px solid #564B69;
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
@@ -447,6 +447,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.openViewMore {
|
&.openViewMore {
|
||||||
|
outline-offset: -1px;
|
||||||
|
outline: 1px solid var(--Color-Hover, #CCACFF);
|
||||||
|
|
||||||
header {
|
header {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
Reference in New Issue
Block a user