Last active
November 4, 2018 00:13
-
-
Save esmevane/e4641342b46f34234c2e6cddf6e810fb to your computer and use it in GitHub Desktop.
Login
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
Login | |
Incomplete form* | |
Empty* | |
Add username -> Username filled out | |
Add password -> Password filled out | |
Submit -> Empty | |
Username filled out | |
Add password -> All fields filled out | |
Submit -> Username required prompt | |
Password filled out | |
Add username -> All fields filled out | |
Submit -> Password required prompt | |
Username required prompt | |
Add username -> All fields filled out | |
Submit -> Username required prompt | |
Password required prompt | |
Add password -> All fields filled out | |
Submit -> Username required prompt | |
All fields filled out | |
Submit -> Check username? | |
Incorrect password | |
Add password -> All fields filled out | |
Check username? | |
Username exists? -> Check password? | |
Username not found? -> Create user? | |
Check password? | |
Password verified? -> Authenticated | |
Password wrong? -> Incorrect password | |
Create user? | |
Created? -> Authenticated | |
Authenticated |
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