Pracownia.Programowania/templates/index.html

42 lines
686 B
HTML
Raw Permalink Normal View History

2019-03-06 20:06:19 +01:00
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="Stylesheet" href="style.css">
<title>Document</title>
<style>
h2
{ color: red }
.container
{
width: 200px;
height: 200px;
background-color: blue;
}
</style>
</head>
<body>
<div class="container">Witaj na Blogu</a></div>
{{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>
{{end}}
<br>
</body>
</html>