rctab.routers.frontend

The user-facing web pages.

Functions

access_to_span(status)

Return an HTML span indicating whether a user has a specific level of access.

check_user_on_subscription(conn, ...)

Check whether a user has a role assignment on the subscription.

get_cost_breakdown(usage_object_list)

Get a cost breakdown to build a plot from.

home(request[, user, conn])

The home page.

subscription_details(subscription_id, request)

The subscription details page.

subscription_details_1(request, ...[, user, ...])

Get html for the usage tab of the details page.

Classes

Email(*, address)

A wrapper for an email address.