HoneyComb

HoneyComb is a web interface for managing FreeBSD jails and Bhyve VMs.
Log | Files | Refs | README | LICENSE

buttons.go (249B)


      1 package main
      2 
      3 import (
      4 	"html/template"
      5 	"net/http"
      6 )
      7 func render_ui(w http.ResponseWriter, r *http.Request, j_name string) {
      8 	tmpl := template.Must(template.ParseFiles("static/buttons.html"))
      9 	tmpl.Execute(w, map[string]string{"j_name": j_name})
     10 }