{# The server table, or what stands in for it when there is nothing to show. An ordinary template rather than a macro, unlike the partials in this folder that are only ever included: this one is also returned on its own, as the answer to a delete, and a macro rendered as a response would produce an empty body. Its context is ``rows``, ``section``, ``new_server_path``, ``no_servers``, ``list_id`` and ``list_target``, which is what ``routes_ui._list_context`` exists to build. The same table for both sections, with the two headings that name the thing behind the row taken from ``section``: Base URL and Last spec download on one, Endpoint and Last tool list on the other (task 133). Both halves live inside ``list_target`` on purpose. Deleting the last server has to turn the table into the empty state, and swapping the region rather than the row is what lets one become the other. #} {% from "partials/empty_state.html" import empty_state %}
| Name | {{ section.url_heading }} | {# Counts and flags together: what the server is doing, in one cell rather than spread across a badge, a pair of numbers and a name (task 106). #}Status | {{ section.read_heading }} | Actions |
|---|