mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-04-28 09:43:13 +00:00
add reticulum status section
This commit is contained in:
parent
7a3d2e8671
commit
850547a359
2 changed files with 27 additions and 0 deletions
|
|
@ -542,6 +542,7 @@ class ReticulumMeshChat:
|
|||
"database_file_size": os.path.getsize(self.database_path),
|
||||
"reticulum_config_path": self.reticulum.configpath,
|
||||
"is_connected_to_shared_instance": self.reticulum.is_connected_to_shared_instance,
|
||||
"is_transport_enabled": self.reticulum.transport_enabled(),
|
||||
},
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -64,6 +64,32 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<!-- reticulum status -->
|
||||
<div v-if="appInfo" class="bg-white rounded shadow">
|
||||
<div class="flex border-b border-gray-300 text-gray-700 p-2 font-semibold">Reticulum</div>
|
||||
<div class="divide-y text-gray-900">
|
||||
|
||||
<!-- instance mode -->
|
||||
<div class="p-1">
|
||||
<div>Instance Mode</div>
|
||||
<div class="text-sm text-gray-700">
|
||||
<span v-if="appInfo.is_connected_to_shared_instance" class="text-orange-600">Connected to Shared Instance</span>
|
||||
<span v-else class="text-green-600">Running as Standalone Instance</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- transport mode -->
|
||||
<div class="p-1">
|
||||
<div>Transport Mode</div>
|
||||
<div class="text-sm text-gray-700">
|
||||
<span v-if="appInfo.is_transport_enabled" class="text-green-600">Transport Enabled</span>
|
||||
<span v-else class="text-orange-600">Transport Disabled</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- my addresses -->
|
||||
<div v-if="config" class="bg-white rounded shadow">
|
||||
<div class="flex border-b border-gray-300 text-gray-700 p-2 font-semibold">My Addresses</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue