github.com/thanos-io/thanos@v0.32.5/website/layouts/proposal/single.html (about) 1 {{ define "main" }} 2 <div class="container"> 3 <div class="row py-5"> 4 <div class="col col-3"> 5 {{ partial "_default/sidemenu.html" . }} 6 </div> 7 <div class="col col-9"> 8 <h1>{{ .Title }}</h1> 9 <dl> 10 <dt>Status</dt> 11 {{ if eq .Params.Status "accepted"}} 12 <dd><span class="badge badge-success">{{ .Params.status }}</span></dd> 13 {{ end }} 14 {{ if eq .Params.Status "complete"}} 15 <dd><span class="badge badge-success">{{ .Params.status }}</span></dd> 16 {{ end }} 17 {{ if eq .Params.Status "rejected"}} 18 <dd><span class="badge badge-danger">{{ .Params.status }}</span></dd> 19 {{ end }} 20 {{ if eq .Params.Status "draft"}} 21 <dd><span class="badge badge-info">{{ .Params.status }}</span></dd> 22 {{ end }} 23 {{ if eq .Params.Status "in-review"}} 24 <dd><span class="badge badge-info">{{ .Params.status }}</span></dd> 25 {{ end }} 26 <dt>Owner</dt> 27 <dd><a href="https://github.com/{{ .Params.owner }}">@{{ .Params.owner }}</a></dd> 28 {{ if .Params.issue }} 29 <dt>Issue</dt> 30 <dd>@{{ .Params.issue}}</dd> 31 {{ end }} 32 </dl> 33 {{ replace .Content "<table>" "<table class='table table-striped'>" | safeHTML }} 34 </div> 35 </div> 36 </div> 37 {{ end }}