29 lines
1,013 B
Handlebars
29 lines
1,013 B
Handlebars
{{#> partial/header ~}}
|
|
<link rel="stylesheet" href="{{main_url}}{{ crate::app::STYLE_CONTENT_PATH }}">
|
|
<title>{{filename}}</title>
|
|
{{~/partial/header }}
|
|
<header>
|
|
{{> partial/logoLink }}
|
|
<h1>{{#each path_components}}<a href="{{url}}">{{name}}</a><span class="sep">/</span>{{/each}}<span>{{filename}}</span></h1>
|
|
</header>
|
|
|
|
<main>
|
|
<div class="metadata">
|
|
<div id="summary">
|
|
<div style="flex-grow: 1;">
|
|
<span><b>{{lines}}</b> line{{#if lines != 1}}s{{/if}}</span>
|
|
<span>{{size}}</span>
|
|
<a href="{{run_url}}" target="_blank" rel="noopener noreferrer">CI run</a>
|
|
</div>
|
|
<div id="viewers">
|
|
{{#each viewers}}<a {{#if selected}}class="selected"{{/if}} href="?viewer={{id}}">{{name}}</a>{{/each}}
|
|
<a href="{{filename}}">Raw</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="viewer">
|
|
{{{body}}}
|
|
</div>
|
|
</main>
|
|
{{#> partial/footer ~}}
|
|
{{~/partial/footer }}
|