blob: ba624f5fdc31898b2f277eb57222fd028d6ba91a (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
|
<!DOCTYPE html>
<html lang="en">
<head>
{{ template "header" . }}
<title>{{.OriginalQuery.Query}} - {{.GlobalVars.Name}}</title>
</head>
<body>
<section class="section">
{{ template "navbar" . }}
</section>
<section class="section">
<nav class="breadcrumb" aria-label="breadcrumbs">
<ul>
<li><a href="/">{{.GlobalVars.Name}}</a></li>
<li class="is-active"><a href="#" aria-current="page">Search Results For "{{.OriginalQuery.Query}}"</a></li>
</ul>
</nav>
<div class="container">
<div class="container">
<form action="/search" method="GET">
<div class="field has-addons">
<div class="control is-expanded has-icons-left">
<input class="input" type="text" name="query" value="{{.OriginalQuery.Query}}" placeholder="Search Query" spellcheck="false">
<span class="icon is-left">
<i class="fa-solid fa-magnifying-glass"></i>
</span>
</div>
<div class="control">
<input class="button is-primary" type="submit" value="Search">
</div>
</div>
</form>
</div>
<p>Showing {{.NumResults}} of {{.TotalResults}} (Estimated) </p>
</div>
</section>
<div class="container is-fluid">
<a href="#" class="button is-link mb-1" disabled>Export Results</a>
<a href="/search?query={{.OriginalQuery.Query}}&maxHits={{.MaxResults}}&sort=subasc" class="button is-link mb-1">Sort by Submission Date (ASC) </a>
<a href="/search?query={{.OriginalQuery.Query}}&maxHits={{.MaxResults}}&sort=subdesc" class="button is-link mb-1">Sort by Submission Date (DESC) </a>
<a href="/search?query={{.OriginalQuery.Query}}&maxHits={{.MaxResults}}&sort=decasc" class="button is-link mb-1">Sort by Decision Date (ASC) </a>
<a href="/search?query={{.OriginalQuery.Query}}&maxHits={{.MaxResults}}&sort=decdesc" class="button is-link mb-1">Sort by Decision Date (DESC) </a>
<a href="/search?query={{.OriginalQuery.Query}}&maxHits={{.MaxResults}}" class="button is-link mb-1">Sort by Relevancy (Default) </a>
</div>
<section class="section">
{{ range .SearchResults }}
<div class="card mb-4">
<header class="card-header">
<p class="card-header-title">
{{.applicant}} <a href="/dbentry?id={{.id}}" class="is-info ">{{ .id }}</a></p>
</header>
<div class="card-content">
<div class="media">
<div class="media-content">
<a href="/dbentry?id={{.id}}" class="is-size-3 link">{{ .title }}</a>
</div>
</div>
<div class="content">
{{.submission_date }} - {{unescapeHTML ._formatted.full_text}}
</div>
</div>
<footer class="card-footer">
<div class="card-header-title is-flex-wrap-wrap">
Predicates
{{ range .predicates}}
<a href="/dbentry?id={{.}}" class="button is-info is-light m-3">{{ . }}</a> 
{{ end }}
</div>
</footer>
</div>
{{ end }}
</section>
<section class="section">
<div class="container">
<div class="columns">
{{if .ShowPrev }}
<div class="column">
<div class="field has-addons">
<a class="button is-primary is-light is-medium is-fullwidth" href="/search?query={{.OriginalQuery.Query}}&page={{.PrevPage}}&maxHits={{.MaxResults}}&sort={{.Sort}}" title="Previous Page">
<span class="icon is-small">
<i class="fa-solid fa-left-long"></i>
</span>
<span>Previous Page</span>
</a>
</div>
</div>
{{ end }}
{{ if .MoreResults }}
<div class="column">
<div class="field has-addons">
<a class="button is-primary is-medium is-fullwidth" href="/search?query={{.OriginalQuery.Query}}&page={{.NextPage}}&maxHits={{.MaxResults}}&sort={{.Sort}}" title="Next Page">
<span>
Next Page
</span>
<span class="icon is-small">
<i class="fa-solid fa-right-long"></i>
</span>
</a></div>
</div>
{{ end }}
</div></div>
</section>
<script>
if (typeof navigator.serviceWorker !== 'undefined') {
navigator.serviceWorker.register('/static/pwabuilder-sw.js')
}
</script>
<script type="text/javascript">
function trq(){(trq.q=trq.q||[]).push(arguments);}
trq('account', 't-63cc92af0ea63623795069f1');
var _paq=_paq||[];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//capturly.com/";
_paq.push(["setTrackerUrl", u+"/capturly-track.php"]);
_paq.push(['setSiteId', '5800']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'/capturly-track-js.js';
s.parentNode.insertBefore(g,s);
})();
</script>
</body>
</html>
|