mirror of https://git.48k.eu/ogcp
47 lines
1.3 KiB
HTML
47 lines
1.3 KiB
HTML
{% extends 'commands.html' %}
|
|
{% import "bootstrap/wtf.html" as wtf %}
|
|
{% import "macros.html" as macros %}
|
|
|
|
{% set sidebar_state = 'disabled' %}
|
|
{% set btn_back = true %}
|
|
|
|
{% block content %}
|
|
|
|
<h2 class="mx-5 subhead-heading">
|
|
{{ _('Partition scheme mismatch') }}
|
|
</h2>
|
|
|
|
{{ macros.cmd_selected_clients(selected_clients) }}
|
|
</br>
|
|
|
|
<div class="container mx-5">
|
|
<b>{{ _('Cannot proceed with this command, selected clients have non-uniform or valid partition scheme') }}</b>
|
|
</div>
|
|
<table class="table table-bordered table-hover">
|
|
<thead class="text-center">
|
|
<tr>
|
|
<th style="min-width: 15em;">{{ _('Partitions') }}</th>
|
|
<th>{{ _('Clients') }}</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
{% for idx in range(part_data | length) %}
|
|
<tr>
|
|
<td>
|
|
{% for disk_id, part_id, part_type, fs_type, part_size in part_data.get_partition_setup(idx) %}
|
|
<div>Part {{ part_id }} | {{ fs_type }} | {{ (part_size / 1024) | int}} MiB</div>
|
|
{% else %}
|
|
{{ _('Empty') }}
|
|
{% endfor %}
|
|
</td>
|
|
<td>
|
|
{% for ip in part_data.get_clients(idx) %}<div class="card d-inline-block" style="padding: 5px; margin: 3px;">{{ ip }}</div>{% endfor %}
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
|
|
{% endblock %}
|