From b43f744707e4687b424cf217b183cf3f19693ef2 Mon Sep 17 00:00:00 2001 From: Michael Simacek Date: Dec 09 2014 14:11:56 +0000 Subject: More details in package_detail --- diff --git a/templates/package-detail.html b/templates/package-detail.html index e2467db..840eeba 100644 --- a/templates/package-detail.html +++ b/templates/package-detail.html @@ -5,96 +5,124 @@ {% endmacro %} {% block content %} -{% if package.state_string == 'unresolved' %} - - - - - {% for problem in package.resolution_problems %} - - - - {% endfor %} -
Dependency problems
{{ problem.problem }}
-{% endif %} -{% if package.unapplied_changes %} - +
- - - {{ macros.depchange_table(package.unapplied_changes) }} -
Dependency changes since last build
-{% endif %} -{{ macros.pagination_row(page, "Builds") }} - - - - - - - - - - - - {% for build in builds %} - {% set row_class = ["odd", "even"][loop.index % 2] + ["", " real"][build.real] %} - {% set changes = iter(build.dependency_changes) %} - {% if build.real %} - - - - {% endif %} - - - - - {{ next_change(changes) }} + - {% for subtask in build.build_arch_tasks %} - + + + + + - - {{ next_change(changes) }} - + {% if package.state_string == 'unresolved' and package.resolution_problems %} + + + + + {% for problem in package.resolution_problems[1:] %} + + + {% endfor %} - {% for change in changes %} - - + + {{ package.unapplied_changes[0] | format_depchange | columnize(css_class="mono") }} + + {% for change in package.unapplied_changes[1:] %} + + {{ change | format_depchange | columnize(css_class="mono") }} - {% endfor %} - {% endfor %} - + {% endif %} +
StateKoji taskStartedDependency changesBuild details
- - Real build: {{ package.name }}-{% if build.epoch %}{{ build.epoch }}:{% endif %}{{ build.version }}-{{ build.release }} -
- {{ build.state_string }} - - {{ build.task_id }} - - - {{ build.started | date }} - Package state - details + + {{ package.state_string }}
Current priority -
{{ subtask.arch }}
+ {{ package.current_priority }}
Static priority - - {{ "├└"[loop.last] }}{{ subtask.task_id }} - + {{ package.static_priority }} ( - - build.log - | - - root.log - - ) +
Dependency problems{{ package.resolution_problems[0].problem }}
{{ problem.problem }}
+ {% endif %} + + {% if package.unapplied_changes %} +
Dependency changes since last build
+ +{{ macros.pagination_row(page, "Builds") }} + + + + + + + + + + + + {% for build in builds %} + {% set row_class = ["odd", "even"][loop.index % 2] + ["", " real"][build.real] %} + {% set changes = iter(build.dependency_changes) %} + {% if build.real %} + + + + + {% endif %} + + + + + {{ next_change(changes) }} + + + {% for subtask in build.build_arch_tasks %} + + + + + {{ next_change(changes) }} + + + {% endfor %} + {% for change in changes %} + + + {{ change | format_depchange | columnize(css_class="mono") }} + + + {% endfor %} + {% endfor %} +
StateKoji taskStartedDependency changesBuild details
+ Real build: {{ package.name }}-{% if build.epoch %}{{ build.epoch }}:{% endif %}{{ build.version }}-{{ build.release }} +
+ {{ build.state_string }} + + {{ build.task_id }} + + + {{ build.started | date }} + + details +
+
{{ subtask.arch }}
+
+ + {{ "├└"[loop.last] }}{{ subtask.task_id }} + + ( + + build.log + | + + root.log + + ) +
{% endblock %} diff --git a/theme/fedora/static/koji.css b/theme/fedora/static/koji.css index ef37d6b..1a58520 100644 --- a/theme/fedora/static/koji.css +++ b/theme/fedora/static/koji.css @@ -537,3 +537,6 @@ span#loginInfo { font-family: monospace; font-size: 12px; } +.details { + padding-bottom: 20px; +}