initial-commit

This commit is contained in:
GotthardG
2024-10-24 10:31:09 +02:00
parent fbc9eb1873
commit b6611fdac0
55 changed files with 12587 additions and 0 deletions

View File

@ -0,0 +1,322 @@
{
"beamtimes": [
{
"date": "2024-10-01",
"shifts": [
{
"beamtime_shift": "morning",
"beamline": "PXI",
"local_contact": "Dr. Alice Johnson",
"experimental_mode": "SDU-scheduled",
"pucks": [
{
"puck_id": "PSIMX-001",
"shipment_id": "SH001",
"dewar_id": "DW001"
},
{
"puck_id": "PSIMX-002",
"shipment_id": "SH001",
"dewar_id": "DW001"
},
{
"puck_id": "CPS-027",
"shipment_id": "SH002",
"dewar_id": "DW002"
},
{
"puck_id": "CPS-041",
"shipment_id": "SH002",
"dewar_id": "DW002"
}
]
},
{
"beamtime_shift": "evening",
"beamline": "PXII",
"local_contact": "Dr. Bob Smith",
"experimental_mode": "SDU-scheduled",
"pucks": [
{
"puck_id": "XQT-032",
"shipment_id": "SH003",
"dewar_id": "DW003"
},
{
"puck_id": "XQT-033",
"shipment_id": "SH003",
"dewar_id": "DW003"
},
{
"puck_id": "XQT-034",
"shipment_id": "SH003",
"dewar_id": "DW003"
},
{
"puck_id": "XQT-035",
"shipment_id": "SH003",
"dewar_id": "DW003"
},
{
"puck_id": "TLS-024",
"shipment_id": "SH004",
"dewar_id": "DW004"
},
{
"puck_id": "TLS-025",
"shipment_id": "SH004",
"dewar_id": "DW004"
}
]
},
{
"beamtime_shift": "night",
"beamline": "PXII",
"local_contact": "Dr. Bob Smith",
"experimental_mode": "SDU-scheduled",
"pucks": [
{
"puck_id": "TLS-026",
"shipment_id": "SH005",
"dewar_id": "DW005"
},
{
"puck_id": "TLS-027",
"shipment_id": "SH005",
"dewar_id": "DW005"
},
{
"puck_id": "XQT-036",
"shipment_id": "SH005",
"dewar_id": "DW005"
},
{
"puck_id": "XQT-037",
"shipment_id": "SH005",
"dewar_id": "DW005"
},
{
"puck_id": "XQT-038",
"shipment_id": "SH005",
"dewar_id": "DW005"
},
{
"puck_id": "XQT-039",
"shipment_id": "SH005",
"dewar_id": "DW005"
}
]
}
]
},
{
"date": "2024-10-17",
"shifts": [
{
"beamtime_shift": "morning",
"beamline": "PXI",
"local_contact": "Dr. Charlie Brown",
"experimental_mode": "Remote",
"pucks": [
{
"puck_id": "CTB-001",
"shipment_id": "SH006",
"dewar_id": "DW006"
},
{
"puck_id": "CTB-002",
"shipment_id": "SH006",
"dewar_id": "DW006"
},
{
"puck_id": "CTB-003",
"shipment_id": "SH006",
"dewar_id": "DW006"
},
{
"puck_id": "CTB-004",
"shipment_id": "SH006",
"dewar_id": "DW006"
},
{
"puck_id": "CTB-005",
"shipment_id": "SH006",
"dewar_id": "DW006"
},
{
"puck_id": "CTB-006",
"shipment_id": "SH006",
"dewar_id": "DW006"
},
{
"puck_id": "CTB-007",
"shipment_id": "SH006",
"dewar_id": "DW006"
},
{
"puck_id": "CTB-008",
"shipment_id": "SH006",
"dewar_id": "DW006"
},
{
"puck_id": "CTB-009",
"shipment_id": "SH006",
"dewar_id": "DW006"
},
{
"puck_id": "CTB-010",
"shipment_id": "SH006",
"dewar_id": "DW006"
},
{
"puck_id": "CTB-011",
"shipment_id": "SH006",
"dewar_id": "DW006"
},
{
"puck_id": "CTB-012",
"shipment_id": "SH006",
"dewar_id": "DW006"
},
{
"puck_id": "CTB-013",
"shipment_id": "SH006",
"dewar_id": "DW006"
},
{
"puck_id": "CTB-014",
"shipment_id": "SH006",
"dewar_id": "DW006"
}
]
},
{
"beamtime_shift": "morning",
"beamline": "PXII",
"local_contact": "Dr. Dana White",
"experimental_mode": "SDU-Scheduled",
"pucks": [
{
"puck_id": "PSIMX-005",
"shipment_id": "SH007",
"dewar_id": "DW007"
},
{
"puck_id": "PSIMX-006",
"shipment_id": "SH007",
"dewar_id": "DW007"
}
]
},
{
"beamtime_shift": "night",
"beamline": "PXIII",
"local_contact": "Dr. Dana White",
"experimental_mode": "",
"pucks": []
},
{
"beamtime_shift": "evening",
"beamline": "PXIII",
"local_contact": "Dr. Dana White",
"experimental_mode": "Remote",
"pucks": [
{
"puck_id": "PSIMX-005",
"shipment_id": "SH007",
"dewar_id": "DW007"
},
{
"puck_id": "PSIMX-006",
"shipment_id": "SH007",
"dewar_id": "DW007"
}
]
},
{
"beamtime_shift": "night",
"beamline": "PXII",
"local_contact": "Dr. Dana White",
"experimental_mode": "",
"pucks": []
}
]
},
{
"date": "2024-10-13",
"shifts": [
{
"beamtime_shift": "morning",
"beamline": "PXI",
"local_contact": "Dr. Evan Green",
"experimental_mode": "In person",
"pucks": [
{
"puck_id": "PSIMX-007",
"shipment_id": "SH008",
"dewar_id": "DW008"
}
]
},
{
"beamtime_shift": "evening",
"beamline": "PXI",
"local_contact": "Dr. Evan Green",
"experimental_mode": "In person",
"pucks": []
},
{
"beamtime_shift": "night",
"beamline": "PXI",
"local_contact": "Dr. Fiona Blue",
"experimental_mode": "In person",
"pucks": [
{
"puck_id": "PSIMX-008",
"shipment_id": "SH009",
"dewar_id": "DW009"
}
]
}
]
},
{
"date": "2024-10-04",
"shifts": [
{
"beamtime_shift": "",
"beamline": "",
"local_contact": "Dr. Heidi Brown",
"experimental_mode": "SDU-queued",
"pucks": [
{
"puck_id": "PSIMX-009",
"shipment_id": "SH010",
"dewar_id": "DW010"
}
]
},
{
"beamtime_shift": "evening",
"beamline": "PXII",
"local_contact": "Dr. Ian White",
"experimental_mode": "SDU-Scheduled",
"pucks": [
{
"puck_id": "PSIMX-010",
"shipment_id": "SH011",
"dewar_id": "DW011"
}
]
},
{
"beamtime_shift": "night",
"beamline": "PXI",
"local_contact": "Dr. Jack Black",
"experimental_mode": "SDU-Scheduled",
"pucks": []
}
]
}
]
}

