{% extends 'base.html' %} {% load fontawesome_5 %} {% block content %}
Apps
{% if user.is_authenticated %} {% if not patterns %} New App {% else %} New App {% endif %} {% else %} New App {% endif %}
{% if apps %} {% for app in apps %} {% if user.is_authenticated %} {% endif %} {% endfor %}
ID Name Created by Description Scans
{{ app.id }} {{ app.name }} {{ app.user.username }} {{ app.description }} {% if settings.VIRUSTOTAL_ENABLED %} {% endif %} {% if user.is_authenticated %} {% endif %} {% for scan in scans %} {% if scan.app.id == app.id %} {% for id, scan_data in scans_data.items %} {% if id == scan.id %} {% if settings.VIRUSTOTAL_ENABLED %} {% if scan_data.antivirus.malicious > 0 %} {% else %} {% endif %} {% endif %} {% if user.is_authenticated %} {% endif %} {% endif %} {% endfor %} {% endif %} {% endfor %}
ID Description Version Created On Status ProgressVTFindings By SeverityDelete
{{ scan.id }} {{ scan.description }} {{ scan.version_code }} {{ scan.created_on }} {{ scan.status }} {{ scan.progress }} % {% fa5_icon 'shield-alt' color='red' %} {{ scan_data.antivirus.malicious }} {% fa5_icon 'shield-alt' color='green' %} {{ scan_data.antivirus.malicious }}{{ scan.findings }} {% for severity, number in scan_data.findings.items %} {% if severity == 'Critical' %} {% elif severity == 'High' %} {% elif severity == 'Medium'%} {% elif severity == 'Low' %} {% else %} {% endif %} {% endfor %}
{{ severity }} {% fa5_icon 'exclamation-circle' color='black' %} {{ number }} {% fa5_icon 'exclamation-circle' color='red' %} {{ number }} {% fa5_icon 'exclamation-circle' color='orange' %} {{ number }}{% fa5_icon 'exclamation-circle' color='blue' %} {{ number }}{% fa5_icon 'check-circle' color='green' %} {{ number }}
{% csrf_token %}
New Scan
{% endif %} {% endblock %}