| giolekva | 1cf5431 | 2021-09-23 21:27:20 +0400 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | <html lang="en"> |
| 3 | <head> |
| 4 | <meta charset="utf-8" /> |
| 5 | <title>Manage email accounts</title> |
| 6 | </head> |
| 7 | <body> |
| 8 | <form action="/create" method="POST"> |
| 9 | <label for="username">Username:</label><br /> |
| 10 | <input type="text" name="username" /><br /> |
| 11 | <label for="password">Last name:</label><br /> |
| 12 | <input type="password" name="password" /><br /> |
| 13 | <input type="submit" value="Create New Account" /> |
| 14 | </form> |
| 15 | <table> |
| 16 | <tr> |
| 17 | <th>Account</th> |
| 18 | <th>Delete</th> |
| 19 | </tr> |
| 20 | {{range .}} |
| 21 | <tr> |
| 22 | <td> |
| 23 | {{.}} |
| 24 | </td> |
| 25 | <td> |
| 26 | Delete |
| 27 | </td> |
| 28 | </tr> |
| 29 | {{end}} |
| 30 | </table> |
| 31 | </body> |
| 32 | </html> |
| 33 | |