blob: bc95510c767127730b28b60e509588b4b126364d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
module View.MessageBoard.Help.Guide exposing (get_html_contents)
-- Elm -------------------------------------------------------------------------
import Html
import Html.Attributes
-- Local Module ----------------------------------------------------------------
import Struct.Event
import Struct.Model
--------------------------------------------------------------------------------
-- LOCAL -----------------------------------------------------------------------
--------------------------------------------------------------------------------
get_header_html : (String -> (Html.Html Struct.Event.Type))
get_header_html title =
(Html.h1
[]
[
(Html.div
[(Html.Attributes.class "help-guide-icon")]
[]
),
(Html.text title)
]
)
get_default_html_contents : (List (Html.Html Struct.Event.Type))
get_default_html_contents =
[
(get_header_html "Modifying the Character Roster"),
(Html.text "The guide for this module is not yet available.")
]
--------------------------------------------------------------------------------
-- EXPORTED --------------------------------------------------------------------
--------------------------------------------------------------------------------
get_html_contents : (
Struct.Model.Type ->
(List (Html.Html Struct.Event.Type))
)
get_html_contents model = (get_default_html_contents)
|