{% extends "base.html" %} {% block title %}Resource Pool{% endblock %} {% block extra_css %} {% endblock %} {% block content %}

Resource Pool

Verwalten Sie Domains, IPs und Telefonnummern

➕ Ressourcen hinzufügen 📊 Metriken 📄 Report
{% for type, data in stats.items() %}
{% if type == 'domain' %} 🌐 {% elif type == 'ipv4' %} 🖥️ {% else %} 📱 {% endif %}
{{ type|upper }}
{{ data.available }}
von {{ data.total }} verfügbar
{{ data.available_percent }}%
{% if data.allocated > 0 %}{{ data.allocated }}{% endif %}
{% if data.quarantine > 0 %}{{ data.quarantine }}{% endif %}
{% if data.available_percent < 20 %} ⚠️ Niedriger Bestand {% elif data.available_percent < 50 %} ⚡ Bestand prüfen {% else %} ✅ Gut gefüllt {% endif %}
{% endfor %}
📋 Ressourcen-Liste
{{ total }} Einträge
{% if resources %}
{% for resource in resources %} {% endfor %}
ID Typ Ressource Status Zugewiesen an Letzte Änderung Aktionen
#{{ resource[0] }}
{% if resource[1] == 'domain' %} 🌐 {% elif resource[1] == 'ipv4' %} 🖥️ {% else %} 📱 {% endif %}
{{ resource[2] }}
{% if resource[3] == 'available' %} ✅ Verfügbar {% elif resource[3] == 'allocated' %} 🔗 Zugeteilt {% else %} ⚠️ Quarantäne {% if resource[8] %}
{{ resource[8] }}
{% endif %} {% endif %}
{% if resource[5] %}
{{ resource[6] }}
{% else %} - {% endif %}
{% if resource[7] %}
{{ resource[7].strftime('%d.%m.%Y') }}
{{ resource[7].strftime('%H:%M Uhr') }}
{% else %} - {% endif %}
{% if resource[3] == 'available' %} {% elif resource[3] == 'quarantine' %}
{% endif %}
{% else %}

Keine Ressourcen gefunden

Ändern Sie Ihre Filterkriterien oder fügen Sie neue Ressourcen hinzu.

{% endif %}
{% if total_pages > 1 %} {% endif %} {% if recent_activities %}
⏰ Kürzliche Aktivitäten
{% for activity in recent_activities %}
{% if activity[0] == 'created' %} {% elif activity[0] == 'allocated' %} 🔗 {% elif activity[0] == 'deallocated' %} 🔓 {% elif activity[0] == 'quarantined' %} ⚠️ {% else %} ℹ️ {% endif %}
{{ activity[4] }} ({{ activity[3] }}) - {{ activity[0] }} {% if activity[1] %} von {{ activity[1] }} {% endif %}
{{ activity[2].strftime('%d.%m.%Y %H:%M') if activity[2] else '' }}
{% endfor %}
{% endif %}
{% endblock %}