aboutsummaryrefslogtreecommitdiffstats
path: root/templates/bom_view.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/bom_view.html')
-rw-r--r--templates/bom_view.html12
1 files changed, 5 insertions, 7 deletions
diff --git a/templates/bom_view.html b/templates/bom_view.html
index cbd3474..2e66bf1 100644
--- a/templates/bom_view.html
+++ b/templates/bom_view.html
@@ -1,12 +1,10 @@
{{ template "HEADER" }}
<h1>{{ .BomMeta.Name }} is a bom.</h1>
-<b>Owner: </b>{{ .BomMeta.Owner }}<br>
-{{ if .BomMeta.Homepage }}<b>Homepage: </b>{{ .BomMeta.Homepage }}<br>{{ end }}
-{{ if .BomMeta.Description }}<b>Description: </b>{{ .BomMeta.Description }}<br>{{ end }}
-<b>Version: </b>{{ .BomMeta.HeadVersion }} (at head)<br>
-<b>Created: </b>{{ .Bom.Created }}<br>
-{{ if .Bom.Progeny}}<b>Source: </b>{{ .Bom.Progeny }}<br>{{ end }}
-<table>
+<a href="./_upload/"><button class="btn btn-mini">upload new</button></a>
+<br>
+<br>
+{{ template "BOM_INFO" . }}
+<table class="table table-hover table-condensed" style="font-size: smaller;">
<tr>
<th>qty
<th>elements