Skip to content

Commit

Permalink
Default widget layout (#1641)
Browse files Browse the repository at this point in the history
My last approach to default look suggestion.

<img width="1445" alt="Zrzut ekranu 2023-11-7 o 09 31 00"
src="https://github.com/homebridge/homebridge-config-ui-x/assets/82271669/c746df58-4a5b-45d6-8b1e-6224bded4a7d">
  • Loading branch information
mkz212 committed Nov 7, 2023
1 parent 1eac32c commit b5d6128
Show file tree
Hide file tree
Showing 29 changed files with 49 additions and 49 deletions.
42 changes: 21 additions & 21 deletions ui/src/app/modules/status/default-dashboard-layout.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
[
{
"x": 5,
"y": 0,
"x": 0,
"y": 8,
"component": "HomebridgeStatusWidgetComponent",
"cols": 10,
"rows": 3,
"cols": 5,
"rows": 6,
"mobileOrder": 10,
"hidePort": true,
"hideOnMobile": false
},
{
"x": 15,
"y": 0,
"x": 16,
"y": 8,
"component": "ChildBridgeWidgetComponent",
"cols": 5,
"rows": 9,
"rows": 6,
"mobileOrder": 35,
"hideOnMobile": false
},
{
"x": 5,
"y": 3,
"y": 8,
"component": "CpuWidgetComponent",
"cols": 5,
"rows": 3,
"mobileOrder": 40,
"hideOnMobile": false
},
{
"x": 10,
"y": 3,
"x": 5,
"y": 11,
"component": "MemoryWidgetComponent",
"cols": 5,
"rows": 3,
Expand All @@ -38,28 +38,28 @@
},
{
"x": 10,
"y": 6,
"y": 11,
"component": "NetworkWidgetComponent",
"cols": 5,
"rows": 3,
"mobileOrder": 55,
"hideOnMobile": false
},
{
"x": 5,
"y": 6,
"x": 10,
"y": 8,
"component": "UptimeWidgetComponent",
"cols": 5,
"rows": 3,
"mobileOrder": 60,
"hideOnMobile": false
},
{
"x": 0,
"y": 9,
"x": 15,
"y": 0,
"component": "SystemInfoWidgetComponent",
"cols": 5,
"rows": 9,
"rows": 8,
"mobileOrder": 70,
"hideOnMobile": false
},
Expand All @@ -68,17 +68,17 @@
"y": 0,
"component": "HapQrcodeWidgetComponent",
"cols": 5,
"rows": 9,
"rows": 8,
"mobileOrder": 100,
"hideOnMobile": false
},
{
"x": 5,
"y": 9,
"y": 0,
"component": "HomebridgeLogsWidgetComponent",
"cols": 15,
"rows": 9,
"cols": 10,
"rows": 8,
"mobileOrder": 1000,
"hideOnMobile": true
}
]
]
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div #pincode class="text-center w-100 mt-auto gridster-item-content">
<p class="mb-1">{{ pin }}</p>
<p class="grey-text mb-1" [translate]="'status.message_code_scan_instructions'">
Scan this code with the camera on your iOS device to add to Apple Home.
Scan to add to HomeKit.
</p>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion ui/src/i18n/bg.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
"status.memory.label_available": "Свободна",
"status.memory.label_total": "Общо",
"status.memory.title_memory": "Рам Памет",
"status.message_code_scan_instructions": "Сканирайте този код с камерата на вашето iOS устройство, за да го добавите към Apple Home.",
"status.message_code_scan_instructions": "Сканирайте, за да добавите към Homekit.",
"status.network.label_received_per_second": "Received",
"status.network.label_sent_per_second": "Sent",
"status.network.title_network": "Network Activity",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/i18n/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
"status.memory.label_available": "Lliure",
"status.memory.label_total": "Total",
"status.memory.title_memory": "Memòria",
"status.message_code_scan_instructions": "Escaneja aquest codi amb la càmera del teu dispositiu iOS per afegir-lo a l'aplicació 'Home'.",
"status.message_code_scan_instructions": "Escaneja per afegir a HomeKit.",
"status.network.label_received_per_second": "Rebut",
"status.network.label_sent_per_second": "Enviat",
"status.network.title_network": "Activitat en xarxa",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/i18n/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
"status.memory.label_available": "Volná",
"status.memory.label_total": "Celková",
"status.memory.title_memory": "Paměť RAM",
"status.message_code_scan_instructions": "Sejměte fotoaparátem ve vašem iOS zařízením tento QR kód a přidejte Homebridge most do aplikace Domácnost.",
"status.message_code_scan_instructions": "Naskenováním přidejte do HomeKit.",
"status.network.label_received_per_second": "Přijato",
"status.network.label_sent_per_second": "Odesláno",
"status.network.title_network": "Aktivita Sítě",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
"status.memory.label_available": "Frei",
"status.memory.label_total": "Gesamt",
"status.memory.title_memory": "Arbeitsspeicher",
"status.message_code_scan_instructions": "Scanne diesen Code mit der Kamera auf deinem iOS-Gerät, um Homebridge zu Apple Home hinzuzufügen.",
"status.message_code_scan_instructions": "Scannen, um es zu HomeKit hinzuzufügen.",
"status.network.label_received_per_second": "Empfangen",
"status.network.label_sent_per_second": "Gesendet",
"status.network.title_network": "Netzwerkaktivitäten",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
"status.memory.label_available": "Available",
"status.memory.label_total": "Total",
"status.memory.title_memory": "Memory",
"status.message_code_scan_instructions": "Scan this code with the camera on your iOS device to add to Apple Home.",
"status.message_code_scan_instructions": "Scan to add to HomeKit.",
"status.network.label_received_per_second": "Received",
"status.network.label_sent_per_second": "Sent",
"status.network.title_network": "Network Activity",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
"status.memory.label_available": "Libre",
"status.memory.label_total": "Total",
"status.memory.title_memory": "Memoria",
"status.message_code_scan_instructions": "Escanea este código con la cámara de tu dispositivo iOS o iPadOS para vincular a la aplicación Casa.",
"status.message_code_scan_instructions": "Escanear para agregar a HomeKit.",
"status.network.label_received_per_second": "Recibido",
"status.network.label_sent_per_second": "Enviado",
"status.network.title_network": "Actividad de la Red",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
"status.memory.label_available": "Disponible",
"status.memory.label_total": "Totale",
"status.memory.title_memory": "Mémoire",
"status.message_code_scan_instructions": "Scannez ce code avec l'appareil photo de votre appareil iOS pour l'ajouter à l'app Maison.",
"status.message_code_scan_instructions": "Numériser pour ajouter à HomeKit.",
"status.network.label_received_per_second": "Reçu",
"status.network.label_sent_per_second": "Envoyé",
"status.network.title_network": "Activité Réseau",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/i18n/he.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
"status.memory.label_available": "פנוי",
"status.memory.label_total": "סה״כ",
"status.memory.title_memory": "זכרון",
"status.message_code_scan_instructions": "סרוק קוד זה באמצעות המצלמה במכשיר הiOS שלך על מנת להוסיף לאפליקצית הבית",
"status.message_code_scan_instructions": "סרוק כדי להוסיף ל-HomeKit",
"status.network.label_received_per_second": "Received",
"status.network.label_sent_per_second": "Sent",
"status.network.title_network": "Network Activity",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/i18n/hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
"status.memory.label_available": "Szabad",
"status.memory.label_total": "Összesen",
"status.memory.title_memory": "Memória",
"status.message_code_scan_instructions": "Az iOS készülék kameráját irányítsd a kódra, hogy a az Apple Home-ba bekerüljön a Homebridge",
"status.message_code_scan_instructions": "Szkennelje be, hogy hozzáadja a HomeKit",
"status.network.label_received_per_second": "Received",
"status.network.label_sent_per_second": "Sent",
"status.network.title_network": "Network Activity",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/i18n/id.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
"status.memory.label_available": "Tersedia",
"status.memory.label_total": "Total",
"status.memory.title_memory": "Memori",
"status.message_code_scan_instructions": "Pindai kode ini dengan kamera di perangkat iOS anda untuk ditambahkan ke dalam Apple Home",
"status.message_code_scan_instructions": "Pindai untuk menambahkan ke HomeKit.",
"status.network.label_received_per_second": "Diterima",
"status.network.label_sent_per_second": "Dikirim",
"status.network.title_network": "Aktivitas Jaringan",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/i18n/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
"status.memory.label_available": "Libera",
"status.memory.label_total": "Totale",
"status.memory.title_memory": "Memoria",
"status.message_code_scan_instructions": "Inquadra questo codice QR con la fotocamera del tuo dispositivo iOS per aggiungere questa istanza di Homebridge all'applicazione Apple Casa.",
"status.message_code_scan_instructions": "Scansiona per aggiungere a HomeKit.",
"status.network.label_received_per_second": "Ricevuti",
"status.network.label_sent_per_second": "Inviati",
"status.network.title_network": "Attività di rete",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/i18n/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
"status.memory.label_available": "空き",
"status.memory.label_total": "合計",
"status.memory.title_memory": "メモリ",
"status.message_code_scan_instructions": "Appleホームアプリに追加するには、iOSデバイスのカメラでこのコードを読み取ってください",
"status.message_code_scan_instructions": "スキャンして HomeKit に追加します",
"status.network.label_received_per_second": "Received",
"status.network.label_sent_per_second": "Sent",
"status.network.title_network": "Network Activity",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/i18n/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
"status.memory.label_available": "가능",
"status.memory.label_total": "전체",
"status.memory.title_memory": "메모리",
"status.message_code_scan_instructions": "Apple Home에 추가하려면 iOS 디바이스의 카메라로 이 코드를 스캔하세요.",
"status.message_code_scan_instructions": "HomeKit에 추가하려면 스캔하세요.",
"status.network.label_received_per_second": "수신됨",
"status.network.label_sent_per_second": "전송",
"status.network.title_network": "네트워크 Activity",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/i18n/mk.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
"status.memory.label_available": "Достапно",
"status.memory.label_total": "Вкупно",
"status.memory.title_memory": "Меморија",
"status.message_code_scan_instructions": "Скенирајте го овој код камерата на вашиот iOS уред за да го даодадете во Apple Home.",
"status.message_code_scan_instructions": "Скенирајте за да додадете во HomeKit.",
"status.network.label_received_per_second": "Received",
"status.network.label_sent_per_second": "Sent",
"status.network.title_network": "Network Activity",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/i18n/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
"status.memory.label_available": "Vrij",
"status.memory.label_total": "Totaal",
"status.memory.title_memory": "Geheugen",
"status.message_code_scan_instructions": "Scan deze code met de camera op uw iOS-apparaat om toe te voegen aan Apple Home.",
"status.message_code_scan_instructions": "Scannen om toe te voegen aan HomeKit.",
"status.network.label_received_per_second": "Ontvangen",
"status.network.label_sent_per_second": "Verzonden",
"status.network.title_network": "Netwerk Activiteit",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/i18n/no.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
"status.memory.label_available": "Ledig",
"status.memory.label_total": "Totalt",
"status.memory.title_memory": "Minne",
"status.message_code_scan_instructions": "Scan denne koden med kameraet på din iOS-enhet for å legge til i Apple Home.",
"status.message_code_scan_instructions": "Skann for å legge til HomeKit.",
"status.network.label_received_per_second": "Received",
"status.network.label_sent_per_second": "Sent",
"status.network.title_network": "Network Activity",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/i18n/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
"status.memory.label_available": "Dostępna",
"status.memory.label_total": "Całkowita",
"status.memory.title_memory": "Pamięć",
"status.message_code_scan_instructions": "Zeskanuj ten kod na urządzeniu z systemem iOS, aby dodać go do HomeKit.",
"status.message_code_scan_instructions": "Zeskanuj aby dodać do HomeKit.",
"status.network.label_received_per_second": "Odebrano",
"status.network.label_sent_per_second": "Wysłano",
"status.network.title_network": "Aktywność sieci",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/i18n/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
"status.memory.label_available": "Disponível",
"status.memory.label_total": "Total",
"status.memory.title_memory": "Memória",
"status.message_code_scan_instructions": "Leia este QR Code com a câmera do seu dispositivo iOS para adicionar ao Apple Casa.",
"status.message_code_scan_instructions": "Digitalize para adicionar ao HomeKit.",
"status.network.label_received_per_second": "Received",
"status.network.label_sent_per_second": "Sent",
"status.network.title_network": "Network Activity",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/i18n/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
"status.memory.label_available": "Disponível",
"status.memory.label_total": "Total",
"status.memory.title_memory": "Memória",
"status.message_code_scan_instructions": "Leia este código com a câmara do seu dispositivo iOS para adicionar ao Apple Home.",
"status.message_code_scan_instructions": "Digitalize para adicionar ao HomeKit.",
"status.network.label_received_per_second": "Recebido",
"status.network.label_sent_per_second": "Enviado",
"status.network.title_network": "Atividade da Rede",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/i18n/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
"status.memory.label_available": "Свободно",
"status.memory.label_total": "Всего",
"status.memory.title_memory": "Память",
"status.message_code_scan_instructions": "Отсканируйте этот код с помощью камеры iOS устройства, чтобы добавить в приложение \"Дом\".",
"status.message_code_scan_instructions": "Отсканируйте, чтобы добавить в HomeKit.",
"status.network.label_received_per_second": "Received",
"status.network.label_sent_per_second": "Sent",
"status.network.title_network": "Network Activity",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/i18n/sl.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
"status.memory.label_available": "Na voljo",
"status.memory.label_total": "Skupaj",
"status.memory.title_memory": "Spomin",
"status.message_code_scan_instructions": "Preglejte to kodo s kamero v napravi iOS, da jo dodate v Apple Home.",
"status.message_code_scan_instructions": "Skenirajte za dodajanje v HomeKit.",
"status.network.label_received_per_second": "Received",
"status.network.label_sent_per_second": "Sent",
"status.network.title_network": "Network Activity",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/i18n/sv.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
"status.memory.label_available": "Fritt",
"status.memory.label_total": "Totalt",
"status.memory.title_memory": "Minne",
"status.message_code_scan_instructions": "Skanna den här koden med kameran på din iOS-enhet för att lägga till i Apple Home.",
"status.message_code_scan_instructions": "Skanna för att lägga till i HomeKit.",
"status.network.label_received_per_second": "Mottaget",
"status.network.label_sent_per_second": "Skickat",
"status.network.title_network": "Nätverksaktivitet",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/i18n/th.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
"status.memory.label_available": "เหลือว่าง",
"status.memory.label_total": "ทั้งหมด",
"status.memory.title_memory": "หน่วยความจำ",
"status.message_code_scan_instructions": "สแกนรหัสนี้ด้วยกล้องบนอุปกรณ์ iOS ของคุณเพื่อเพิ่มลงใน Apple Home",
"status.message_code_scan_instructions": "สแกนเพื่อเพิ่มลงใน HomeKit",
"status.network.label_received_per_second": "ได้รับแล้ว",
"status.network.label_sent_per_second": "ส่ง",
"status.network.title_network": "กิจกรรมเครือข่าย",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/i18n/tr.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
"status.memory.label_available": "Kullanılabilir",
"status.memory.label_total": "Toplam",
"status.memory.title_memory": "Bellek",
"status.message_code_scan_instructions": "Apple Ev uygulamasına eklemek için bu kodu iOS/iPadOS cihazınızdaki kamerayla tarayın.",
"status.message_code_scan_instructions": "HomeKit'e eklemek için tarayın.",
"status.network.label_received_per_second": "Received",
"status.network.label_sent_per_second": "Sent",
"status.network.title_network": "Network Activity",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/i18n/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@
"status.memory.label_available": "Вільно",
"status.memory.label_total": "Всього",
"status.memory.title_memory": "Пам'ять",
"status.message_code_scan_instructions": "Відскануйте цей код за допомогою камери iOS пристрою, щоб додати в додаток \"Дім\".",
"status.message_code_scan_instructions": "Скануйте, щоб додати до HomeKit.",
"status.network.label_received_per_second": "Отримано",
"status.network.label_sent_per_second": "Надіслано",
"status.network.title_network": "Активність у мережі",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/i18n/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
"status.memory.label_available": "空闲",
"status.memory.label_total": "总内存",
"status.memory.title_memory": "内存",
"status.message_code_scan_instructions": "使用 iOS 设备扫描二维码以添加至家庭应用",
"status.message_code_scan_instructions": "扫描添加到HomeKit",
"status.network.label_received_per_second": "Received",
"status.network.label_sent_per_second": "Sent",
"status.network.title_network": "Network Activity",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/i18n/zh-TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
"status.memory.label_available": "閒置",
"status.memory.label_total": "記憶體總計",
"status.memory.title_memory": "記憶體",
"status.message_code_scan_instructions": "用 iOS 裝置內建相機掃描此條碼以新增至「家庭」App",
"status.message_code_scan_instructions": "掃描加入到HomeKit",
"status.network.label_received_per_second": "Received",
"status.network.label_sent_per_second": "Sent",
"status.network.title_network": "Network Activity",
Expand Down

0 comments on commit b5d6128

Please sign in to comment.