Initial commit of docker flask.
This commit is contained in:
48
templates/volumes.html
Normal file
48
templates/volumes.html
Normal file
@@ -0,0 +1,48 @@
|
||||
{% extends "layout.html" %}
|
||||
{% block body %}
|
||||
|
||||
|
||||
<h1><a href="/">Dashboard</a> » {{ client_name }} » Volumes</h1>
|
||||
|
||||
|
||||
<a class="button--link" href="{{ url_for('volumes_prune_action', client_name=client_name) }}">Prune Unused Volumes</a>
|
||||
|
||||
<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 volume in volumes %}
|
||||
<tr>
|
||||
<td> {{ volume.attrs['Driver'] }}</td>
|
||||
<td> {{ volume.attrs['Labels'] }}</td>
|
||||
<td> {{ volume.attrs['Mountpoint'] }}</td>
|
||||
<td> {{ volume.attrs['Name'] }}</td>
|
||||
<td> {{ volume.attrs['Options'] }}</td>
|
||||
<td> {{ volume.attrs['Scope'] }}</td>
|
||||
</tr>
|
||||
|
||||
{% else %}
|
||||
<tr>
|
||||
<td colspan="6">
|
||||
no images
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
{% endfor %}
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user