Packages

A Fair Source multi-agent runtime with deterministic agent scoring and replayable run history.

Retired package: Deprecated - superseded — operator console moved to the Syntropy app

Current section

Files

Jump to
syntropy lib syntropy_web components layouts app.html.heex
Raw

lib/syntropy_web/components/layouts/app.html.heex

<div class="operator-shell">
<a class="skip-link" href="#operator-main">Skip to runtime console</a>
<aside class="operator-sidebar" aria-label="Syntropy navigation">
<div class="operator-brand">
<h1>Syntropy</h1>
<p>Mission control</p>
</div>
<%= if platform_url("/") do %>
<nav class="operator-nav operator-nav--primary" aria-label="Product navigation">
<a class="operator-nav-link operator-nav-link--product" href={platform_url("/")}>
Back to platform dashboard
</a>
<a class="operator-nav-link" href={platform_url("/runs")}>
Platform run cockpit
</a>
</nav>
<% end %>
<nav class="operator-nav" aria-label="Mission Control navigation">
<.link navigate={~p"/"} class={operator_nav_class(assigns, "/")}>
Lattice
</.link>
<.link navigate={~p"/tasks"} class={operator_nav_class(assigns, "/tasks")}>
Tasks
</.link>
<.link navigate={~p"/history"} class={operator_nav_class(assigns, "/history")}>
History
</.link>
</nav>
<%= if assigns[:operator_auth_required] do %>
<%!-- Plain form POST: link method="post" needs phoenix_html JS, which this app does not bundle. --%>
<form class="operator-session" action={~p"/logout"} method="post">
<input type="hidden" name="_csrf_token" value={Phoenix.Controller.get_csrf_token()} />
<button type="submit" class="operator-signout">Sign out</button>
</form>
<% end %>
</aside>
<div id="operator-main" class="operator-main">
<%= @inner_content %>
</div>
</div>