diff --git a/src/web/app.py b/src/web/app.py index 83105e0..cf1601a 100644 --- a/src/web/app.py +++ b/src/web/app.py @@ -85,7 +85,7 @@ class SecurityHeadersMiddleware(BaseHTTPMiddleware): h["X-Content-Type-Options"] = "nosniff" h["X-XSS-Protection"] = "1; mode=block" h["Referrer-Policy"] = "strict-origin-when-cross-origin" - h["Permissions-Policy"] = "camera=(), microphone=(), geolocation=()" + h["Permissions-Policy"] = "camera=(), microphone=(self), geolocation=()" h["Strict-Transport-Security"] = "max-age=31536000; includeSubDomains" h["Content-Security-Policy"] = self._CSP return response diff --git a/src/web/templates/base.html b/src/web/templates/base.html index 7a47c82..2cbc65f 100644 --- a/src/web/templates/base.html +++ b/src/web/templates/base.html @@ -61,10 +61,6 @@ Post-Typen - - - Status -
Übersicht über alle Kunden und deren Setup-Status
-{{ item.customer.company_name or 'Kein Unternehmen' }}
-{{ item.status.scraped_posts_count }}
-{{ 'Vorhanden' if item.status.has_profile_analysis else 'Fehlt' }}
-{{ item.status.research_count }}
-{{ item.status.posts_count }}
-Erstelle deinen ersten Kunden, um den Status zu sehen.
- - - Neuer Kunde - -Übersicht über deinen Setup-Status
-- {% if session.account_type == 'ghostwriter' %} - Ghostwriter - {% else %} - {{ session.company_name or 'Kein Unternehmen' }} - {% endif %} -
-{{ status.scraped_posts_count }}
-{{ 'Vorhanden' if status.has_profile_analysis else 'Fehlt' }}
-{{ status.research_count }}
-{{ status.posts_count }}
-Es konnte kein Status geladen werden.
-