BIN
frontend/public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@ -0,0 +1,43 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>

BIN
frontend/public/logo192.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

BIN
frontend/public/logo512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

View File

@ -0,0 +1,25 @@
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "logo192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "logo512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}

View File

@ -0,0 +1,3 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow:

View File

@ -0,0 +1,250 @@
{
"shipments": [
{
"shipment_id": "SHP001",
"shipment_name": "BioLab_Shipment_001",
"number_of_dewars": 2,
"shipment_status": "In Transit",
"shipment_date": "2024-01-15",
"contact_person": [
{ "name": "Alice Johnson", "id": "alice" }
],
"dewars": [
{
"id": "SHP001-Dewar-1",
"dewar_name": "Dewar_001",
"tracking_number": "TRACK123456",
"number_of_pucks": 4,
"number_of_samples": 24,
"return_address": [
{ "address": "123 Main St, Anytown, USA", "id": "address1" }
],
"contact_person": [
{ "name": "Alice Johnson", "id": "alice" }
],
"status": "in preparation",
"ready_date": "",
"shipping_date": "",
"arrival_date": "",
"shippingStatus": "not shipped",
"arrivalStatus": "not arrived",
"returned": "",
"qrcode": "https://example.com/qrcode/dewar_001"
},
{
"id": "SHP001-Dewar-2",
"dewar_name": "Dewar_002",
"tracking_number": "TRACK654321",
"number_of_pucks": 3,
"number_of_samples": 18,
"return_address": [
{ "address": "123 Main St, Anytown, USA", "id": "address1" }
],
"contact_person": [
{ "name": "Alice Johnson", "id": "alice" }
],
"status": "in preparation",
"ready_date": "",
"shipping_date": "",
"arrival_date": "",
"shippingStatus": "not shipped",
"arrivalStatus": "not arrived",
"returned": "",
"qrcode": "https://example.com/qrcode/dewar_002"
}
]
},
{
"shipment_id": "SHP002",
"shipment_name": "BioLab_Shipment_002",
"number_of_dewars": 3,
"shipment_status": "In Transit",
"shipment_date": "2024-02-20",
"contact_person": [
{ "name": "Bob Smith", "id": "bob" }
],
"dewars": [
{
"id": "SHP002-Dewar-3",
"dewar_name": "Dewar_003",
"tracking_number": "TRACK987654",
"number_of_pucks": 5,
"number_of_samples": 30,
"contact_person": [
{ "name": "Bob Smith", "id": "bob" }
],
"return_address": [
{ "address": "123 Main St, Anytown, USA", "id": "address1" }
],
"status": "ready for shipping",
"ready_date": "2024-02-20",
"shipping_date": "",
"arrival_date": "",
"shippingStatus": "shipped",
"arrivalStatus": "arrived",
"returned": "",
"qrcode": ""
},
{
"id": "SHP002-Dewar-4",
"dewar_name": "Dewar_004",
"tracking_number": "TRACK876543",
"number_of_pucks": 6,
"number_of_samples": 36,
"contact_person": [
{ "name": "Bob Smith", "id": "bob" }
],
"return_address": [
{ "address": "123 Main St, Anytown, USA", "id": "address1" }
],
"status": "ready for shipping",
"ready_date": "2024-02-20",
"shipping_date": "2024-02-21",
"arrival_date": "",
"shippingStatus": "shipped",
"arrivalStatus": "arrived",
"returned": "",
"qrcode": "https://example.com/qrcode/dewar_004"
},
{
"id": "SHP002-Dewar-5",
"dewar_name": "Dewar_005",
"tracking_number": "TRACK765432",
"number_of_pucks": 4,
"number_of_samples": 24,
"contact_person": [
{ "name": "Bob Smith", "id": "bob" }
],
"return_address": [
{ "address": "123 Main St, Anytown, USA", "id": "address1" }
],
"status": "ready for shipping",
"ready_date": "2024-02-21",
"shipping_date": "2024-02-22",
"arrival_date": "",
"shippingStatus": "shipped",
"arrivalStatus": "not arrived",
"returned": "",
"qrcode": "https://example.com/qrcode/dewar_005"
}
]
},
{
"shipment_id": "SHP003",
"shipment_name": "BioLab_Shipment_003",
"number_of_dewars": 5,
"shipment_status": "Pending",
"shipment_date": "2024-03-10",
"contact_person": [
{ "name": "Charlie Brown", "id": "charlie" }
],
"dewars": [
{
"id": "SHP003-Dewar-6",
"dewar_name": "Dewar_006",
"tracking_number": "TRACK112233",
"number_of_pucks": 7,
"number_of_samples": 42,
"contact_person": [
{ "name": "Charlie Brown", "id": "charlie" }
],
"return_address": [
{ "address": "789 Maple St, Thistown, USA", "id": "address3" }
],
"status": "in preparation",
"ready_date": "",
"shipping_date": "",
"arrival_date": "",
"shippingStatus": "not shipped",
"arrivalStatus": "not arrived",
"returned": "",
"qrcode": ""
},
{
"id": "SHP003-Dewar-7",
"dewar_name": "Dewar_007",
"tracking_number": "TRACK223344",
"number_of_pucks": 5,
"number_of_samples": 30,
"contact_person": [
{ "name": "Charlie Brown", "id": "charlie" }
],
"return_address": [
{ "address": "789 Maple St, Thistown, USA", "id": "address3" }
],
"status": "ready for shipping",
"ready_date": "2024-03-12",
"shipping_date": "",
"arrival_date": "",
"shippingStatus": "not shipped",
"arrivalStatus": "not arrived",
"returned": "",
"qrcode": "https://example.com/qrcode/dewar_007"
},
{
"id": "SHP003-Dewar-8",
"dewar_name": "Dewar_008",
"tracking_number": "TRACK334455",
"number_of_pucks": 8,
"number_of_samples": 48,
"contact_person": [
{ "name": "Charlie Brown", "id": "charlie" }
],
"return_address": [
{ "address": "789 Maple St, Thistown, USA", "id": "address3" }
],
"status": "in preparation",
"ready_date": "",
"shipping_date": "",
"arrival_date": "",
"shippingStatus": "not shipped",
"arrivalStatus": "not arrived",
"returned": "",
"qrcode": ""
},
{
"id": "SHP003-Dewar-9",
"dewar_name": "Dewar_009",
"tracking_number": "TRACK445566",
"number_of_pucks": 6,
"number_of_samples": 36,
"contact_person": [
{ "name": "Charlie Brown", "id": "charlie" }
],
"return_address": [
{ "address": "789 Maple St, Thistown, USA", "id": "address3" }
],
"status": "ready for shipping",
"ready_date": "2024-03-12",
"shipping_date": "2024-03-13",
"arrival_date": "2024-03-17",
"shippingStatus": "shipped",
"arrivalStatus": "arrived",
"returned": "returned",
"qrcode": "https://example.com/qrcode/dewar_009"
},
{
"id": "SHP003-Dewar-10",
"dewar_name": "Dewar_010",
"tracking_number": "TRACK556677",
"number_of_pucks": 4,
"number_of_samples": 24,
"contact_person": [
{ "name": "Charlie Brown", "id": "charlie" }
],
"return_address": [
{ "address": "456 Elm St, Othertown, USA", "id": "address2" }
],
"status": "ready for shipping",
"ready_date": "2024-03-12",
"shipping_date": "2024-03-13",
"arrival_date": "2024-03-17",
"shippingStatus": "shipped",
"arrivalStatus": "arrived",
"returned": "returned",
"qrcode": "https://example.com/qrcode/dewar_010"
}
]
}
]
}

1
frontend/public/vite.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>

After

Width:  |  Height:  |  Size: 1.5 KiB