Anpassungen am Layout
All checks were successful
release-tag / release-image (push) Successful in 2m55s
All checks were successful
release-tag / release-image (push) Successful in 2m55s
This commit is contained in:
25
main.go
25
main.go
@@ -257,7 +257,7 @@ func main() {
|
||||
})
|
||||
})
|
||||
|
||||
log.Println("Server läuft auf http://localhost:8080")
|
||||
log.Println("Server läuft auf http://0.0.0.0:8080")
|
||||
http.ListenAndServe(":8080", nil)
|
||||
}
|
||||
|
||||
@@ -330,6 +330,17 @@ const htmlTemplate = `
|
||||
{{end}}
|
||||
</div>
|
||||
<h1 class="mb-4">Beitrag zur Community vom Mitglied der Trading-Staffel ({{.Member}})</h1>
|
||||
|
||||
<div class="alert alert-light">
|
||||
<strong>Folgender Wert wurde erwirtschaftet und wird bald zur Verfügung gestellt:</strong> {{formatNumber .OffeneSumme}} UEC
|
||||
</div>
|
||||
|
||||
<div class="alert alert-success">
|
||||
<strong>Summe aller getätigten Abgaben an die Community:</strong> {{formatNumber .Summe}} UEC
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
|
||||
{{if .LoggedIn}}
|
||||
<form method="POST" class="card p-4 mb-4 shadow-sm">
|
||||
<div class="row mb-3">
|
||||
@@ -346,10 +357,14 @@ const htmlTemplate = `
|
||||
<select name="prozentwert" class="form-select">
|
||||
<option value="30">30%</option>
|
||||
<option value="10">10%</option>
|
||||
<option value="15">15%</option>
|
||||
<option value="20">20%</option>
|
||||
<option value="25">25%</option>
|
||||
<option value="30">30%</option>
|
||||
<option value="40">40%</option>
|
||||
<option value="50">50%</option>
|
||||
<option value="75">75%</option>
|
||||
<option value="100">100%</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
@@ -403,14 +418,6 @@ const htmlTemplate = `
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="alert alert-light">
|
||||
<strong>Folgender Wert wurde erwirtschaftet und wird bald zur Verfügung gestellt:</strong> {{formatNumber .OffeneSumme}} UEC
|
||||
</div>
|
||||
|
||||
<div class="alert alert-success">
|
||||
<strong>Summe aller getätigten Abgaben an die Community:</strong> {{formatNumber .Summe}} UEC
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
|
||||
<div class="alert alert-info">
|
||||
|
Reference in New Issue
Block a user