EFB Patch

This commit is contained in:
2025-07-03 15:34:03 +02:00
parent ed48918831
commit 6e6a5b6103
9 changed files with 59 additions and 47 deletions
@@ -7,6 +7,4 @@
<link rel="stylesheet" href="/Pages/VCockpit/Instruments/aircraft_efb/TFDi_MD11_efb/efb.css" />
<link rel="stylesheet" href="/Pages/VCockpit/Instruments/aircraft_efb/TFDi_MD11_efb/App.css" />
<script type="text/html" import-script="/Pages/VCockpit/Instruments/aircraft_efb/TFDi_MD11_efb/efb.js" import-async="false"></script>
<script type="text/html" import-script="/Pages/VCockpit/Instruments/aircraft_efb/TFDi_MD11_efb/App.js" import-async="false"></script>
@@ -42191,9 +42191,16 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
"button",
{
onClick: loadPayload,
onClick: () => dispatch(
setRoute({
path: "/payload",
params: {
icao: simBrief.plan.origin.icao_code
}
})
),
className: "middle none center rounded-lg bg-green-700 px-6 py-3 font-sans text-xs font-bold uppercase text-white shadow-md shadow-green-500/20 transition-all hover:shadow-lg hover:shadow-green-500/40 focus:opacity-[0.85] focus:shadow-none active:opacity-[0.85] active:shadow-none disabled:pointer-events-none disabled:opacity-50 disabled:shadow-none",
children: "Set payload & fuel"
children: "Manage payload & fuel"
}
),
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
@@ -42700,6 +42707,11 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
] }) }) });
}
// Exports for add. script
window.reactExports = __toESM(require_react());
window.jsxRuntimeExports = __toESM(require_jsx_runtime());
window.useSelector = useSelector
// src/components/Router.tsx
init_common();
var import_jsx_runtime14 = __toESM(require_jsx_runtime());
@@ -42716,7 +42728,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
title: "Payload",
icon: faWeightHanging
},
page: PayloadPage
page: App
},
"/perf": {
button: {