Menu
AkurAI-Build
publicLatest change e3c871a2465047ecb760490386b73968ce20f3c6 - Complete Build UI audit wave (AKURAI-BUILD-2..9) by Ólafur Búi Ólafsson
{% extends "layouts/base.html" %}
{% block title %}{{ page.repository.name }} / {{ page.path or "Code" }} — AkurAI Build{% endblock %}
{% block page %}repository-code{% endblock %}
{% block body %}
{% if page.public %}
<main class="ab-public">
<header class="ab-nav"><a class="ab-wordmark" href="/" aria-label="AkurAI Build home"><span class="ab-mark" aria-hidden="true">A</span><span>AkurAI <b>Build</b></span></a><a class="ab-button ab-button-quiet" href="/login">Sign in <span aria-hidden="true">↗</span></a></header>
<section class="ab-hero" aria-labelledby="code-title"><div class="ab-hero-copy"><p class="ab-kicker">Public repository / {{ page.reference }}</p><h1 id="code-title">{{ page.repository.name }}{% if page.path %} / {{ page.path }}{% endif %}</h1><p class="ab-lede">Browse source at a stable ref. Authentication is required only for private repositories.</p></div></section>
<section class="pt-panel pt-code-browser" aria-label="Repository code">
<nav class="pt-breadcrumb" aria-label="Code breadcrumbs"><a href="{{ page.parent_href }}">Parent</a><span aria-hidden="true">/</span>{% for crumb in page.breadcrumbs %}{% if not loop.last %}<a href="{{ crumb.href }}">{{ crumb.label }}</a><span aria-hidden="true">/</span>{% else %}<strong>{{ crumb.label }}</strong>{% endif %}{% endfor %}</nav>
{% if page.latest_commit %}<p class="pt-code-commit">Latest change <a href="{{ page.commit_href }}" aria-label="Browse repository at commit {{ page.latest_commit.sha }}"><code>{{ page.latest_commit.sha }}</code></a> — {{ page.latest_commit.message }} by {{ page.latest_commit.author }}</p>{% endif %}
{% if page.is_file %}
<pre class="pt-code-source" tabindex="0" aria-label="Source of {{ page.path }}">{{ page.source }}</pre>
{% else %}
<div class="pt-table-wrap" role="region" aria-label="Files in {{ page.path or page.repository.name }}" tabindex="0" data-scrollable><table class="pt-data-table"><caption class="pt-sr-only">Files in {{ page.path or page.repository.name }}</caption><thead><tr><th scope="col">Name</th><th scope="col">Kind</th><th scope="col">Size</th><th scope="col">Latest commit</th></tr></thead><tbody>{% for entry in page.entries %}<tr><td data-label="Name"><a class="pt-table-link" href="{{ entry.href }}" aria-label="Open {{ entry.kind }} {{ entry.name }}">{{ entry.name }}</a></td><td data-label="Kind">{{ entry.kind }}</td><td data-label="Size">{{ entry.size }}</td><td data-label="Latest commit">{{ entry.commit_message or "—" }}</td></tr>{% else %}<tr><td colspan="4">This directory is empty.</td></tr>{% endfor %}</tbody></table></div>
{% endif %}
</section>
</main>
{% else %}
<div class="pt-app-shell">
<aside class="pt-app-sidebar"><a class="pt-app-brand" href="/app" aria-label="AkurAI Build overview"><span class="pt-mark" aria-hidden="true">A</span><span><strong>AkurAI Build</strong><small>Git-native delivery</small></span></a><nav class="pt-app-nav" aria-label="Workspace"><a href="/app">Overview</a><a href="/app/repositories" aria-current="page">Repositories</a><a href="/app/runs">Runs</a><a href="/app/workers">Workers</a></nav></aside>
<main class="pt-app-content">
<p class="pt-breadcrumb"><a href="{{ page.parent_href }}">Parent</a><span aria-hidden="true">/</span>{% for crumb in page.breadcrumbs %}{% if not loop.last %}<a href="{{ crumb.href }}">{{ crumb.label }}</a><span aria-hidden="true">/</span>{% else %}<strong>{{ crumb.label }}</strong>{% endif %}{% endfor %}</p>
<section class="pt-panel pt-code-browser">
<div class="pt-panel-head"><div><p class="pt-eyebrow">{{ page.reference }}</p><h1>{{ page.repository.name }}{% if page.path %} / {{ page.path }}{% endif %}</h1></div><a class="pt-button pt-small" href="{{ page.parent_href }}">Parent</a></div>
{% if page.latest_commit %}<p class="pt-code-commit">Latest change <a href="{{ page.commit_href }}" aria-label="Browse repository at commit {{ page.latest_commit.sha }}"><code>{{ page.latest_commit.sha }}</code></a> — {{ page.latest_commit.message }} by {{ page.latest_commit.author }}</p>{% endif %}
{% if page.is_file %}
<pre class="pt-code-source" tabindex="0" aria-label="Source of {{ page.path }}">{{ page.source }}</pre>
{% else %}
<div class="pt-table-wrap" role="region" aria-label="Files in {{ page.path or page.repository.name }}" tabindex="0" data-scrollable><table class="pt-data-table"><caption class="pt-sr-only">Files in {{ page.path or page.repository.name }}</caption><thead><tr><th scope="col">Name</th><th scope="col">Kind</th><th scope="col">Size</th><th scope="col">Latest commit</th></tr></thead><tbody>{% for entry in page.entries %}<tr><td data-label="Name"><a class="pt-table-link" href="{{ entry.href }}" aria-label="Open {{ entry.kind }} {{ entry.name }}">{{ entry.name }}</a></td><td data-label="Kind">{{ entry.kind }}</td><td data-label="Size">{{ entry.size }}</td><td data-label="Latest commit">{{ entry.commit_message or "—" }}</td></tr>{% else %}<tr><td colspan="4">This directory is empty.</td></tr>{% endfor %}</tbody></table></div>
{% endif %}
</section>
</main>
</div>
{% endif %}
{% endblock %}