Websites/app/views/e621_ws/status/_primary.erb
2024-05-02 22:04:43 -05:00

12 lines
507 B
Plaintext

<h1>
E621 is currently <span id="state" class="<%= @current.state %>"><%= @current.state %></span>.
</h1>
<h2>
API Status: <span id="available" class="<%= @current.available ? "success" : "error" %>"><%= @current.available ? "Available" : "Not Available" %></span>
</h2>
<h2>
We've seen a <span id="status" class="<%= @current.available ? "success" : "error" %>"><%= @current.status %></span> since <span id="time" data-e621-ws--status-target="time"><%= @current.created_at.iso8601 %></span>.
</h2>