Add Project Files
This commit is contained in:
25
templates/host_info.html
Normal file
25
templates/host_info.html
Normal file
@@ -0,0 +1,25 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block content %}
|
||||
<h1 class="mb-2">{{ host.host_name }}:{{ host.port }}</h1>
|
||||
<div class="row">
|
||||
<div class="col-lg-8">
|
||||
<table class="table table-responsive table-borderless">
|
||||
<tr>
|
||||
<td>Статус</td>
|
||||
<td>
|
||||
{% if host.status == True %}
|
||||
<strong style="color:darkgreen">ON</strong>
|
||||
{% else %}
|
||||
<strong style="color:red">OFF</strong>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Обновлен</td>
|
||||
<td>{{ host.updated|date:"d.m.Y." }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="col-lg-4"></div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user