accidental format + added a warning
This commit is contained in:
parent
17020b857c
commit
0900bbaabd
1 changed files with 10 additions and 4 deletions
|
|
@ -335,12 +335,12 @@
|
|||
overflow-x: auto;
|
||||
}
|
||||
|
||||
details > summary {
|
||||
details>summary {
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
details > summary:hover {
|
||||
details>summary:hover {
|
||||
color: #667eea;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -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]>=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 -->
|
||||
|
|
|
|||
Loading…
Reference in a new issue