mirror of
https://github.com/Amperra-Group/xcs.git
synced 2025-08-16 13:22:14 -06:00
prod soon
This commit is contained in:
parent
3b3ae08985
commit
59bbedecc0
92
XCS.organizations.json
Normal file
92
XCS.organizations.json
Normal file
|
@ -0,0 +1,92 @@
|
||||||
|
[{
|
||||||
|
"_id": {
|
||||||
|
"$oid": "661102e895b623275e76116a"
|
||||||
|
},
|
||||||
|
"id": "ndne26191m7ufag9",
|
||||||
|
"isPersonal": false,
|
||||||
|
"name": "Amperra Systemes",
|
||||||
|
"description": "",
|
||||||
|
"ownerId": "g2EmGsfL9MfPicYgrXsCgHcG0aE2",
|
||||||
|
"avatar": "https://xcs.restrafes.co/images/default-avatar-organization.png",
|
||||||
|
"accessGroups": {},
|
||||||
|
"members": {
|
||||||
|
"g2EmGsfL9MfPicYgrXsCgHcG0aE2": {
|
||||||
|
"type": "user",
|
||||||
|
"id": "g2EmGsfL9MfPicYgrXsCgHcG0aE2",
|
||||||
|
"formattedId": "g2EmGsfL9MfPicYgrXsCgHcG0aE2",
|
||||||
|
"role": 2,
|
||||||
|
"accessGroups": [],
|
||||||
|
"scanData": {},
|
||||||
|
"joinedAt": {
|
||||||
|
"$date": "2024-04-06T09:01:39.762Z"
|
||||||
|
},
|
||||||
|
"updatedAt": {
|
||||||
|
"$date": "2024-04-06T09:01:39.762Z"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"FWO4075ks6OzGIpJKb4MTvS2iZd2": {
|
||||||
|
"type": "user",
|
||||||
|
"id": "FWO4075ks6OzGIpJKb4MTvS2iZd2",
|
||||||
|
"formattedId": "FWO4075ks6OzGIpJKb4MTvS2iZd2",
|
||||||
|
"role": 1,
|
||||||
|
"accessGroups": [],
|
||||||
|
"scanData": {},
|
||||||
|
"joinedAt": {
|
||||||
|
"$date": "2024-04-06T09:01:39.762Z"
|
||||||
|
},
|
||||||
|
"updatedAt": {
|
||||||
|
"$date": "2024-04-06T09:01:39.762Z"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"logs": [
|
||||||
|
{
|
||||||
|
"type": "organization-created",
|
||||||
|
"performer": "g2EmGsfL9MfPicYgrXsCgHcG0aE2",
|
||||||
|
"timestamp": {
|
||||||
|
"$date": "2024-04-06T08:08:08.434Z"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "location-created",
|
||||||
|
"performer": "g2EmGsfL9MfPicYgrXsCgHcG0aE2",
|
||||||
|
"timestamp": {
|
||||||
|
"$date": "2024-04-06T08:13:10.267Z"
|
||||||
|
},
|
||||||
|
"locationId": "dsrhuqtmmquqfdcp"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "api-key-generated",
|
||||||
|
"performer": "g2EmGsfL9MfPicYgrXsCgHcG0aE2",
|
||||||
|
"timestamp": {
|
||||||
|
"$date": "2024-04-06T08:13:18.975Z"
|
||||||
|
},
|
||||||
|
"locationId": "dsrhuqtmmquqfdcp"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"apiKeys": {
|
||||||
|
"35cc6bf67add4927b4d5da6da8b95221": {
|
||||||
|
"author": "g2EmGsfL9MfPicYgrXsCgHcG0aE2",
|
||||||
|
"locationId": "dsrhuqtmmquqfdcp",
|
||||||
|
"createdAt": {
|
||||||
|
"$date": "2024-04-06T08:13:18.975Z"
|
||||||
|
},
|
||||||
|
"lastUsedAt": null
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"createdAt": {
|
||||||
|
"$date": "2024-04-06T08:08:08.434Z"
|
||||||
|
},
|
||||||
|
"createdBy": "g2EmGsfL9MfPicYgrXsCgHcG0aE2",
|
||||||
|
"updatedAt": {
|
||||||
|
"$date": "2024-04-06T08:08:08.434Z"
|
||||||
|
},
|
||||||
|
"verified": false,
|
||||||
|
"statistics": {
|
||||||
|
"scans": {
|
||||||
|
"total": 0,
|
||||||
|
"denied": 0,
|
||||||
|
"granted": 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}]
|
9
invites.json
Normal file
9
invites.json
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
"type": "xcs",
|
||||||
|
"code": "12345678",
|
||||||
|
"isSponsor": true,
|
||||||
|
"uses": 0,
|
||||||
|
"maxUses": 1,
|
||||||
|
"createdAt": "2024-06-03T00:00:00.000Z",
|
||||||
|
"createdBy": "LX9sCKqsO3Qkb8JlIqPf5pXxpy03"
|
||||||
|
}
|
|
@ -11,6 +11,7 @@ import {
|
||||||
Input,
|
Input,
|
||||||
InputGroup,
|
InputGroup,
|
||||||
InputLeftElement,
|
InputLeftElement,
|
||||||
|
Image,
|
||||||
Link,
|
Link,
|
||||||
Modal,
|
Modal,
|
||||||
ModalBody,
|
ModalBody,
|
||||||
|
@ -167,19 +168,19 @@ export default function Login() {
|
||||||
outline={['0px solid', '1px solid']}
|
outline={['0px solid', '1px solid']}
|
||||||
outlineColor={['unset', useColorModeValue('gray.200', 'gray.700')]}
|
outlineColor={['unset', useColorModeValue('gray.200', 'gray.700')]}
|
||||||
rounded={'lg'}
|
rounded={'lg'}
|
||||||
maxW={"container.sm"}
|
maxW={"container.md"}
|
||||||
overflow={'hidden'}
|
overflow={'hidden'}
|
||||||
height={{ base: 'auto', md: '500px' }}
|
height={{ base: 'auto', md: '500px' }}
|
||||||
// boxShadow={'rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;'}
|
// boxShadow={'rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;'}
|
||||||
>
|
>
|
||||||
{/* <Image flex={"0 0 auto"} display={{ base: "none", md: "flex" }} src={'/images/login4.jpeg'} alt={'Login'} objectFit={'cover'} w={'sm'} h={"full"} /> */}
|
<Image flex={"0 0 auto"} display={{ base: "none", md: "flex" }} src={'/images/login4.jpeg'} alt={'Login'} objectFit={'cover'} w={'sm'} h={"full"} />
|
||||||
{/* <Flex flex={"0 0 auto"} display={{ base: "none", md: "flex" }} objectFit={'cover'} w={'sm'} h={"full"} flexDir={'column'}>
|
<Flex flex={"0 0 auto"} display={{ base: "none", md: "flex" }} objectFit={'cover'} w={'sm'} h={"full"} flexDir={'column'}>
|
||||||
<Box
|
<Box
|
||||||
backgroundColor={useColorModeValue('gray.200', 'gray.700')}
|
backgroundColor={useColorModeValue('gray.200', 'gray.700')}
|
||||||
w={'full'}
|
w={'full'}
|
||||||
h={'full'}
|
h={'full'}
|
||||||
/>
|
/>
|
||||||
</Flex> */}
|
</Flex>
|
||||||
<Flex flex={"1 1 auto"} flexDir={'column'} justify={"center"} align={"flex-start"} py={8} px={10}>
|
<Flex flex={"1 1 auto"} flexDir={'column'} justify={"center"} align={"flex-start"} py={8} px={10}>
|
||||||
<Box
|
<Box
|
||||||
w={'full'}
|
w={'full'}
|
||||||
|
|
Loading…
Reference in a new issue