Setup backup encryption in extra step
This commit is contained in:
@@ -23,9 +23,6 @@ const targets = ref([]);
|
||||
const busy = ref(false);
|
||||
|
||||
const columns = {
|
||||
primary: {
|
||||
width: '30px',
|
||||
},
|
||||
status: {
|
||||
width: '30px',
|
||||
},
|
||||
@@ -194,11 +191,6 @@ onMounted(async () => {
|
||||
<p>TODO Explain what backup targets are and what primary/secondary is</p>
|
||||
|
||||
<TableView :columns="columns" :model="targets" :busy="busy">
|
||||
<template #primary="target">
|
||||
<!-- TODO translate -->
|
||||
<i class="fa-solid fa-crown" v-if="target.primary" v-tooltip="'Primary'"></i>
|
||||
</template>
|
||||
|
||||
<template #status="target">
|
||||
<div style="text-align: center;" :title="target.status.message">
|
||||
<StateLED :busy="target.status.busy" :state="target.status.state"/>
|
||||
@@ -213,25 +205,14 @@ onMounted(async () => {
|
||||
{{ target.provider }}
|
||||
</template>
|
||||
|
||||
|
||||
<template #format="target">
|
||||
{{ target.format }}
|
||||
{{ target.format }} <i v-if="target.encrypted" class="fa-solid fa-lock"></i>
|
||||
</template>
|
||||
|
||||
<template #actions="target">
|
||||
<div style="text-align: right;">
|
||||
<Button tool plain secondary @click.capture="onActionMenu(target, $event)" icon="fa-solid fa-ellipsis" />
|
||||
</div>
|
||||
<!-- <div class="table-actions">
|
||||
<ButtonGroup>
|
||||
<Button tool secondary small icon="fa-solid fa-sync-alt" v-if="target.provider === 'sshfs' || target.provider === 'cifs' || target.provider === 'nfs' || target.provider === 'ext4' || target.provider === 'xfs'" v-tooltip="$t('backups.location.remount')" @click.stop="onRemount(target)"></Button>
|
||||
<Button tool secondary small icon="fa-solid fa-clock" @click.stop="onEditSchedule(target)"></Button>
|
||||
<Button tool secondary small :disabled="target.primary" icon="fa-solid fa-crown" @click.stop="onMakePrimaryTarget(target)"></Button>
|
||||
<Button tool secondary small icon="fa-solid fa-pencil-alt" @click.stop="onAddOrEdit(target)"></Button>
|
||||
<Button small tool danger :disabled="target.primary" @click.stop="onRemoveTarget(target)" icon="far fa-trash-alt" />
|
||||
</ButtonGroup>
|
||||
</div>
|
||||
-->
|
||||
</template>
|
||||
</TableView>
|
||||
</Section>
|
||||
|
||||
Reference in New Issue
Block a user