Skip to content

Commit

Permalink
Format Page.Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
mostlyobvious committed Mar 21, 2024
1 parent bda236e commit e0b6a24
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions ruby_event_store-browser/elm/src/Page/Debug.elm
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
module Page.Debug exposing (..)

import Html exposing (..)
import Flags exposing (Flags)
import Html exposing (..)


type alias Model =
{ resVersion : String, repositoryAdapter : String }

type alias Model = { resVersion : String, repositoryAdapter : String }

init : Flags -> Model
init flags =
{ resVersion = flags.resVersion, repositoryAdapter = flags.repositoryAdapter }
init flags =
{ resVersion = flags.resVersion, repositoryAdapter = flags.repositoryAdapter }


view: Model -> Html a
view : Model -> Html a
view model =
div [] [
p [] [text ("RubyEventStore version: " ++ model.resVersion)],
p [] [text ("RubyEventStore adapter: " ++ model.repositoryAdapter)]
]
div []
[ p [] [ text ("RubyEventStore version: " ++ model.resVersion) ]
, p [] [ text ("RubyEventStore adapter: " ++ model.repositoryAdapter) ]
]

0 comments on commit e0b6a24

Please sign in to comment.