17 lines
452 B
Plaintext
17 lines
452 B
Plaintext
{{define "header"}}
|
|
<html>
|
|
<head>
|
|
<title>PC Inventory{{if .}} - {{.}}{{end}}</title>
|
|
<script src="/static/scripts.js" type="application/javascript"></script>
|
|
</head>
|
|
<body>
|
|
<h1><a href="/">PC Inventory</a>{{if .}} - <i>{{.}}{{end}}</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>
|
|
<a href="/create">Create Device</a>
|
|
</form>
|
|
<hr>
|
|
{{end}}
|