Skip to content

Instantly share code, notes, and snippets.

@BurningDog
Created April 13, 2021 15:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BurningDog/262133830a09fc2b5ba166496f94f518 to your computer and use it in GitHub Desktop.
Save BurningDog/262133830a09fc2b5ba166496f94f518 to your computer and use it in GitHub Desktop.
View list of trains
View list of trains
Click on search box -> Open filter
Open filter
Enter options
Enter departure location
Enter destination
Click search -> Filtered list
Filtered list
Click on a station -> View station times
Filter by departure time -> Departure time filter
Departure time filter
Choose a time
3pm -> Show filtered departure times
4pm -> Show filtered departure times
5pm -> Show filtered departure times
Show filtered departure times
Save this -> Saved routes
View station times
Saved routes
Go home -> View list of trains
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