This commit is contained in:
parent
ca734fda32
commit
cb84e3cdc0
@ -161,7 +161,7 @@ tr:hover:not(.selected) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#table-container {
|
.table-container {
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
max-height: 400px; /* Passen Sie die Höhe nach Bedarf an */
|
max-height: 400px; /* Passen Sie die Höhe nach Bedarf an */
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
|
@ -190,26 +190,28 @@
|
|||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<form onsubmit="event.preventDefault(); addNutritionEntry();" method="POST" id="nutrition-form">
|
<form onsubmit="event.preventDefault(); addNutritionEntry();" method="POST" id="nutrition-form">
|
||||||
<table id="nutrition-input-table">
|
<div id="table-container">
|
||||||
<tr>
|
<table id="nutrition-input-table">
|
||||||
<th>Lebensmittel</th>
|
<tr>
|
||||||
<th>kcal</th>
|
<th>Lebensmittel</th>
|
||||||
<th>EW</th>
|
<th>kcal</th>
|
||||||
<th>Fett</th>
|
<th>EW</th>
|
||||||
<th>KH</th>
|
<th>Fett</th>
|
||||||
<th>BST</th>
|
<th>KH</th>
|
||||||
<th>CA</th>
|
<th>BST</th>
|
||||||
</tr>
|
<th>CA</th>
|
||||||
<tr>
|
</tr>
|
||||||
<td><input type="text" name="food" placeholder="Lebensmittel" oninput="updateSubmitButtonState()"></td>
|
<tr>
|
||||||
<td><input <input type="text" name="kcal" pattern="\d+([.,]\d{1,2})?" placeholder="g" oninput="updateSubmitButtonState()"></td>
|
<td><input type="text" name="food" placeholder="Lebensmittel" oninput="updateSubmitButtonState()"></td>
|
||||||
<td><input <input type="text" name="ew" pattern="\d+([.,]\d{1,2})?" placeholder="g" oninput="updateSubmitButtonState()"></td>
|
<td><input <input type="text" name="kcal" pattern="\d+([.,]\d{1,2})?" placeholder="g" oninput="updateSubmitButtonState()"></td>
|
||||||
<td><input <input type="text" name="fett" pattern="\d+([.,]\d{1,2})?" placeholder="g" oninput="updateSubmitButtonState()"></td>
|
<td><input <input type="text" name="ew" pattern="\d+([.,]\d{1,2})?" placeholder="g" oninput="updateSubmitButtonState()"></td>
|
||||||
<td><input <input type="text" name="kh" pattern="\d+([.,]\d{1,2})?" placeholder="g" oninput="updateSubmitButtonState()"></td>
|
<td><input <input type="text" name="fett" pattern="\d+([.,]\d{1,2})?" placeholder="g" oninput="updateSubmitButtonState()"></td>
|
||||||
<td><input <input type="text" name="bst" pattern="\d+([.,]\d{1,2})?" placeholder="g" oninput="updateSubmitButtonState()"></td>
|
<td><input <input type="text" name="kh" pattern="\d+([.,]\d{1,2})?" placeholder="g" oninput="updateSubmitButtonState()"></td>
|
||||||
<td><input <input type="text" name="ca" pattern="\d+([.,]\d{1,2})?" placeholder="mg" oninput="updateSubmitButtonState()"></td>
|
<td><input <input type="text" name="bst" pattern="\d+([.,]\d{1,2})?" placeholder="g" oninput="updateSubmitButtonState()"></td>
|
||||||
</tr>
|
<td><input <input type="text" name="ca" pattern="\d+([.,]\d{1,2})?" placeholder="mg" oninput="updateSubmitButtonState()"></td>
|
||||||
</table>
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
<button type="submit" id="submit-button" disabled>Hinzufügen</button>
|
<button type="submit" id="submit-button" disabled>Hinzufügen</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
@ -218,7 +220,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="table-container">
|
<div class="table-container">
|
||||||
<table id="database-nutrition-table">
|
<table id="database-nutrition-table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user