From cc783ca52451587a471d109c9d0229c3c21c29b8 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Wed, 19 Sep 2012 17:07:54 +0200 Subject: basic bom uploading (WIP) --- templates/bom_upload.html | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 templates/bom_upload.html (limited to 'templates/bom_upload.html') diff --git a/templates/bom_upload.html b/templates/bom_upload.html new file mode 100644 index 0000000..1d03963 --- /dev/null +++ b/templates/bom_upload.html @@ -0,0 +1,29 @@ +{{ template "HEADER" }} +{{ if .BomMeta }} + +

{{ .BomMeta.Name }} is a bom.

+Owner: {{ .BomMeta.Owner }}
+{{ if .BomMeta.Homepage }}Homepage: {{ .BomMeta.Homepage }}
{{ end }} +{{ if .BomMeta.Description }}Description: {{ .BomMeta.Description }}
{{ end }} +Version: {{ .BomMeta.HeadVersion }} (at head)
+Created: {{ .Bom.Created }}
+{{ if .Bom.Progeny}}Source: {{ .Bom.Progeny }}
{{ end }} +
+ +{{ else }} + +

{{ .name }} could be a bom.

+Owner: {{ .user }}
+
+ +{{ end }} + +{{ if .error }}

{{ .error }}

{{ end }} +
+Version:
+Created: now!
+
+ +
+ +{{ template "FOOTER" }} -- cgit v1.2.3