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

17
templates/container.html Normal file
View File

@@ -0,0 +1,17 @@
{% extends "layout.html" %}
{% block body %}
<h1><a href="/">Dashboard</a> &raquo; {{ client_name }} &raquo; <a href="/{{ client_name }}/containers">Containers</a> &raquo; {{ container.name }}</h1>
<form action="{{ url_for('rename_container', client_name=client_name) }}" method="post">
<p><input type="text" name="name" size="60" value="{{ container.name }}"><!--
--><input type="hidden" name="short_id" value="{{ container.short_id }}"><!--
--><input type="submit" value="rename">
</form>
<h2>Details</h2>
<pre>
{{ container.attrs|pprint }}
</pre>
{% endblock %}