-
+
+
diff --git a/src/views/standalone/system/UpdateView.vue b/src/views/standalone/system/UpdateView.vue
index f3e39db98..4f13db8c6 100644
--- a/src/views/standalone/system/UpdateView.vue
+++ b/src/views/standalone/system/UpdateView.vue
@@ -12,6 +12,7 @@ import { useI18n } from 'vue-i18n'
import FormLayout from '@/components/standalone/FormLayout.vue'
import ScheduleUpdateDrawer from '@/components/standalone/update/ScheduleUpdateDrawer.vue'
import UploadImageDrawer from '@/components/standalone/update/UploadImageDrawer.vue'
+import InstalledPackagesModal from '@/components/standalone/update/InstalledPackagesModal.vue'
import { computed, onMounted, ref } from 'vue'
import { ubusCall } from '@/lib/standalone/ubus'
import UpdatePackagesModal from '@/components/standalone/update/UpdatePackagesModal.vue'
@@ -20,6 +21,7 @@ import { getProductName } from '@/lib/config'
import { useNotificationsStore } from '@/stores/notifications'
import { useSystemActionStore } from '@/stores/standalone/systemAction'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
+import { faBoxOpen } from '@fortawesome/free-solid-svg-icons'
export type PackageUpdate = {
package: string
currentVersion: string
@@ -62,6 +64,7 @@ const isChangingAutomaticUpdatesSetting = ref(false)
const showScheduleUpdateDrawer = ref(false)
const showUploadImageDrawer = ref(false)
+const showInstalledPackagesModal = ref(false)
const showConfirmCancelScheduleDrawer = ref(false)
const scheduleDate = computed(() =>
@@ -241,18 +244,26 @@ onMounted(() => {
})
}}
-
-
- {{ t('standalone.update.check_for_fixes') }}
+
+
+
+ {{ t('standalone.update.check_for_fixes') }}
+
+
+
+
+ {{ t('standalone.update.installed_packages') }}
+
+
{
@close="showUploadImageDrawer = false"
@update-requested="onSystemUpdateStarted"
/>
+
diff --git a/src/views/standalone/wizard/WizardShell.vue b/src/views/standalone/wizard/WizardShell.vue
index dcbd68e53..b99293140 100644
--- a/src/views/standalone/wizard/WizardShell.vue
+++ b/src/views/standalone/wizard/WizardShell.vue
@@ -13,8 +13,8 @@ import {
} from '@nethesis/vue-components'
import { useI18n } from 'vue-i18n'
import { computed, onMounted, ref } from 'vue'
-import { useThemeStore } from '@/stores/theme'
import { getCompanyName } from '@/lib/config'
+import { useAppLogo } from '@/composables/useAppLogo'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
import { faArrowUpRightFromSquare } from '@fortawesome/free-solid-svg-icons'
import { useSetupWizardStore } from '@/stores/standalone/setupWizard'
@@ -31,7 +31,7 @@ import wizardLoaderUrl from '@/assets/wizard-loader.svg'
type Step = 'welcome' | 'password' | 'ssh' | 'port9090' | 'port443' | 'summary'
const { t } = useI18n()
-const themeStore = useThemeStore()
+const { logoUrl } = useAppLogo()
const wizardStore = useSetupWizardStore()
const currentStep = ref
('welcome')
const steps: Step[] = ['password', 'ssh', 'port9090', 'port443', 'summary']
@@ -40,14 +40,6 @@ const loadingListInputRules = ref(false)
const errorListInputRules = ref('')
const errorListInputRulesDetails = ref('')
-const logoFilename = computed(() => {
- if (themeStore.isLight) {
- return 'logo_light.svg'
- } else {
- return 'logo_dark.svg'
- }
-})
-
const currentStepNum = computed(() => {
return steps.indexOf(currentStep.value) + 1
})
@@ -156,12 +148,7 @@ function goToPreviousStep() {
aria-hidden="true"
/>
-
+
{{ t('standalone.wizard.finish_message') }}
@@ -176,12 +163,7 @@ function goToPreviousStep() {
>
-
![]()
+
{{ t('standalone.wizard.setup_wizard') }}
diff --git a/vite.config.ts b/vite.config.ts
index 1b0608138..624b2301e 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -9,6 +9,7 @@ import VueI18nPlugin from '@intlify/unplugin-vue-i18n/vite'
// https://vitejs.dev/config/
export default defineConfig({
+ base: './',
plugins: [
vue(),
vueDevTools(),
@@ -24,6 +25,11 @@ export default defineConfig({
},
define: {
UI_VERSION: JSON.stringify(process.env.npm_package_version),
- REQUIRED_API_VERSION: JSON.stringify(process.env.npm_package_config_requiredApiVersion)
+ REQUIRED_API_VERSION: JSON.stringify(process.env.npm_package_config_requiredApiVersion),
+ // First ns-ui release whose bundle can be served under a path prefix, and therefore the first
+ // one the controller can link to directly at /
/ instead of embedding its own copy.
+ MIN_UI_VERSION_FOR_DIRECT_SERVE: JSON.stringify(
+ process.env.npm_package_config_minUiVersionForDirectServe
+ )
}
})