sidebar.hbs 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <li>
  2. <a class="data-pil active" data-dim="[{{left}},{{top}},{{front}}]" href="#">{{title}}
  3. {{#each desc as |item itemId|}}
  4. {{#if_eq item.type 'holo'}}
  5. <span class="label label-danger">HOLOTYPE</span>
  6. {{else}}
  7. {{/if_eq}}
  8. {{/each}}
  9. <span class="fa arrow"></span></a>
  10. <ul class="nav nav-third-level collapse" aria-expanded="false">
  11. <table class="table">
  12. <tbody>
  13. <tr>
  14. <th scope="row"> </th>
  15. <td><strong>Description</strong></td>
  16. <td>
  17. {{#each desc as |item itemId|}}
  18. {{#if_eq item.type 'i'}}
  19. <i>{{item.text}}</i>
  20. {{else}}
  21. {{/if_eq}}
  22. {{#if_eq item.type 'holo'}}
  23. <span>{{item.text}}</span>
  24. {{else}}
  25. {{/if_eq}}
  26. {{#if_eq item.type 'p'}}
  27. {{item.text}}
  28. {{else}}
  29. {{/if_eq}}
  30. {{/each}}
  31. </td>
  32. </tr>
  33. <tr>
  34. <th scope="row"> </th>
  35. <td><strong>Size</strong></td>
  36. <td>{{size}} GB</td>
  37. </tr>
  38. <tr>
  39. <th scope="row"> </th>
  40. <td></td>
  41. <td>
  42. <button id="download" data-name="{{title}}" type="button" class="btn btn-default btn-sm">
  43. <span class="glyphicon glyphicon-download"></span> Download
  44. </button>
  45. </td>
  46. </tr>
  47. </tbody>
  48. </table>
  49. </ul>
  50. </li>