Got cool stuff working
This commit is contained in:
14
templates/header.gohtml
Normal file
14
templates/header.gohtml
Normal file
@@ -0,0 +1,14 @@
|
||||
{{define "header"}}
|
||||
<html>
|
||||
<head>
|
||||
<title>PC Inventory - {{.}}</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>
|
||||
<hr>
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user