Skip to content
Snippets Groups Projects
Commit 57858373 authored by Alejandro De Maria Antolinos's avatar Alejandro De Maria Antolinos
Browse files

Added portal app

parent d60ac592
Branches 15-runtime-integration-with-module-federation-2
No related tags found
5 merge requests!27Resolve "Rely on booswatch styles",!26Draft: Resolve "Do investigation list table",!25Update 61 files,!19Draft: Resolve "Runtime Integration with module federation",!18Draft: Resolve "Runtime Integration with module federation"
Pipeline #113945 failed
Showing
with 1282 additions and 0 deletions
{
"files": {
"main.js": "/static/js/main.js",
"main.js.map": "/static/js/main.js.map",
"index.html": "/index.html"
},
"entrypoints": [
"assets/index-062aa48f.js"
]
}
apps/logistics/public/assets/esrf-ee26b8e0.jpg

338 KiB

apps/logistics/public/assets/esrf-white-5131d5ee.png

84.5 KiB

This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
File added
File added
File added
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<script type="module" crossorigin src="/assets/index-062aa48f.js"></script>
<link rel="stylesheet" href="/assets/index-a597a087.css">
<script type="module">import.meta.url;import("_").catch(()=>1);async function* g(){};window.__vite_is_modern_browser=true;</script>
<script type="module">!function(){if(window.__vite_is_modern_browser)return;console.warn("vite: loading legacy chunks, syntax error above and the same error below should be ignored");var e=document.getElementById("vite-legacy-polyfill"),n=document.createElement("script");n.src=e.src,n.onload=function(){System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))},document.body.appendChild(n)}();</script>
</head>
<body>
<div id="root"></div>
<script nomodule>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()}),!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script>
<script nomodule crossorigin id="vite-legacy-polyfill" src="/assets/polyfills-legacy-27fbb5d7.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="/assets/index-legacy-d3234df5.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
</body>
</html>
{
"../../packages/core/src/scss/fonts/pxiEyp8kv8JHgFVrJJbecnFHGPezSQ.woff2": {
"file": "assets/pxiEyp8kv8JHgFVrJJbecnFHGPezSQ-0cd83f4b.woff2",
"src": "../../packages/core/src/scss/fonts/pxiEyp8kv8JHgFVrJJbecnFHGPezSQ.woff2"
},
"../../packages/core/src/scss/fonts/pxiEyp8kv8JHgFVrJJfecnFHGPc.woff2": {
"file": "assets/pxiEyp8kv8JHgFVrJJfecnFHGPc-fab32cce.woff2",
"src": "../../packages/core/src/scss/fonts/pxiEyp8kv8JHgFVrJJfecnFHGPc.woff2"
},
"../../packages/core/src/scss/fonts/pxiEyp8kv8JHgFVrJJnecnFHGPezSQ.woff2": {
"file": "assets/pxiEyp8kv8JHgFVrJJnecnFHGPezSQ-5d28e623.woff2",
"src": "../../packages/core/src/scss/fonts/pxiEyp8kv8JHgFVrJJnecnFHGPezSQ.woff2"
},
"../../packages/core/src/scss/images/esrf-white.png": {
"file": "assets/esrf-white-5131d5ee.png",
"src": "../../packages/core/src/scss/images/esrf-white.png"
},
"../../packages/core/src/scss/images/esrf.jpg": {
"file": "assets/esrf-ee26b8e0.jpg",
"src": "../../packages/core/src/scss/images/esrf.jpg"
},
"index-legacy.html": {
"assets": [
"assets/pxiEyp8kv8JHgFVrJJbecnFHGPezSQ-0cd83f4b.woff2",
"assets/pxiEyp8kv8JHgFVrJJnecnFHGPezSQ-5d28e623.woff2",
"assets/pxiEyp8kv8JHgFVrJJfecnFHGPc-fab32cce.woff2",
"assets/esrf-ee26b8e0.jpg",
"assets/esrf-white-5131d5ee.png"
],
"file": "assets/index-legacy-d3234df5.js",
"isEntry": true,
"src": "index-legacy.html"
},
"index.css": {
"file": "assets/index-a597a087.css",
"src": "index.css"
},
"index.html": {
"assets": [
"assets/pxiEyp8kv8JHgFVrJJbecnFHGPezSQ-0cd83f4b.woff2",
"assets/pxiEyp8kv8JHgFVrJJnecnFHGPezSQ-5d28e623.woff2",
"assets/pxiEyp8kv8JHgFVrJJfecnFHGPc-fab32cce.woff2",
"assets/esrf-ee26b8e0.jpg",
"assets/esrf-white-5131d5ee.png"
],
"css": [
"assets/index-a597a087.css"
],
"file": "assets/index-062aa48f.js",
"isEntry": true,
"src": "index.html"
},
"vite/legacy-polyfills-legacy": {
"file": "assets/polyfills-legacy-27fbb5d7.js",
"isEntry": true,
"src": "vite/legacy-polyfills-legacy"
}
}
\ No newline at end of file
VITE_ICATPLUS_URL="http://dau-dm-03:8000/"
# AUTHENTICATION
VITE_AUTHENTICATION_AUTOREFRESH=true
VITE_AUTHENTICATION_AUTOREFRESH_THRESHOLD_MINUTES=60
# AUTHENTICATION SSO
VITE_AUTHENTICATION_SSO_ENABLED=0
VITE_AUTHENTICATION_SSO_TITLE="ESRF Single Sign On" # title of the tab if the login form
VITE_AUTHENTICATION_SSO_PLUGIN="esrf" # Name of the ICAT authentication plugin to be used with SSO
VITE_AUTHENTICATION_SSO_BUTTON_LABEL="Login with ESRF SSO" #Label of the button
VITE_AUTHENTICATION_SSO_REFRESH_TOKEN=1 #Label of the button
VITE_AUTHENTICATION_SSO_CONFIGURATION_REALM="ESRF"
VITE_AUTHENTICATION_SSO_CONFIGURATION_URL="https://websso.esrf.fr/auth/"
VITE_AUTHENTICATION_SSO_CONFIGURATION_CLIENTID="icat"
# AUTHENTICATION DATABASE
VITE_AUTHENTICATION_DB_ENABLED=1
VITE_AUTHENTICATION_DB_PLUGIN="db"
VITE_AUTHENTICATION_DB_MESSAGE=ESRF, CRG staff or long term visitors, please sign in with ESRF SSO
# UI
VITE_UI_LOGIN_FORM_ACCOUNTCREATION_LINK = "https://smis.esrf.fr/misapps/SMISWebClient/accountManager/searchExistingAccount.do?action=search"
/dist*/
/node_modules/
.eslintrc.cjs
vite.config.ts
\ No newline at end of file
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
node_modules
dist
dist-ssr
*.local
# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
pnpm-lock.yaml
\ No newline at end of file
{
"singleQuote": true
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CryoET viewer</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
{
"name": "portal",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite --mode dev --port 3000 --strictPort",
"prod": "vite --mode prod",
"build": "vite build",
"configure": "cp .env .env.prod.local && cp .env .env.dev.local && echo 'Configure .env.prod.local and .env.dev.local accordingly'",
"preview": "vite preview",
"lint:eslint": "eslint \"**/*.{js,cjs,ts,tsx}\" --max-warnings=0 --resolve-plugins-relative-to .",
"lint:tsc": "tsc",
"lint:prettier": "prettier . --check",
"fix:eslint": "eslint \"**/*.{js,cjs,ts,tsx}\" --fix",
"fix:prettier": "prettier . --write"
},
"dependencies": {
"@babel/eslint-parser": "^7.19.1",
"@edata-portal/core": "workspace:*",
"@fortawesome/fontawesome-svg-core": "^6.3.0",
"@fortawesome/free-solid-svg-icons": "^6.3.0",
"@fortawesome/react-fontawesome": "^0.2.0",
"dayjs": "^1.11.7",
"lodash": "^4.17.21",
"react": "^18.2.0",
"react-bootstrap": "^2.7.2",
"react-dom": "^18.2.0",
"react-intersection-observer": "^9.4.3",
"react-router-dom": "^6.8.2"
},
"devDependencies": {
"@babel/core": "^7.21.0",
"@babel/preset-env": "^7.21.4",
"@types/lodash": "^4.14.191",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@vitejs/plugin-legacy": "^4.0.2",
"@vitejs/plugin-react": "^3.1.0",
"eslint": "^8.36.0",
"prettier": "^2.8.6",
"terser": "^5.16.5",
"typescript": "^4.9.3",
"vite": "^4.2.0",
"vite-tsconfig-paths": "^4.0.7"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest",
"plugin:react/recommended",
"plugin:react/jsx-runtime"
],
"rules": {
"react/no-unknown-property": "off",
"no-restricted-imports": [
"error",
{
"patterns": [
".*"
]
}
]
},
"overrides": [
{
"files": [
"index.ts",
"index.tsx"
],
"rules": {
"no-restricted-imports": "off"
}
}
],
"root": true
}
}
apps/portal/public/favicon.ico

2.89 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment