Latest changes from Harvester master - a537c1ae38eb7030542ac371f24ae3336cd9d422

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
Francesco Torchia
2024-10-23 17:01:40 +02:00
parent 2ca86930ad
commit 118aaf16b7
35 changed files with 1484 additions and 93 deletions
+21 -16
View File
@@ -1,13 +1,15 @@
<script>
import { HCI } from '../types';
import { mapGetters } from 'vuex';
import { Card } from '@components/Card';
import AsyncButton from '@shell/components/AsyncButton';
import { escapeHtml } from '@shell/utils/string';
import { HCI } from '../types';
export default {
name: 'HarvesterEnableUSBPassthrough',
emits: ['close'],
components: {
AsyncButton,
Card,
@@ -83,25 +85,28 @@ export default {
<template>
<Card :show-highlight-border="false">
<h4
slot="title"
v-clean-html="t('promptRemove.title')"
class="text-default-text"
/>
<template #body>
<t k="harvester.usb.enablePassthroughWarning" :raw="true" />
<template #title>
<h4
v-clean-html="t('promptRemove.title')"
class="text-default-text"
/>
</template>
<div slot="actions" class="actions">
<div class="buttons">
<button class="btn role-secondary mr-10" @click="close">
{{ t('generic.cancel') }}
</button>
<template #body>
{{ t('harvester.usb.enablePassthroughWarning') }}
</template>
<AsyncButton mode="enable" @click="save" />
<template #actions>
<div class="actions">
<div class="buttons">
<button class="btn role-secondary mr-10" @click="close">
{{ t('generic.cancel') }}
</button>
<AsyncButton mode="enable" @click="save" />
</div>
</div>
</div>
</template>
</Card>
</template>