Can create devices nicely

This commit is contained in:
2025-03-24 09:43:41 +01:00
parent 6405e7d692
commit c459148d33
9 changed files with 233 additions and 54 deletions

View File

@@ -1,10 +1,11 @@
{{define "header"}}
<html>
<head>
<title>PC Inventory{{if .}} - {{.}}{{- end}}</title>
<title>PC Inventory{{if .}} - {{.}}{{end}}</title>
<script src="/static/scripts.js" type="application/javascript"></script>
</head>
<body>
<h1>PC Inventory - <i>{{.}}</i></h1>
<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">