Files
api/web/components/UpdateOs/ThirdPartyDrivers.vue
2024-05-16 14:13:01 -07:00

30 lines
1.3 KiB
Vue

<script lang="ts" setup>
import { ExclamationTriangleIcon } from '@heroicons/vue/24/solid';
import { storeToRefs } from 'pinia';
import type { ComposerTranslation } from 'vue-i18n';
import { useUpdateOsActionsStore } from '~/store/updateOsActions';
defineProps<{
t: ComposerTranslation;
}>();
const { rebootTypeText } = storeToRefs(useUpdateOsActionsStore());
</script>
<template>
<UiCardWrapper :increased-padding="true">
<div class="flex flex-col sm:flex-row sm:justify-between sm:items-start gap-20px sm:gap-24px">
<div class="grid gap-y-16px">
<h3 class="text-20px font-semibold leading-normal flex flex-row items-center gap-8px">
<ExclamationTriangleIcon class="w-20px shrink-0" />
{{ t(rebootTypeText) }}
</h3>
<div class="text-16px leading-relaxed opacity-75 whitespace-normal">
<p>{{ t('During the Unraid OS update process third-party drivers were detected and are currently being updated in the background. Please wait for those to finish downloading before rebooting your server to complete the update process. You should receive a system notification when complete. You may also refresh this page to check for an updated status.') }}</p>
</div>
</div>
</div>
</UiCardWrapper>
</template>