blob: c271f78c7ccd4d525408535c27a81341db3469c4 (
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
43
44
45
46
47
48
49
|
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 "Selecting a Character"),
(Html.text
(
"Click once on a character to focus them. This will show you"
++ " their stats, equipment, and other infos. If they are in"
++ " your team and active (the pulsating characters),"
++ " clicking on them again will let you take control."
)
)
]
--------------------------------------------------------------------------------
-- EXPORTED --------------------------------------------------------------------
--------------------------------------------------------------------------------
get_html_contents : (
Struct.Model.Type ->
(List (Html.Html Struct.Event.Type))
)
get_html_contents model = (get_default_html_contents)
|