Commit 7aa5dc05 authored by Thorsten Wißmann's avatar Thorsten Wißmann 🐧
Browse files

Make the 'Next' Button clickable again

parent 5038f985
......@@ -50,6 +50,7 @@
transition: width 0.8s ease;
overflow: hidden;
vertical-align: bottom;
cursor: pointer;
}
#navigationbar > li > .nextPuzzleButton.possible {
......
......@@ -354,9 +354,10 @@ viewNavigation model =
[ ("nextPuzzleButton", True)
, ("possible", RailPuzzle.isSolved model.rails)
]
, HE.onClick NextPuzzle
]
[ if (hasNextPuzzle model)
then Html.a [HA.href "javascript;", HE.onClick NextPuzzle] [MultiLang.text "Next" "Weiter"]
then MultiLang.text "Next" "Weiter"
else MultiLang.text "Finished!" "Fertig!"
]
]
......
......@@ -211,6 +211,7 @@ db =
Array.fromList <|
--, simple
[ inglenook_422
|> addQuery [1,5]
--|> addQuery [1,5,2,3] -- 36.sol
--|> addQuery [1,2,6,5] -- 11.sol
|> addQuery [1,3,6,2] -- 21.sol
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment