{# One template for every resource list. Applications, services, sites and databases are all the same shape: a dense list of rows carrying a state rail. Rendering them from one template is what keeps them looking and behaving alike, so an operator learns the screen once. The endpoints come from the context, already built. A template that concatenates "/api/" with a resource kind is a template that can be wrong about a route, and a button that posts to an address which does not exist is worse than no button. #} {% extends "base.html" %} {% import "_macros.html" as m %} {% block title %}{{ title }}{% endblock %} {% block content %} {% call m.page_head(title, subtitle) %} {% if action_label %} {{ action_label }} {% endif %} {% endcall %} {% if rows %}