{% extends "base.html" %} {% block title %}Manage sites — SEO Control Room{% endblock %} {% block content %}
Setup

Manage clients, projects & sites

Structure: Client → Project → Site(s)

1. Add a client

2. Add a project

{% if clients %}
{% else %}
Add a client first.
{% endif %}

3. Add a site

{% set all_projects = [] %} {% for c in clients %}{% for p in c.projects %}{% set _ = all_projects.append((c, p)) %}{% endfor %}{% endfor %} {% if all_projects %}
{% else %}
Add a client and project first.
{% endif %}

Existing structure

{% if clients %} {% for c in clients %}

{{ c.name }}

{% for p in c.projects %}
{{ p.name }} ({{ p.sites|length }} site{{ '' if p.sites|length == 1 else 's' }})
{% for s in p.sites %}
{{ s.url }}
View
{% else %}
No sites yet.
{% endfor %}
{% else %}
No projects yet for this client.
{% endfor %}
{% endfor %} {% else %}

No clients yet — add one above to get started.

{% endif %}
{% endblock %}