summaryrefslogtreecommitdiffstats
path: root/ogcp/templates
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/templates')
-rw-r--r--ogcp/templates/actions/setup.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/ogcp/templates/actions/setup.html b/ogcp/templates/actions/setup.html
index c1633c6..a2f71f9 100644
--- a/ogcp/templates/actions/setup.html
+++ b/ogcp/templates/actions/setup.html
@@ -53,6 +53,17 @@
</table>
</form>
+<select form="scopesForm" name="disk" >
+ {% for disk in disks %}
+ <option {% if disk == selected_disk %}selected{% endif %}
+ value="{{ disk }}">{{ disk }}</option>
+ {% endfor %}
+</select>
+<button class="btn btn-dark" form="scopesForm" formmethod="get"
+ formaction="{{ url_for('action_setup_show') }}">
+ {{ _('Change disk') }}
+</button>
+
<button class="btn btn-primary" data-target="#partitionsTable" onclick="AddPartition(this)">
{{ _('Add a new partition') }}
</button>