From 77c172b823b64ebface655681ab0749b9d2f7081 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Benencia?= Date: Fri, 13 Apr 2018 16:30:31 -0700 Subject: First public commit --- web/templates/html/mappings.html | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 web/templates/html/mappings.html (limited to 'web/templates/html/mappings.html') diff --git a/web/templates/html/mappings.html b/web/templates/html/mappings.html new file mode 100644 index 0000000..dd7d8a5 --- /dev/null +++ b/web/templates/html/mappings.html @@ -0,0 +1,40 @@ +{{ define "mappings" }} + +
+ {{ if .NetworkMaps }} +
+ +
Network Mappings
+ + + + + + + {{ range .NetworkMaps }} + + + + + {{ end }} +
SubnetIPXE script to use
{{ .Network }}{{ .Script.String }}
+
+
+ +
Hostname Mappings
+ + + + + + {{ range .HostnameMaps }} + + + + + {{ end }} +
HostnameIPXE script to use
/{{ .Hostname.String }}/{{ .Script.String }}
+
+ {{ end }} +
+{{ end }} -- cgit v1.2.3