Last active
April 13, 2021 15:46
-
-
Save BurningDog/bf1c45ef6cb4948d7d9dbff4c31292c5 to your computer and use it in GitHub Desktop.
Cruises
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cruises | |
View 1 available dates -> Cruise booking | |
Current -> Traveller | |
Cruise booking& | |
Itinerary | |
Hide full itinerary | |
Itinerary details -> Show full itinerary | |
Show full itinerary | |
Itinerary details -> Hide full itinerary | |
Stepper | |
Search | |
previous -> Search | |
next -> Traveller | |
Book -> Traveller | |
Traveller& | |
previous -> Search | |
next -> Cabin | |
List Travellers | |
Has Travellers | |
Remove a traveller -> Has Travellers | |
No Travellers | |
Select passenger -> Saved Travellers | |
Saved Travellers | |
Close -> List Travellers | |
New traveller -> Passenger Details | |
List saved travellers | |
No saved travellers | |
Has saved travellers | |
Select a traveller -> Has saved travellers | |
Add traveller -> Has saved travellers | |
Close -> Has Travellers | |
Passenger Details | |
Close -> Traveller | |
Register -> Has saved travellers | |
List Cabins | |
Select cabin -> Pick your cabin category | |
Pick your cabin category | |
Select -> Pick your cabin experience | |
Pick your cabin experience | |
Select | |
Assign up to 4 passengers to this cabin | |
Select passenger -> Assign up to 4 passengers to this cabin | |
Calculate price -> API call calculate price | |
API call calculate price | |
Cabin | |
previous -> Traveller | |
next -> Checkout | |
Checkout | |
previous -> Cabin | |
next -> Payment | |
Payment | |
previous -> Checkout | |
next -> Payment |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function render(model){ | |
let current_state_name = model.active_states[0].name; | |
return $("h1", | |
{style: {color: "darkBlue"}}, | |
`The current state is: ${current_state_name}`); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment