From 1ac9b08233dfefef244bd9006cbb670845f9d810 Mon Sep 17 00:00:00 2001 From: Martin Tazl Date: Mon, 27 Jul 2026 15:21:02 +0200 Subject: [PATCH] Refine capacity summary and analysis presentation --- templates/roll_calculator.html | 88 +++++++++++++++++++++++----------- 1 file changed, 61 insertions(+), 27 deletions(-) diff --git a/templates/roll_calculator.html b/templates/roll_calculator.html index 5463d08..72e33d2 100644 --- a/templates/roll_calculator.html +++ b/templates/roll_calculator.html @@ -289,6 +289,23 @@ border-left: 4px solid #2BAC70; } .lo-results-summary h4 { margin-top: 0; color: #333; font-size: 14px; margin-bottom: 12px; } + .lo-summary-section { + padding-top: 12px; + margin-top: 12px; + border-top: 1px solid #e6ece9; + } + .lo-summary-section:first-of-type { + padding-top: 0; + margin-top: 0; + border-top: 0; + } + .lo-summary-section-title { + margin-bottom: 8px; + color: #1F5438; + font-size: 12px; + font-weight: 700; + text-transform: uppercase; + } .lo-summary-item { display: flex; justify-content: space-between; @@ -415,6 +432,11 @@ } .lo-sideview-section.show { display: block; } .lo-sideview-section h4 { margin: 0 0 12px 0; font-size: 14px; color: #333; } + .lo-sideview-context { + margin: -6px 0 12px; + color: #666; + font-size: 12px; + } .lo-sideview-wrap { background: #f8f9fa; border: 1px solid #e0e0e0; border-radius: 4px; overflow: hidden; } @@ -827,32 +849,43 @@

Capacity Summary:

-
- Governing Constraint: - – -
-
- Total Rolls: -
- – - +
+
Governing Constraint
+
+ Constraint: + –
-
- Utilization: -
-
Weight: – %
-
Volume: – %
-
Product: – m²
+ +
+
Transport Result
+
+ Total Rolls: +
+ – + +
+
+
+ Utilization: +
+
Weight Utilization: – %
+
Volume Utilization: – %
+
Transported Product Area: – m²
+
-
- Remaining Capacity: -
-
Payload: – kg
-
Unused Payload: – %
-
Unused Volume: – %
-
+ +
+
Remaining Capacity
+
+ Remaining Capacity: +
+
Remaining Payload: – kg
+
Unused Payload: – %
+
Unused Volume: – %
+
+
@@ -863,8 +896,8 @@ Constraint - Theoretical Max Rolls - Theoretical Total Weight + Max Rolls + Total Weight Transported Area [m²] Payload Util. % @@ -875,6 +908,7 @@

🔍 Front View – Cross-Section

+

Cross-section of the actual loading configuration.

Run a calculation to see the side view. @@ -1382,9 +1416,9 @@ class LoadOptimizerUI { const unusedPayload = Math.max(0, 100 - res.utilizationWeight); const unusedVolume = Math.max(0, 100 - res.utilizationVolume); const interpretations = { - geometry: 'Payload remains available; no additional roll fits geometrically.', - weight: 'Payload limit is reached before volume or geometry.', - volume: 'Volume capacity is reached before payload or geometry.' + geometry: 'Geometry prevents loading additional rolls although payload capacity remains available.', + weight: 'Payload limit is reached before the available geometry or volume is fully used.', + volume: 'Volume capacity is reached before payload or geometric capacity is fully used.' }; document.getElementById('limitingFactorValue').textContent = res.limiting.name; document.getElementById('totalRollsValue').textContent = res.finalRolls;