summaryrefslogtreecommitdiff
path: root/pgcommitfest/commitfest/templates/patchsearch.html
blob: c7e0502611bdae45584625053bc5e3dee3d805cc (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
25
26
27
28
29
30
31
32
33
34
35
{%extends "base.html"%}
{%load commitfest %}
{%block contents%}

<form method="GET" action="/https/git.postgresql.org/search/" class="form-inline" style="margin-bottom: 10px">
  <div class="form-group">
    <input type="text" class="form-control" id="searchterm" name="searchterm" placeholder="Global search">
  </div>
  <button type="submit" class="btn btn-default">Search</button>
</form>

<table class="table table-striped table-bordered table-hover table-condensed">
 <thead>
  <tr>
   <th>Patch</th>
   <th>Status</th>
   <th>Author</th>
  </tr>
 </thead>
 <tbody>
{%for p in patches %}
 {%with p.patchoncommitfest_set.all as cfs %}
  <tr>
   <td>{%with cfs|first as firstcf%}<a href="/{{firstcf.commitfest_id}}/{{p.id}}/">{{p}}</a>{%endwith%}</td>
   <td>{%for c in cfs %}
	<div style="margin-bottom: 3px;">{{c.commitfest}}: <span class="label label-default">{{c.statusstring}}</span></div>
	{%endfor%}</td>
   <td>{{p.authors_string|default:''}}</td>
  </tr>
 {%endwith%}
{%endfor%}
 </tbody>
</table>

{%endblock%}