You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
3.1 KiB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. <% layout('./../layout.html') %>
  2. <div class="container">
  3. <div class="grid">
  4. <div class="col-12">
  5. <h1 class="highlight m-top-5">
  6. Create Bucket
  7. </h1>
  8. </div>
  9. <div class="col-12">
  10. <form action="/bucket/store" method="POST" novalidate>
  11. <div class="field-group">
  12. <label class="field-label">
  13. title*
  14. <input class="field-text" name="title" type="text" />
  15. </label>
  16. </div>
  17. <div class="field-group">
  18. <label class="field-label">
  19. description*
  20. <input class="field-text" name="description" type="text" />
  21. </label>
  22. </div>
  23. <div class="field-group">
  24. <div class="m-top-4 m-bottom-3">
  25. type*
  26. </div>
  27. <% it.types.forEach(function(type) { %>
  28. <label class="field-label m-right-3">
  29. <input class="field-choice" name="type" type="radio" value="<%= type.value %>" />
  30. <svg class="icon field-choice__unchecked" aria-hidden="true">
  31. <use xlink:href="/symbol-defs.svg#icon-circle"></use>
  32. </svg>
  33. <svg class="icon field-choice__checked" aria-hidden="true">
  34. <use xlink:href="/symbol-defs.svg#icon-circle-check"></use>
  35. </svg>
  36. <%= type %>
  37. </label>
  38. <% }) %>
  39. </div>
  40. <div class="field-group">
  41. <div class="m-top-4 m-bottom-3">
  42. visiblity*
  43. </div>
  44. <% it.visiblities.forEach(function(visiblity) { %>
  45. <label class="field-label m-right-3">
  46. <input class="field-choice" name="visiblity" type="radio" value="<%= visiblity.value %>" />
  47. <svg class="icon field-choice__unchecked" aria-hidden="true">
  48. <use xlink:href="/symbol-defs.svg#icon-circle"></use>
  49. </svg>
  50. <svg class="icon field-choice__checked" aria-hidden="true">
  51. <use xlink:href="/symbol-defs.svg#icon-circle-check"></use>
  52. </svg>
  53. <%= visiblity %>
  54. </label>
  55. <% }) %>
  56. </div>
  57. <div class="">
  58. <button class="button hover-fill-text-constrast">
  59. Create
  60. <svg class="icon p-left-3 size-large" aria-hidden="true">
  61. <use xlink:href="/symbol-defs.svg#icon-circle-add"></use>
  62. </svg>
  63. </button>
  64. </div>
  65. </form>
  66. </div>
  67. </div>
  68. </div>