This commit is contained in:
Dorian
2026-01-28 00:47:00 +00:00
parent 336704512b
commit 2b01cab400
22658 changed files with 542 additions and 4482792 deletions
+18
View File
@@ -197,6 +197,24 @@ function launchApp(id: string) {
return
}
// Special handling for Penpot - open in new tab on port 9001
if (id === 'penpot' || id === 'penpot-frontend') {
window.open('http://localhost:9001', '_blank', 'noopener,noreferrer')
return
}
// Special handling for Morphos - open in new tab on port 8081
if (id === 'morphos' || id === 'morphos-server') {
window.open('http://localhost:8081', '_blank', 'noopener,noreferrer')
return
}
// Special handling for Nextcloud - open in new tab on port 8086
if (id === 'nextcloud') {
window.open('http://localhost:8086', '_blank', 'noopener,noreferrer')
return
}
// Get the LAN address from the package manifest
const lanAddress = pkg?.installed?.['interface-addresses']?.main?.['lan-address']
+19 -2
View File
@@ -1,8 +1,21 @@
<template>
<div>
<div class="mb-8">
<h1 class="text-3xl font-bold text-white mb-2">Cloud</h1>
<p class="text-white/70">Cloud services and storage</p>
<div class="flex items-center justify-between mb-2">
<div>
<h1 class="text-3xl font-bold text-white mb-2">Cloud</h1>
<p class="text-white/70">Cloud services and storage</p>
</div>
<button
@click="openNextcloud"
class="glass-button px-6 py-3 rounded-lg font-medium flex items-center gap-2"
>
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12" />
</svg>
Open Nextcloud
</button>
</div>
</div>
<!-- Folders Grid -->
@@ -103,4 +116,8 @@ function openFolder(folderId: string) {
params: { folderId }
})
}
function openNextcloud() {
window.open('http://localhost:8086', '_blank', 'noopener,noreferrer')
}
</script>