Initial commit of docker flask.

This commit is contained in:
Krzysztof Płaczek
2018-03-09 10:33:19 +01:00
commit 6e9b3aed3a
16 changed files with 1128 additions and 0 deletions

28
templates/top.html Normal file
View File

@@ -0,0 +1,28 @@
{% extends "layout.html" %}
{% block body %}
<h1><a href="/">Dashboard</a> &raquo; {{ client_name }} &raquo; <a href="/{{ client_name }}/containers">Containers</a> &raquo; {{ container.name }}
processes</h1>
<input type="text" class="search_table" placeholder="search">
<table>
<thead>
<tr>
{% for header in top['Titles'] %}
<th>{{ header }}</th>
{% endfor %}
</tr>
</thead>
<tbody>
{% for processes in top['Processes'] %}
<tr>
{% for process in processes %}
<td>{{ process }}</td>
{% endfor %}
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}