{% extends "layout.html" %} {% block content %}

Basic Information

{{ server.ip_address }}
{{ server.subnet.cidr }} ({{ server.subnet.location }})
{{ server.scan_status or 'Not scanned yet' }}

Port Usage

Get Free Port
Free Used

Used Ports

{% set used_ports = [] %} {% for app in server.apps %} {% for port in app.ports %} {% set _ = used_ports.append({'port': port.port_number, 'protocol': port.protocol, 'app': app.name}) %} {% endfor %} {% endfor %} {% if used_ports %} {% for port_info in used_ports %} {{ port_info.port }}/{{ port_info.protocol }} {% endfor %} {% else %} No ports in use {% endif %}

Documentation

{% if server.documentation %}
{{ server.documentation|markdown|safe }}
{% else %}
No documentation added yet.
{% endif %}

Applications

Add Application {% if server.apps and server.apps|length > 1 %} {% endif %}
{% if server.apps %}
{% for app in server.apps %}

{{ app.name }}

{% if app.documentation %}
Documentation
{{ (app.documentation | truncate(200, true, "..."))|markdown|safe }} {% if app.documentation | length > 200 %} Read more... {% endif %}
{% endif %}
{% endfor %}
{% else %}

No applications found

This server doesn't have any applications yet.

{% endif %}
{% block extra_js %} {% endblock %} {% endblock %} {% block styles %} {% endblock %}