aboutsummaryrefslogtreecommitdiffstats
path: root/templates/user.html
blob: 7367bc1ee765aad2248552ac71f37c57ac90beb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{{ template "HEADER" . }}
{{ if .IsCommon }}
<h1>publicly mirrored BOMs</h1>
<div class="well">
here BOMs from the "commons" of publicly available open hardware designs are
collected. any <a href="/account/login/">logged in</a> bommom user can submit
or edit BOMs here.
</div>

<h3>all BOMs in the commons</h3>
{{ else }}
<h1>{{ .UserName }} is a bommom user.</h1>
<h3>all of {{ .UserName }}'s BOMs</h3>
{{ end }}

<table class="table">
{{ range .BomList }}
  <tr/>
  <td/><a href="/{{ .Owner }}/{{ .Name }}/">{{ .Name }}</a>
{{ else }}
No Boms found!
{{ end }}
</table>
{{ template "FOOTER" . }}