Skip to content

Instantly share code, notes, and snippets.

@pyk
Last active June 26, 2018 17:52
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 pyk/4e6513fa54393e7b10a71dfeccaf5012 to your computer and use it in GitHub Desktop.
Save pyk/4e6513fa54393e7b10a71dfeccaf5012 to your computer and use it in GitHub Desktop.
Katalog CMS*
Katalog CMS*
Home Page*
User Click About Link -> About Page
User click login button and success -> Dashboard Page
User click login button and failed -> Unauthorized Page
Dashboard Page
User Click Logout Button -> Home Page
User click create new category button -> New Category Page
New Category Page
User click back to dashboard -> Dashboard Page
Unauthorized Page
User click back to home -> Home Page
About Page
User click back to home -> Home Page
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