Initial commit of docker flask.
This commit is contained in:
52
templates/networks.html
Normal file
52
templates/networks.html
Normal file
@@ -0,0 +1,52 @@
|
||||
{% extends "layout.html" %}
|
||||
{% block body %}
|
||||
|
||||
|
||||
<h1><a href="/">Dashboard</a> » {{ client_name }} » Networks</h1>
|
||||
|
||||
<input type="text" class="search_table" placeholder="search">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>DRIVER</th>
|
||||
<th>LABELS</th>
|
||||
<th>MOUNTPOINT</th>
|
||||
<th>NAME</th>
|
||||
<th>OPTIONS</th>
|
||||
<th>SCOPE</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
{% for network in networks %}
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
<pre>
|
||||
{{ network.attrs|pprint }}
|
||||
</pre>
|
||||
</td>
|
||||
<td> {{ network.attrs['Driver'] }}</td>
|
||||
<td> {{ network.attrs['Labels'] }}</td>
|
||||
<td> {{ network.attrs['Mountpoint'] }}</td>
|
||||
<td> {{ network.attrs['Name'] }}</td>
|
||||
<td> {{ network.attrs['Options'] }}</td>
|
||||
<td> {{ network.attrs['Scope'] }}</td>
|
||||
</tr>
|
||||
|
||||
{% else %}
|
||||
<tr>
|
||||
<td colspan="6">
|
||||
no networks
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
{% endfor %}
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user