Files
pcinv/templates/header.gohtml

16 lines
336 B
Plaintext

{{define "header"}}
<html>
<head>
<title>PC Inventory {{if - {{.}}</title>
</head>
<body>
<h1>PC Inventory - <i>{{.}}</i></h1>
<form action="/device" method="get">
<label for="id">Device ID:</label>
<input type="text" id="id" name="id">
<button type="submit">Search</button>
</form>
<a href="/create">Create Device</a>
<hr>
{{end}}