Skip to content

Commit

Permalink
Add system information to page System/System (#602)
Browse files Browse the repository at this point in the history
* Add system information to page System/System

* Remove unnecessary v-if statement
  • Loading branch information
Brett-S-OWB authored Dec 17, 2024
1 parent fb4eb57 commit 512e7e3
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/views/System.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,30 @@
]"
/>
</openwb-base-alert>

<div v-if="warningAcknowledged || installAssistantActive">
<openwb-base-card
title="System Information"
subtype="info"
:collapsible="true"
:collapsed="true"
>
<openwb-base-text-input
v-model="$store.state.mqtt['openWB/system/serial_number']"
title="Seriennummer"
readonly
/>
<openwb-base-text-input
v-model="$store.state.mqtt['openWB/system/ip_address']"
title="IP-Adresse"
readonly
/>
<openwb-base-text-input
v-model="$store.state.mqtt['openWB/system/mac_address']"
title="MAC-Adresse"
readonly
/>
</openwb-base-card>
<form name="versionInfoForm">
<openwb-base-card
title="Versions-Informationen / Aktualisierung"
Expand Down Expand Up @@ -263,6 +286,9 @@ export default {
"openWB/system/available_branches",
"openWB/system/current_branch",
"openWB/system/version",
"openWB/system/serial_number",
"openWB/system/ip_address",
"openWB/system/mac_address",
],
warningAcknowledged: false,
selectedTag: "*HEAD*",
Expand Down

0 comments on commit 512e7e3

Please sign in to comment.