{# One domain of the permissions page: its switches, then a row per tool with its box, its marks and what it costs. Each box carries what the script needs to count and to tick by group: the cost, whether the tool only reads, and whether it removes a record. #} {% import "components/ui.html" as ui with context %} {% call(part) ui.card(group.label, group=group.domain, actions=True) %} {% if part == "actions" %} {# The four choices of the bar above the groups, for this group alone, beside its heading where the eye already is. #} {% else %} {% for tool in group.tools %}