Pracownia.Programowania/views/index.html

25 lines
417 B
HTML
Raw Normal View History

2019-03-06 20:06:19 +01:00
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
2018-12-08 23:15:39 +01:00
2019-03-06 20:06:19 +01:00
{{if .First}}
USER NAME {{.UserName}}<br>
PASSWORD {{.Password}}<br>
FIRST {{.First}}<br>
LAST {{.Last}}<br>
<h2><a href="/logout">log out</a></h2>
{{else}}
<h2><a href="/signup">sign up</a></h2>
<h2><a href="/login">log in</a></h2>
2018-12-11 20:42:44 +01:00
{{end}}
2018-12-08 23:15:39 +01:00
2019-03-06 20:06:19 +01:00
<br>
<h2>Go to <a href="/bar">the bar</a></h2>
</body>
</html>