{% extends "internal_base.html" %} {% block meta %} Cheriff ยท Workspaces {% end %} {% block style %} {% try %} {% module Template("webpack_templates/cheriff-styles.html") %} {% except %} {% end %} {% end %} {% block content %}

Workspaces

{% if q %}x{% end %}
{% if len(workspaces) == 0 %}
Message
{% if q %} No active workspaces found {% else %} There is no active workspaces {% end %} {% if current_page > 0 %} , go to the first page {% end %} {% if q %} , remove search {% end %}
{% else %} {% for id, workspace in workspaces.items() %} {% end %}
Email Usage Created Database
{{workspace['name']}} {% if workspace.limits %}*{% end %}
Pipes
{{len(workspace.pipes)}}
Data Sources
{{len(workspace.datasources)}}
{% if workspace.enabled_pg %}
PostgreSQL
{{ workspace.pg_server }} / {{ workspace.pg_foreign_server }}:{{ workspace.pg_foreign_server_port }}
{% end %}
{{workspace.created_at.date().isoformat()}}
Server
{{ workspace.database_server }}
Name
{{ workspace.database }}
{% if workspace.clusters %}
Clusters
{{ ', '.join(workspace.clusters) }}
{% end %}
{% end %}
{% if current_page > 1 %} Go to first page {% end %} {% if prev_page > -1 %} Prev page {% end %} Page {{current_page}} {% if next_page > -1 %} Next page {% end %}

New Workspace

{% include "partials/_register_workspace_form.html" %}

Deleted workspaces

{% if len(deleted_workspaces) == 0 %}
Message
{% if q %} No deleted workspaces found {% else %} There is no deleted workspaces {% end %} {% if current_page > 0 %} , go to the first page {% end %} {% if q %} , remove search {% end %}
{% else %} {% for workspace in sorted(deleted_workspaces, key = lambda user: user.updated_at, reverse=True) %} {% end %}
Email Created Last updated Database Hard delete
{% end %}
{% end %}