PY_DOCKER_DASHBOARD/templates/container_modal.html

21 lines
695 B
HTML
Raw Normal View History

2023-08-07 07:42:01 +00:00
<div class="modal-header m-1">
<div class="modal-title">
<h5 class="mb-0">{{name}}</h5>
<small>{{project}}</small>
</div>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<div>
<h5>Stats</h5>
{{status}}
<span class="badge rounded-pill text-bg-primary">{{CPU}}%</span>
<span class="badge rounded-pill text-bg-primary">{{RAM}}%</span>
</div><br>
<div>
<h5>Networking</h5>
{% for port in ports %}
<a href="//127.0.0.1:{{ port.split(" /")[0] }}" target="_blank">{{ port.split("/")[0] }}</a>
{%endfor%}
</div>
</div>