Anton Shestakov <av6@dwimlabs.net>, Wed, 20 Sep 2017 11:25:26 +0800
viewer: use two columns for info lists on check page for small screens too
Since lists themselves switch to one column on small screens, there's enough
space for both of them side by side.
templates/compare.html
Permissions: -rw-r--r--
{% extends "base.html" %} {% block title %}#
{{ reference.ordinal }} and #
{{ check.ordinal }}{% end %} <div class="uk-container uk-container-center uk-margin-large-top"> {% module Template('ui/project-link.html', project=project) %} <span class="uk-text-nowrap"> · comparing
<a href="{{ project.get_url() }}/{{ reference.ordinal }}">#
{{ reference.ordinal }}</a> and
<a href="{{ project.get_url() }}/{{ check.ordinal }}">#
{{ check.ordinal }}</a> {% if check.change.branch != reference.change.branch %} Checks are for different branches:
{{ check.change.branch }} and
{{ reference.change.branch }}.
{% if check.change_id == reference.change_id %} Both checks are for the same commit:
{% set change = check.change %} <a href="{{ adapter.get_commit_url(change) }}">{% if change.rev is not None %}{{ change.rev }}:
{% end %}{{ change.node[:12] }}</a>.
{% include ui/check-log.html %}