diff --git a/frontend/src/App.elm b/frontend/src/App.elm index 9671097..6d45be4 100644 --- a/frontend/src/App.elm +++ b/frontend/src/App.elm @@ -118,6 +118,9 @@ initModel = , keepAliveIdle = Nothing , keepAliveInterval = Nothing , wordOrder = LE + + -- version + , version = "0.2.1" } diff --git a/frontend/src/Types.elm b/frontend/src/Types.elm index d47d981..ba948a4 100644 --- a/frontend/src/Types.elm +++ b/frontend/src/Types.elm @@ -236,6 +236,9 @@ type alias Model = , keepAliveIdle : Maybe Int -- in seconds , keepAliveInterval : Maybe Int -- in seconds , wordOrder : WordOrder + + -- version + , version : String } diff --git a/frontend/src/View.elm b/frontend/src/View.elm index 879d19f..1e6e734 100644 --- a/frontend/src/View.elm +++ b/frontend/src/View.elm @@ -465,7 +465,7 @@ renderLogoModule model = , label = text "website" } - , el [ Font.size 15 ] <| text "version : 0.2.1" + , el [ Font.size 15 ] <| text <| "version : " ++ model.version , el [ Font.size 30 ] <| text "Modbus Client" ]