mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 09:00:26 +00:00
Small browser fixes
This commit is contained in:
parent
2dd2790eff
commit
7766a67abf
17 changed files with 26 additions and 17 deletions
|
@ -3,6 +3,7 @@ package io.xpipe.app.browser;
|
|||
import io.xpipe.app.browser.file.BrowserFileOverviewComp;
|
||||
import io.xpipe.app.browser.fs.OpenFileSystemModel;
|
||||
import io.xpipe.app.comp.base.SimpleTitledPaneComp;
|
||||
import io.xpipe.app.core.AppFont;
|
||||
import io.xpipe.app.core.AppI18n;
|
||||
import io.xpipe.app.fxcomps.SimpleComp;
|
||||
import io.xpipe.app.fxcomps.impl.VerticalComp;
|
||||
|
@ -77,6 +78,8 @@ public class BrowserOverviewComp extends SimpleComp {
|
|||
var recentPane = new SimpleTitledPaneComp(AppI18n.observable("recent"), recentOverview);
|
||||
|
||||
var vbox = new VerticalComp(List.of(recentPane, commonPane, rootsPane)).styleClass("overview");
|
||||
return vbox.createRegion();
|
||||
var r = vbox.createRegion();
|
||||
AppFont.medium(r);
|
||||
return r;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -140,13 +140,14 @@ public class BrowserWelcomeComp extends SimpleComp {
|
|||
.hide(empty)
|
||||
.accessibleTextKey("restoreAllSessions");
|
||||
layout.getChildren().add(tile.createRegion());
|
||||
AppFont.medium(layout);
|
||||
return layout;
|
||||
}
|
||||
|
||||
private Comp<?> entryButton(BrowserSavedState.Entry e, BooleanProperty disable) {
|
||||
var entry = DataStorage.get().getStoreEntryIfPresent(e.getUuid());
|
||||
var graphic = entry.get().getEffectiveIconFile();
|
||||
var view = PrettyImageHelper.ofFixedSize(graphic, 30, 24);
|
||||
var view = PrettyImageHelper.ofFixedSize(graphic, 22, 16);
|
||||
return new ButtonComp(
|
||||
new SimpleStringProperty(DataStorage.get().getStoreEntryDisplayName(entry.get())),
|
||||
view.createRegion(),
|
||||
|
|
|
@ -9,6 +9,7 @@ import io.xpipe.app.fxcomps.util.PlatformThread;
|
|||
import io.xpipe.app.issue.ErrorEvent;
|
||||
import io.xpipe.app.storage.DataStorage;
|
||||
import io.xpipe.app.terminal.ExternalTerminalType;
|
||||
import io.xpipe.app.terminal.TerminalView;
|
||||
import io.xpipe.app.update.XPipeDistributionType;
|
||||
import io.xpipe.app.util.PasswordLockSecretValue;
|
||||
import io.xpipe.app.util.XPipeSession;
|
||||
|
@ -568,6 +569,10 @@ public class AppPrefs {
|
|||
ErrorEvent.fromThrowable(e).expected().build().handle();
|
||||
storageDirectory.setValue(DEFAULT_STORAGE_DIR);
|
||||
}
|
||||
|
||||
if (!TerminalView.isSupported()) {
|
||||
enableTerminalDocking.set(false);
|
||||
}
|
||||
}
|
||||
|
||||
private void loadSharedRemote() {
|
||||
|
|
|
@ -5,11 +5,11 @@
|
|||
-fx-border-color: -color-border-default;
|
||||
}
|
||||
|
||||
.root:dark .sidebar-comp {
|
||||
.root:dark:separate-frame .sidebar-comp {
|
||||
-fx-background-color: derive(-color-bg-default, 10%);
|
||||
}
|
||||
|
||||
.root:light .sidebar-comp {
|
||||
.root:light:separate-frame .sidebar-comp {
|
||||
-fx-background-color: derive(-color-bg-default, -1%);
|
||||
}
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
}
|
||||
*/
|
||||
|
||||
.root {
|
||||
.root:light, .root:dark {
|
||||
-fx-background-color: transparent;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
communityDescription=Et power-værktøj til forbindelser, der er perfekt til dit personlige brug.
|
||||
upgradeDescription=Professionel forbindelsesstyring til hele din serverinfrastruktur.
|
||||
discoverPlans=Opdag planer
|
||||
discoverPlans=Opdag opgraderingsmuligheder
|
||||
extendProfessional=Opgrader til de nyeste professionelle funktioner
|
||||
communityItem1=Ubegrænsede forbindelser til ikke-kommercielle systemer og værktøjer
|
||||
communityItem2=Problemfri integration med dine installerede terminaler og editorer
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
communityDescription=Ein Power-Tool für Verbindungen, das perfekt für deine persönlichen Anwendungsfälle ist.
|
||||
upgradeDescription=Professionelles Verbindungsmanagement für deine gesamte Serverinfrastruktur.
|
||||
discoverPlans=Pläne entdecken
|
||||
discoverPlans=Upgrade-Optionen entdecken
|
||||
extendProfessional=Upgrade auf die neuesten professionellen Funktionen
|
||||
communityItem1=Unbegrenzte Verbindungen zu nicht-kommerziellen Systemen und Tools
|
||||
communityItem2=Nahtlose Integration mit deinen installierten Terminals und Editoren
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
communityDescription=A connection power-tool perfect for your personal use cases.
|
||||
upgradeDescription=Professional connection management for your entire server infrastructure.
|
||||
discoverPlans=Discover plans
|
||||
discoverPlans=Discover upgrade options
|
||||
extendProfessional=Upgrade to latest professional features
|
||||
communityItem1=Unlimited connections to non-commercial systems and tools
|
||||
communityItem2=Seamless integration with your installed terminals and editors
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
communityDescription=Una herramienta de conexión perfecta para tus casos de uso personal.
|
||||
upgradeDescription=Gestión profesional de conexiones para toda tu infraestructura de servidores.
|
||||
discoverPlans=Descubrir planes
|
||||
discoverPlans=Descubre las opciones de actualización
|
||||
extendProfessional=Actualiza a las últimas funciones profesionales
|
||||
communityItem1=Conexiones ilimitadas a sistemas y herramientas no comerciales
|
||||
communityItem2=Integración perfecta con tus terminales y editores instalados
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
communityDescription=Un outil puissant de connexion parfait pour tes cas d'utilisation personnels.
|
||||
upgradeDescription=Gestion professionnelle des connexions pour l'ensemble de ton infrastructure de serveurs.
|
||||
discoverPlans=Découvrir les plans
|
||||
discoverPlans=Découvre les options de mise à niveau
|
||||
extendProfessional=Mise à jour vers les dernières fonctionnalités professionnelles
|
||||
communityItem1=Connexions illimitées à des systèmes et outils non commerciaux
|
||||
communityItem2=Intégration transparente avec les terminaux et les éditeurs que tu as installés
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
communityDescription=Uno strumento di connessione perfetto per i tuoi casi d'uso personali.
|
||||
upgradeDescription=Gestione professionale delle connessioni per tutta la tua infrastruttura server.
|
||||
discoverPlans=Scoprire i piani
|
||||
discoverPlans=Scoprire le opzioni di aggiornamento
|
||||
extendProfessional=Aggiornamento alle ultime funzionalità professionali
|
||||
communityItem1=Connessioni illimitate a sistemi e strumenti non commerciali
|
||||
communityItem2=Integrazione perfetta con i terminali e gli editor installati
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
communityDescription=個人的なユースケースに最適な接続パワーツール。
|
||||
upgradeDescription=サーバーインフラ全体のプロフェッショナルな接続管理
|
||||
discoverPlans=プランを発見する
|
||||
discoverPlans=アップグレードオプションを発見する
|
||||
extendProfessional=最新のプロフェッショナル機能にアップグレードする
|
||||
communityItem1=非商用システムやツールに無制限に接続できる
|
||||
communityItem2=インストールされている端末やエディターとのシームレスな統合
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
communityDescription=Een power-tool voor verbindingen, perfect voor persoonlijk gebruik.
|
||||
upgradeDescription=Professioneel verbindingsbeheer voor je hele serverinfrastructuur.
|
||||
discoverPlans=Plannen ontdekken
|
||||
discoverPlans=Upgrade-opties ontdekken
|
||||
extendProfessional=Upgrade naar de nieuwste professionele functies
|
||||
communityItem1=Onbeperkte verbindingen met niet-commerciële systemen en hulpmiddelen
|
||||
communityItem2=Naadloze integratie met je geïnstalleerde terminals en editors
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
communityDescription=Uma ferramenta de ligação perfeita para os teus casos de utilização pessoal.
|
||||
upgradeDescription=Gestão profissional das ligações para toda a tua infraestrutura de servidores.
|
||||
discoverPlans=Descobre planos
|
||||
discoverPlans=Descobre as opções de atualização
|
||||
extendProfessional=Actualiza para as funcionalidades profissionais mais recentes
|
||||
communityItem1=Ligações ilimitadas a sistemas e ferramentas não comerciais
|
||||
communityItem2=Integração perfeita com os teus terminais e editores instalados
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
communityDescription=Инструмент для соединения, идеально подходящий для твоих личных целей.
|
||||
upgradeDescription=Профессиональное управление соединениями для всей твоей серверной инфраструктуры.
|
||||
discoverPlans=Узнай планы
|
||||
discoverPlans=Узнайте о возможностях обновления
|
||||
extendProfessional=Обновись до последних профессиональных функций
|
||||
communityItem1=Неограниченное количество подключений к некоммерческим системам и инструментам
|
||||
communityItem2=Бесшовная интеграция с установленными у тебя терминалами и редакторами
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
communityDescription=Kişisel kullanım durumlarınız için mükemmel bir bağlantı güç aracı.
|
||||
upgradeDescription=Tüm sunucu altyapınız için profesyonel bağlantı yönetimi.
|
||||
discoverPlans=Planları keşfedin
|
||||
discoverPlans=Yükseltme seçeneklerini keşfedin
|
||||
extendProfessional=En son profesyonel özelliklere yükseltme
|
||||
communityItem1=Ticari olmayan sistemlere ve araçlara sınırsız bağlantı
|
||||
communityItem2=Kurulu terminalleriniz ve editörlerinizle sorunsuz entegrasyon
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
communityDescription=最适合您个人使用的连接动力工具。
|
||||
upgradeDescription=为您的整个服务器基础设施提供专业的连接管理。
|
||||
discoverPlans=发现计划
|
||||
discoverPlans=发现升级选项
|
||||
extendProfessional=升级到最新的专业功能
|
||||
communityItem1=无限连接非商业系统和工具
|
||||
communityItem2=与已安装的终端和编辑器无缝集成
|
||||
|
|
Loading…
Reference in a new issue