Websites/app/views/e621_ws/status/_primary.erb

12 lines
507 B
Plaintext
Raw Normal View History

2024-05-03 03:04:43 +00:00
<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>