Guest User

Untitled

a guest
Jan 23rd, 2018
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 KB | None | 0 0
  1. <!-- a story is an item that exists in a list that leads into its own. An active story is one that is meant to be interacted with, whereas an inactive story is just for display -->
  2. <a class="story [storyObjectType] [in]active" href="[storyController]/view/[storyId]">
  3.  
  4. <!-- Optional: Appropriate avatar item for story (user photo, task time etc.) the thing that identifies the story in a quick glance -->
  5. <div class="story-avatar">
  6. <!-- img or time or div or span -->
  7. </div>
  8.  
  9. <div class="story-info">
  10. <!-- Optional: When the story was told/created -->
  11. <time datetime="2008-02-14 12:33:00" class="created">[Sunday, August 21, at 7:31 pm]</time>
  12. </div>
  13.  
  14. <div class="story-content">
  15. <!-- Story summary or title. May contain other inline tags (such as time, strong, em). May be of length 1 to n -->
  16. <h1 class="story-title">[This is my story of how I fought the big bad wolf.]</h1>
  17.  
  18. <!-- Optional: Secondary information that is less important that the title, but still key to the story.
  19. May contain other tags. -->
  20. <h2 class="story-subtitle">[It's a bad idea to fight a wolf.]</h2>
  21.  
  22. <!-- Optional: div Details of the story, may contain any type of content -->
  23. <div class="story-details">
  24. <!-- any type of content can go here. -->
  25. [<p>Once upon a time there was a big bad wolf</p>
  26. <p>I punched it in the face and it left me alone</p>
  27. <p>The end.</p>]
  28. <div>
  29.  
  30. </div>
  31.  
  32. <!-- Optional: Any actions the user can take related to the story. Only highest-priority actions should
  33. be displayed as each button takes up a significant amount of space. Mostly, these will be ajax buttons
  34. or links. Any text in these <li> items should be minimal enough to fit nicely within a 44px width container -->
  35. <div class="story-controls">
  36. <ul>
  37. <li>
  38. [<a id="[descriptive]-tool" href="[controller/ajaxAction]">Delete</a>
  39. </li>
  40. <li>
  41. [<form>...<button/></form>]
  42. </li>
  43. </ul>
  44. </div>
  45.  
  46. </a>
Add Comment
Please, Sign In to add comment