accidental format + added a warning

This commit is contained in:
Pagwin 2026-06-09 16:58:56 -04:00
parent 17020b857c
commit 0900bbaabd
No known key found for this signature in database
GPG key ID: 81137023740CA260

View file

@ -453,10 +453,16 @@
<div class="form-section">
<h2>Resource Constraints (Optional)</h2>
<p style="color: #666; font-size: 13px; margin-bottom: 15px;">
Enforce minimum resource levels at specific steps. Examples: <code style="background: #f0f0f0; padding: 2px 4px;">E[3] >= 50</code>, <code style="background: #f0f0f0; padding: 2px 4px;">B[2] + S[2] >= 100</code>
Enforce minimum resource levels at specific steps. Examples: <code
style="background: #f0f0f0; padding: 2px 4px;">E[3] >= 50</code>, <code
style="background: #f0f0f0; padding: 2px 4px;">B[2] + S[2] >= 100</code>
</p>
<p style="color: red; font-size:13px;">Warning: all resources are multiplied by 10 internally so
constraints should also be multiplied by 10 e.g. <code>E[2]&gt;=10</code> checks if electrum is
greater or equal than 1 not 10 on day 2</p>
<div class="constraint-rows" id="resourceConstraints"></div>
<button type="button" class="btn-add" onclick="addResourceConstraint()">+ Add Resource Constraint</button>
<button type="button" class="btn-add" onclick="addResourceConstraint()">+ Add Resource
Constraint</button>
</div>
<!-- Buttons -->