.github
datadog
doc
examples
foreman
src
hydra-eval-jobs
hydra-evaluator
hydra-queue-runner
lib
libhydra
root
static
Makefile.am
all.tt
auth.tt
bootstrap-4.3.1-dist.zip
build-deps.tt
build.tt
channel-contents.tt
common.tt
dashboard-my-jobs-tab.tt
dashboard-my-jobsets-tab.tt
dashboard.tt
deps.tt
edit-jobset.tt
edit-project.tt
error.tt
evals.tt
flot-0.8.3.zip
fontawesome-free-5.10.2-web.zip
job-metrics-tab.tt
job.tt
jobset-channels-tab.tt
jobset-eval.tt
jobset-jobs-tab.tt
jobset.tt
layout.tt
lazy_error.tt
log.tt
machine-status.tt
machines.tt
metric.tt
news.tt
overview.tt
plain.tt
product-list.tt
project.tt
queue-runner-status.tt
queue-summary.tt
queue.tt
reproduce.tt
runcommand-log.tt
runtime-deps.tt
search.tt
status.tt
steps.tt
topbar.tt
user.tt
users.tt
script
sql
ttf
Makefile.PL
Makefile.am
t
.editorconfig
.gitignore
.perlcriticrc
.yath.rc
COPYING
INSTALL
Makefile.am
Procfile
README.md
bootstrap
configure.ac
default.nix
flake.lock
flake.nix
hydra-api.yaml
hydra-module.nix
shell.nix
version.txt
88 lines
2.3 KiB
Plaintext
88 lines
2.3 KiB
Plaintext
[% WRAPPER layout.tt title="Search results" %]
|
|
[% PROCESS common.tt %]
|
|
|
|
[% matched = 0 %]
|
|
|
|
[% BLOCK renderBuildSearch %]
|
|
|
|
[% IF builds.size > 0 %]
|
|
|
|
<p>The following builds match your query:[% IF builds.size > limit %] <span class="text-warning">(first [% limit %] results only)</span>[% END %]</p>
|
|
|
|
[% INCLUDE renderBuildList %]
|
|
|
|
[% END %]
|
|
|
|
[% END; %]
|
|
|
|
|
|
[% IF projects.size > 0; matched = 1 %]
|
|
|
|
<p>The following projects match your query:</p>
|
|
|
|
<table class="table table-striped table-condensed clickable-rows">
|
|
<thead>
|
|
<tr><th>Project</th><th>Description</th></tr>
|
|
</thead>
|
|
<tbody>
|
|
[% FOREACH p IN projects %]
|
|
<tr>
|
|
<td><span class="[% IF !p.enabled %]disabled-project[% END %]">[% INCLUDE renderProjectName project=p.name inRow=1 %]</span></td>
|
|
<td>[% HTML.escape(p.description) %]</td>
|
|
</tr>
|
|
[% END %]
|
|
</tbody>
|
|
</table>
|
|
|
|
[% END %]
|
|
|
|
[% IF jobsets.size > 0; matched = 1 %]
|
|
|
|
<p>The following jobsets match your query:</p>
|
|
|
|
<table class="table table-striped table-condensed clickable-rows">
|
|
<thead>
|
|
<tr><th>Jobset</th><th>Description</th></tr>
|
|
</thead>
|
|
<tbody>
|
|
[% FOREACH j IN jobsets %]
|
|
<tr>
|
|
<td><span class="[% IF !j.enabled %]disabled-jobset[% END %]">[% INCLUDE renderFullJobsetName project=j.get_column('project') jobset=j.name inRow=1 %]</span></td>
|
|
<td>[% HTML.escape(j.description) %]</td>
|
|
</tr>
|
|
[% END %]
|
|
</tbody>
|
|
</table>
|
|
|
|
[% END %]
|
|
|
|
[% IF jobs.size > 0; matched = 1 %]
|
|
|
|
<p>The following jobs match your query:[% IF jobs.size > limit %] <span class="text-warning">(first [% limit %] results only)</span>[% END %]</p>
|
|
|
|
<table class="table table-striped table-condensed clickable-rows">
|
|
<thead>
|
|
<tr><th>Job</th></tr>
|
|
</thead>
|
|
<tbody>
|
|
[% FOREACH j IN jobs %]
|
|
<tr>
|
|
<td><span>[% INCLUDE renderFullJobName project=j.jobset.get_column('project') jobset=j.jobset.get_column('name') job=j.job inRow=1 %]</span></td>
|
|
</tr>
|
|
[% END %]
|
|
</tbody>
|
|
</table>
|
|
|
|
[% END %]
|
|
|
|
[% INCLUDE renderBuildSearch %]
|
|
[% INCLUDE renderBuildSearch builds=buildsdrv %]
|
|
|
|
[% IF builds.size > 0 || buildsdrv.size > 0 ; matched = 1 ; END %]
|
|
|
|
[% IF !matched %]
|
|
<div class="alert alert-warning">Sorry! Nothing matches your query.</div>
|
|
[% END %]
|
|
|
|
[% END %]
|