image_share.html 578 B

12345678910111213141516171819202122232425262728
  1. <head>
  2. <title>image_share</title>
  3. </head>
  4. <body>
  5. <h1>Welcome to coursera!</h1>
  6. <div class="container">
  7. {{> images}}
  8. </div>
  9. </body>
  10. <template name="images">
  11. <div class="row">
  12. {{#each images}}
  13. <div class="col-xs-12 col-md-3">
  14. <div class="thumbnail">
  15. <img class="js-image" src="{{img_src}}" alt="{{img_alt}}" />
  16. <div class="caption">
  17. <h3>Thumbnail label</h3>
  18. <p>description of the image</p>
  19. </div>
  20. </div>
  21. </div> <!-- / col -->
  22. {{/each}}
  23. </div> <!-- / row -->
  24. </template>