339:641a6a8ee1b6
Anton Shestakov <av6@dwimlabs.net>, Wed, 30 May 2018 18:20:33 +0800
requirements: peewee 3.5.0 Moving +1 to select clause because "<query> + x" is now interpreted as "<query> UNION ALL x". Database.create_tables() now defaults to safe=True.

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>