diff options
author | Pavel Raiskup <praiskup@redhat.com> | 2014-10-24 10:02:41 +0200 |
---|---|---|
committer | Pavel Raiskup <praiskup@redhat.com> | 2014-10-24 10:02:41 +0200 |
commit | fbe706dccdd35bfdfd163b7107ea90f801830321 (patch) | |
tree | f87730d347a5029ca998cd8d2447a8fdc2c927be /controller/result_templates/html.tmpl | |
parent | a2f777c19494999c5bec3ee50b63a627155d5d9b (diff) | |
download | postgresql-setup-tests-fbe706dccdd35bfdfd163b7107ea90f801830321.tar.gz postgresql-setup-tests-fbe706dccdd35bfdfd163b7107ea90f801830321.tar.xz postgresql-setup-tests-fbe706dccdd35bfdfd163b7107ea90f801830321.zip |
controller: autoconfiscate #2
Move 'results_stats' and 'commit_results' binaries into libexec
and adjust appropriately. Also html template is now in
$pkgdatadir.
* .gitignore: Add tags/ChangeLog generated files.
* README: Just some random notes. Needs to be rewritten anyway.
* controller/.gitignore: Add newly 'make'd files.
* controller/Makefile.am: Generate libexec/bin files.
* controller/commit_results: Move to controller/libexec as
dtf-result-stats.in.
* controller/configure.ac: Also substitute resulttemplatedir.
* controller/etc/dtf.conf.d/config.sh.template: The DTF_DATABASE
was misleading - use rather DTF_DATABASE_DEFAULT.
* controller/libexec/dtf-commit-results.in: Moved from
controller/commit_results.
* controller/result_stats: Moved to
controller/libexec/dtf-result-stats.in.
* controller/libexec/dtf-result-stats.in: Moved from
controller/result_stats.
* controller/result_templates/html.tmpl: Moved to
controller/share/dtf-controller/results-stats-templates/html.tmpl.
Diffstat (limited to 'controller/result_templates/html.tmpl')
-rw-r--r-- | controller/result_templates/html.tmpl | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/controller/result_templates/html.tmpl b/controller/result_templates/html.tmpl deleted file mode 100644 index 8a09ad7..0000000 --- a/controller/result_templates/html.tmpl +++ /dev/null @@ -1,42 +0,0 @@ -<!DOCTYPE html> -<html> -<head> -<meta charset="UTF-8" /> -<meta name="keywords" content="" /> -<title>Results</title> -<link href="https://praiskup.fedorapeople.org/staticdata/patternfly-1.1/css/patternfly.css" rel="stylesheet" media="screen, print"> -</head> -<body> -<div class="table-responsive"> -<table class="table table-condensed table-hover"> -<thead> - <tr> - <th>Run time</th> -: for $task_ids.keys() -> $task_id { - <th><: $task_id :></th> -: } - </tr> -</thead><tbody> -: for $results -> $result { - : if ($result.exit_status) { - <tr class="danger"> - : } else { - <tr> - : } - <td><: $result.dirname :></td> - : for $task_ids.keys() -> $task_id { - : if (not defined($result.tasks[$task_id].exit_status)) { - <td>NOT AVAILABLE</td> - : } elsif ($result.tasks[$task_id].exit_status == 0) { - <td>OK</td> - : } else { - <td class="danger">FAIL</td> - : } - : } - <tr> -:} -</tbody> -</table> -</div> -</body> -</html> |