~cmars/hockeypuck/master

« back to all changes in this revision

Viewing changes to www/templates/pks/index.tmpl

  • Committer: Casey Marshall
  • Date: 2012-12-04 03:22:21 UTC
  • Revision ID: git-v1:bd158e13017b27f98633caf2b10918c5e623543b
* === added directory instroot, ... scripts/crossbuild.sh:
  - Relocate static system installed files to instroot.
  - Added cross-compilation script. LP: #1086192

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
{{define "title"}}Hockeypuck | Key Search Results{{end}}
2
 
 
3
 
{{define "index-top"}}
4
 
{{template "top" .}}
5
 
<h2>Search Results: '{{.}}'</h2>
6
 
<table>
7
 
<tr>
8
 
        <th>Type</th>
9
 
        <th>Key Length/ID</th>
10
 
        <th>Created</th>
11
 
        <th></th>
12
 
</tr>
13
 
{{end}}
14
 
 
15
 
{{define "index-bottom"}}
16
 
</table>
17
 
{{template "bottom" .}}
18
 
{{end}}
19
 
 
20
 
{{define "pub-index-row"}}
21
 
<tr>
22
 
<td>pub</td>
23
 
<td><img src="data:image/jpeg;base64,{{.FpQrCode}}"/>{{.KeyLength}}{{.AlgoCode}}/<a href="/pks/lookup?op=get&search=0x{{.Fingerprint}}">{{.Fingerprint}}</a></td>
24
 
<td>{{.CreationTime}}</td>
25
 
<td></td>
26
 
</tr>
27
 
{{end}}
28
 
 
29
 
{{define "uid-index-row"}}
30
 
<tr>
31
 
<td>uid</td>
32
 
<td colspan='2'></td>
33
 
<td><a href="/pks/lookup?op=vindex&search=0x{{.Fingerprint}}">{{.Id}}</a></td>
34
 
</tr>
35
 
{{end}}
36
 
 
37
 
{{define "sig-vindex-row"}}
38
 
<tr>
39
 
<td>sig</td>
40
 
<td>{{.ShortId}}</td>
41
 
<td>{{.SigTime}}</td>
42
 
<td>{{.ShortId}}</td>
43
 
<td><a href="/pks/lookup?op=vindex&search=0x{{.LongId}}">{{.LongId}}</a></td>
44
 
</tr>
45
 
{{end}}
46
 
 
47
 
{{define "uattr-image-row"}}
48
 
<tr>
49
 
<td>uattr</td>
50
 
<td colspan='4'><img src="data:image/jpeg;base64,{{.ImageData}}"></img></td>
51
 
</tr>
52
 
{{end}}
53