<.header> <%= case @health.message do %> <% "Connected" -> %> <% "Disconnected" -> %> <% _ -> %> <% end %> <:subtitle> <%= @server.public_ip %> <:actions> <.button>+ New App <.button class="border border-black bg-transparent text-black hover:text-white"> Quick actions <.icon name="hero-chevron-down" />
<%= for {name, task} <- @health.tasks do %> Background task in progress: <%= name %>

<%= task.progress %> complete

<% end %>

Connect to your server using root credentials and execute the following command:

# <%= @registration_command %>
<.live_component id={"system_info-#{@server.name}"} module={PrymnWeb.SystemInfo} ip={@server.public_ip} />
<.input type="checkbox" name="dry_run" value={@dry_run} label="Enable dry-run operations" />

System

Updates: <%= 0 %> pending updates. <.button type="button" class="ml-4" phx-click="system_update"> Update now

<%= output %>

Backups

<.table id="backups" rows={[%{date: "2023-10-11"}, %{date: "2023-10-10"}]}> <:col :let={backup} label="Date"><%= backup.date %> <:action> <.button>Restore

Manage Services

<.table id="services" rows={[%{name: "mariadb", status: "Active"}, %{name: "php8.0", status: "Disabled"}]} > <:col :let={service} label="Service"><%= service.name %> <:col :let={service} label="Status"><%= service.status %> <:action> <.button>Activate <.button>Deactivate
<.back navigate={~p"/servers"}>Back to servers