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.

199 lines
6.1 KiB

  1. ---
  2. layout : 'default'
  3. css : 'custom'
  4. title : 'Download'
  5. type : 'Semantic'
  6. ---
  7. <script src="/javascript/customize.js"></script>
  8. <link rel="stylesheet" type="text/css" href="/stylesheets/customize.css">
  9. <% uiElements = @getCollection("uiElements").toJSON() %>
  10. <% uiCollections = @getCollection("uiCollections").toJSON() %>
  11. <% uiViews = @getCollection("uiViews").toJSON() %>
  12. <% uiModules = @getCollection("uiModules").toJSON() %>
  13. <%- @partial('header') %>
  14. <script type="text/javascript">
  15. if(window.semantic === undefined) {
  16. window.semantic = {};
  17. }
  18. if(window.semantic.config === undefined) {
  19. window.semantic.config = {};
  20. }
  21. window.semantic.config.packages = {
  22. basic: {
  23. },
  24. standard: {
  25. },
  26. premium: {
  27. }
  28. }
  29. </script>
  30. <div class="main container">
  31. <h2 class="ui header">Configurations</h2>
  32. <div class="ui two buttons">
  33. <div class="ui active button">
  34. <div class="ui header">
  35. Pro
  36. </div>
  37. LESS + Build System
  38. </div>
  39. <div class="ui button">
  40. <div class="ui header">
  41. Basic
  42. </div>
  43. CSS Only
  44. </div>
  45. </div>
  46. <div class="ui info icon message">
  47. <i class="circle help icon"></i>
  48. <div class="content">
  49. <div class="header">Choosing a package</div>
  50. <p>
  51. Semantic is designed to be used as part of a front-end build system like <code>Grunt</code> or <code>Gulp</code> so that you can modify themes, site-specific variables, and UI overrides during development.
  52. </p>
  53. <!-- <div class="ui button">Read more</div> -->
  54. </div>
  55. </div>
  56. <h2 class="ui header">
  57. Components
  58. </h2>
  59. <div class="ui accordion">
  60. <h3 class="ui small block header active title">
  61. <a class="all">Select All</a>
  62. <i class="dropdown icon"></i>
  63. Elements
  64. </h3>
  65. <div class="active content">
  66. <div class="ui download selection list">
  67. <% for element in uiElements: %>
  68. <div class="item">
  69. <div class="ui checkbox">
  70. <input type="checkbox" checked="checked" name="<%= element.element %>" />
  71. <label></label>
  72. </div>
  73. <div class="content">
  74. <a class="ui right floated compact basic icon button" href="<%= element.url %>" target="_blank" data-content="View definition">
  75. <i class="docs book icon"></i>
  76. </a>
  77. <div class="ui small header">
  78. <%= element.title %>
  79. <% if element.status?: %>
  80. <span class="ui empty circular yellow label" data-content="This module is undocumented"></span>
  81. <% end %>
  82. </div>
  83. <div class="description">
  84. <%= element.description %>
  85. </div>
  86. </div>
  87. </div>
  88. <% end %>
  89. </div>
  90. </div>
  91. <h3 class="ui small block header active title">
  92. <a class="all">Select All</a>
  93. <i class="dropdown icon"></i>
  94. Collections
  95. </h3>
  96. <div class="active content">
  97. <div class="ui download selection list">
  98. <% for collection in uiCollections: %>
  99. <div class="item">
  100. <div class="ui checkbox">
  101. <input type="checkbox" checked="checked" name="<%= collection.element %>" />
  102. <label></label>
  103. </div>
  104. <div class="content">
  105. <a class="ui right floated compact basic icon button" href="<%= collection.url %>target="_blank" " data-content="View definition">
  106. <i class="docs book icon"></i>
  107. </a>
  108. <div class="ui small header">
  109. <%= collection.title %>
  110. <% if collection.status?: %>
  111. <span class="ui empty circular yellow label" data-content="This module is undocumented"></span>
  112. <% end %>
  113. </div>
  114. <div class="description">
  115. <%= collection.description %>
  116. </div>
  117. </div>
  118. </div>
  119. <% end %>
  120. </div>
  121. </div>
  122. <h3 class="ui small block header active title">
  123. <a class="all">Select All</a>
  124. <i class="dropdown icon"></i>
  125. Views
  126. </h3>
  127. <div class="active content">
  128. <div class="ui download selection list">
  129. <% for view in uiViews: %>
  130. <div class="item">
  131. <div class="ui checkbox">
  132. <input type="checkbox" checked="checked" name="<%= view.element %>" />
  133. <label></label>
  134. </div>
  135. <div class="content">
  136. <a class="ui right floated compact basic icon button" href="<%= view.url %>" target="_blank" data-content="View definition">
  137. <i class="docs book icon"></i>
  138. </a>
  139. <div class="ui small header">
  140. <%= view.title %>
  141. <% if view.status?: %>
  142. <span class="ui empty circular yellow label" data-content="This module is undocumented"></span>
  143. <% end %>
  144. </div>
  145. <div class="description">
  146. <%= view.description %>
  147. </div>
  148. </div>
  149. </div>
  150. <% end %>
  151. </div>
  152. </div>
  153. <h3 class="ui small block header active title">
  154. <a class="all">Select All</a>
  155. <i class="dropdown icon"></i>
  156. Modules
  157. </h3>
  158. <div class="active content">
  159. <div class="ui download selection list">
  160. <% for module in uiModules: %>
  161. <div class="item">
  162. <div class="ui checkbox">
  163. <input type="checkbox" checked="checked" name="<%= module.element %>" />
  164. <label></label>
  165. </div>
  166. <div class="content">
  167. <a class="ui right floated compact basic icon button" href="<%= module.url %>" target="_blank" data-content="View definition">
  168. <i class="docs book icon"></i>
  169. </a>
  170. <div class="ui small header">
  171. <%= module.title %>
  172. <% if module.status?: %>
  173. <span class="ui empty circular yellow label" data-content="This module is undocumented"></span>
  174. <% end %>
  175. </div>
  176. <div class="description">
  177. <%= module.description %>
  178. </div>
  179. </div>
  180. </div>
  181. <% end %>
  182. </div>
  183. </div>
  184. </div>
  185. </div>