ecoffee/app/views/instance/show.html.erb

9 lines
436 B
Text

<div hx-get="" hx-trigger="every 30s" hx-swap="innerHTML" hx-target="this">
<header>
<img src="/icon.png" width="50" alt="eureka.coffee logo" />
<h1><span class="muted">instance</span> <%= @instance.name %></h1>
<%= render partial: "zone_img", locals: { zone: @instance.zone, alt: @instance.zone, title: @instance.zone.upcase_first } %>
</header>
<%= render partial: "list", locals: { instance: @instance } %>
</div>