Improve compatibility with old browsers (#136)
All checks were successful
Backend Deploy / build (push) Successful in 3m16s
Backend Build and Test / build (push) Successful in 3m22s

Reviewed-on: #136
This commit was merged in pull request #136.
This commit is contained in:
2025-05-29 13:54:52 +02:00
parent 02c5c6ea68
commit 5a20e76df2
5 changed files with 36 additions and 10 deletions

View File

@@ -3,9 +3,11 @@
<head>
<title>Allowance Planner 2000</title>
<style>
<!--
tr:hover {
background-color: #f0f0f0;
}
-->
</style>
</head>
<body>
@@ -27,7 +29,7 @@
{{if ne .CurrentUser 0}}
<h2>Allowances</h2>
<form action="/createAllowance" method="post">
<table border="1">
<table border=1>
<thead>
<tr>
<th>Name</th>
@@ -43,7 +45,7 @@
<td></td>
<td><label><input type="number" name="target" placeholder="Target"></label></td>
<td><label><input type="number" name="weight" placeholder="Weight"></label></td>
<td><button>Create</button></td>
<td><input type="submit" value="Create"></td>
</tr>
{{range .Allowances}}
{{if eq .ID 0}}
@@ -103,7 +105,7 @@
<td><label><input type="text" name="name" placeholder="Name"></label></td>
<td></td>
<td><label><input type="number" name="reward" placeholder="Reward"></label></td>
<td><button>Create</button></td>
<td><input type="submit" value="Create"></td>
</tr>
</tbody>
</table>