311:cdd183a85dd1
Anton Shestakov <av6@dwimlabs.net>, Fri, 06 Oct 2017 16:22:57 +0800
viewer: hide dashed line in the chart if current check is not anywhere on it

previous change 289:622eaacee683

templates/ui/check-log.html

Permissions: -rw-r--r--

Other formats: Feeds:
<pre class="check-log">{#
#}{% for number, line in enumerate(lines, 1) %}{#
#}<div id="l{{ number }}"{% if 'task' in line %} data-task="{{ line['task'] }}"{% end %}{% if 'cls' in line %} class="{{ line['cls'] }}"{% end %}>{#
#}<a href="#l{{ number }}" class="lineno" data-line-number="{{ number }}"></a>{#
#}{% if 'link' in line %}{#
#}{{ line['text'][:line['link_start']] }}{#
#}<a href="{{ line['link'] }}" class="filelink">{#
#}{{ line['text'][line['link_start']:line['link_end']] }}{#
#}</a>{#
#}{{ line['text'][line['link_end']:] }}{#
#}{% else %}{#
#}{{ line['text'] }}{#
#}{% end %}{#
#}</div>{#
#}{% end %}{#
#}</pre>