From b3d621cd6d68c411b8d1f7a1cd39cf6978e42a55 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 27 Jul 2026 20:31:19 -0400 Subject: [PATCH] feat(ui): restyle CalcInfo with AppButton and ProgressBar Co-Authored-By: Claude Opus 4.8 --- n-link-core/components/CalcInfo.vue | 46 ++++++++--------------------- 1 file changed, 13 insertions(+), 33 deletions(-) diff --git a/n-link-core/components/CalcInfo.vue b/n-link-core/components/CalcInfo.vue index 932612e..85538b0 100644 --- a/n-link-core/components/CalcInfo.vue +++ b/n-link-core/components/CalcInfo.vue @@ -5,35 +5,29 @@

{{ info.id }}


- + Storage: {{ formatSize(info.total_storage - info.free_storage) }} / {{ formatSize(info.total_storage) }} used -
-
-
+
- + RAM: {{ formatSize(info.total_ram - info.free_ram) }} / {{ formatSize(info.total_ram) }} used -
-
-
+
Boot1: {{ formatVersion(info.boot1_version) }} Boot2: {{ formatVersion(info.boot2_version) }} - - +
@@ -43,6 +37,8 @@ import {computed, inject, ref} from 'vue'; import {DEVICES_KEY, type GenericDevices, type Info, type Version} from './devices'; import {filesize} from 'filesize'; +import AppButton from './AppButton.vue'; +import ProgressBar from './ProgressBar.vue'; const props = withDefaults(defineProps<{ info: Info; @@ -86,22 +82,6 @@ function uploadNative(e: Event) {