Add given and return

This commit is contained in:
elpatron68
2024-05-26 00:30:03 +02:00
parent 8f3a632b12
commit 678dbd3460
2 changed files with 47 additions and 20 deletions

View File

@@ -39,18 +39,25 @@
.custom-btn-size {
font-size: 200%;
}
.input-container {
display: flex;
flex-direction: column; /* Ändert die Richtung der Flex-Elemente zu Spalten */
align-items: center;
justify-content: center;
height: 100%;
}
.input-container input {
margin-bottom: 10px;
width: 80%; /* Setzt die Breite des Eingabefelds */
}
.input-container button {
width: 80%; /* Setzt die Breite des Buttons */
}
</style>
</head>
<body>
<div class="container-fluid table-container">
<table class="table table-bordered">
<!-- <thead>
<tr>
<th>Spalte 1</th>
<th>Spalte 2</th>
<th>Spalte 3</th>
</tr>
</thead> -->
<form method="post">
<tbody>
<tr class="large-font">
@@ -67,7 +74,14 @@
<td><button type="submit" name="wert" value="0.2" class="btn btn-xl btn-success custom-btn-size">🛍️ 0,20€ ({{ item6 }})</button></td>
</tr>
<tr class="bold-row">
<td colspan="3">🫰 {{ gesamtwert }}€</td>
<td>🫰 {{ gesamtwert }}€</td>
<td>
<div class="input-container">
<input type="text" class="form-control" name="given">
<button type="submit" class="btn btn-xl btn-primary custom-btn-size">🧾</button>
</div>
</td>
<td>💱 {{ change }}0€</td>
</tr>
<tr>
<td colspan="3"><button type="submit" name="wert" value="0" id="reset" class="btn btn-xl btn-dark custom-btn-size">Reset 🐳</button></td>