--- a/templates/check.html Thu Sep 14 17:59:05 2017 +0800
+++ b/templates/check.html Sat Sep 16 17:37:38 2017 +0800
- <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']] }}{#
- #}{{ line['text'][line['link_end']:] }}{#
+ {% include ui/check-log.html %}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/ui/check-log.html Sat Sep 16 17:37:38 2017 +0800
+ <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']] }}{#
+ #}{{ line['text'][line['link_end']:] }}{#