aboutsummaryrefslogtreecommitdiffstats
path: root/templates/bom_view.html
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2012-09-19 18:41:30 +0200
committerbnewbold <bnewbold@robocracy.org>2012-09-19 18:41:30 +0200
commit7cd921c74d03c2bfe50a326d97bac947660b1b30 (patch)
tree78561ca1fcc0069bdc955dda564dbf0cebb81e00 /templates/bom_view.html
parentcc783ca52451587a471d109c9d0229c3c21c29b8 (diff)
downloadbommom-7cd921c74d03c2bfe50a326d97bac947660b1b30.tar.gz
bommom-7cd921c74d03c2bfe50a326d97bac947660b1b30.zip
add basic bootstrap styling
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