express_ui 0.1.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +38 -0
  4. data/Rakefile +37 -0
  5. data/app/assets/config/express_ui_manifest.js +2 -0
  6. data/app/assets/javascripts/express_ui/application.js +1 -0
  7. data/app/assets/javascripts/express_ui/copy_code.js +63 -0
  8. data/app/assets/javascripts/express_ui/search.js +103 -0
  9. data/app/assets/javascripts/express_ui/styleguide.js +90 -0
  10. data/app/assets/stylesheets/express_ui/atoms/_animations.sass +35 -0
  11. data/app/assets/stylesheets/express_ui/atoms/_buttons.sass +119 -0
  12. data/app/assets/stylesheets/express_ui/atoms/_headings.sass +51 -0
  13. data/app/assets/stylesheets/express_ui/atoms/_icons.sass +3 -0
  14. data/app/assets/stylesheets/express_ui/atoms/_images.sass +37 -0
  15. data/app/assets/stylesheets/express_ui/atoms/_media_queries.sass +27 -0
  16. data/app/assets/stylesheets/express_ui/atoms/_mixins.sass +33 -0
  17. data/app/assets/stylesheets/express_ui/atoms/_reset.sass +11 -0
  18. data/app/assets/stylesheets/express_ui/atoms/_typography.sass +167 -0
  19. data/app/assets/stylesheets/express_ui/atoms/_variables.sass +52 -0
  20. data/app/assets/stylesheets/express_ui/molecules/_button_group.sass +54 -0
  21. data/app/assets/stylesheets/express_ui/molecules/_container.sass +29 -0
  22. data/app/assets/stylesheets/express_ui/molecules/_flash_messages.sass +56 -0
  23. data/app/assets/stylesheets/express_ui/molecules/_form_groups.sass +96 -0
  24. data/app/assets/stylesheets/express_ui/molecules/_forms.sass +159 -0
  25. data/app/assets/stylesheets/express_ui/molecules/_lists.sass +56 -0
  26. data/app/assets/stylesheets/express_ui/molecules/_nav.sass +85 -0
  27. data/app/assets/stylesheets/express_ui/molecules/_tables.sass +77 -0
  28. data/app/assets/stylesheets/express_ui/molecules/_tabs.sass +23 -0
  29. data/app/assets/stylesheets/express_ui/organisms/_header.sass +29 -0
  30. data/app/assets/stylesheets/express_ui/organisms/_sidebar.sass +113 -0
  31. data/app/assets/stylesheets/express_ui/style.sass +31 -0
  32. data/app/assets/stylesheets/express_ui/styleguide.sass +200 -0
  33. data/app/assets/stylesheets/express_ui/templates/_content_sidebar.sass +31 -0
  34. data/app/assets/stylesheets/express_ui/templates/_full_width.sass +5 -0
  35. data/app/assets/stylesheets/express_ui/templates/_half_width.sass +8 -0
  36. data/app/assets/stylesheets/express_ui/templates/_master_detail.sass +50 -0
  37. data/app/components/code_demo.rb +31 -0
  38. data/app/controllers/express_ui/about_controller.rb +10 -0
  39. data/app/controllers/express_ui/application_controller.rb +5 -0
  40. data/app/controllers/express_ui/styleguide_controller.rb +10 -0
  41. data/app/controllers/express_ui/templates_controller.rb +26 -0
  42. data/app/controllers/express_ui/uicomponents_controller.rb +26 -0
  43. data/app/helpers/express_ui/application_helper.rb +28 -0
  44. data/app/jobs/express_ui/application_job.rb +4 -0
  45. data/app/mailers/express_ui/application_mailer.rb +6 -0
  46. data/app/models/express_ui/application_record.rb +5 -0
  47. data/app/views/express_ui/atoms/_animations.html.erb +33 -0
  48. data/app/views/express_ui/atoms/_buttons.html.erb +129 -0
  49. data/app/views/express_ui/atoms/_headings.html.erb +3 -0
  50. data/app/views/express_ui/atoms/_icons.html.erb +13 -0
  51. data/app/views/express_ui/atoms/_mixins.html.erb +6 -0
  52. data/app/views/express_ui/atoms/_typography.html.erb +201 -0
  53. data/app/views/express_ui/atoms/_variables.html.erb +50 -0
  54. data/app/views/express_ui/molecules/_button_group.html.erb +90 -0
  55. data/app/views/express_ui/molecules/_container.html.erb +32 -0
  56. data/app/views/express_ui/molecules/_flash_messages.html.erb +49 -0
  57. data/app/views/express_ui/molecules/_form_group_horizontal.html.erb +14 -0
  58. data/app/views/express_ui/molecules/_form_group_inline.html.erb +1 -0
  59. data/app/views/express_ui/molecules/_form_group_single_line.html.erb +9 -0
  60. data/app/views/express_ui/molecules/_form_groups.html.erb +69 -0
  61. data/app/views/express_ui/molecules/_forms.html.erb +209 -0
  62. data/app/views/express_ui/molecules/_forms_checkbox.html.erb +20 -0
  63. data/app/views/express_ui/molecules/_forms_radio.html.erb +12 -0
  64. data/app/views/express_ui/molecules/_forms_select.html.erb +11 -0
  65. data/app/views/express_ui/molecules/_nav.html.erb +11 -0
  66. data/app/views/express_ui/molecules/_nav_mega_menu.html.erb +74 -0
  67. data/app/views/express_ui/molecules/_table.html.erb +93 -0
  68. data/app/views/express_ui/molecules/_table_with_filtering.html.erb +55 -0
  69. data/app/views/express_ui/organisms/_header.html.erb +24 -0
  70. data/app/views/express_ui/shared/_header.html.erb +10 -0
  71. data/app/views/express_ui/shared/_search_box.html.erb +6 -0
  72. data/app/views/express_ui/shared/_sidebar_left.html.erb +4 -0
  73. data/app/views/express_ui/shared/_sidebar_right.html.erb +5 -0
  74. data/app/views/express_ui/styleguide/about.html.erb +22 -0
  75. data/app/views/express_ui/styleguide/index.html.erb +79 -0
  76. data/app/views/express_ui/templates/_header.html.erb +15 -0
  77. data/app/views/express_ui/templates/_templates.html.erb +57 -0
  78. data/app/views/express_ui/templates/content_and_sidebar.html.erb +32 -0
  79. data/app/views/express_ui/templates/content_and_sidebar_fixed.html.erb +34 -0
  80. data/app/views/express_ui/templates/full_width.html.erb +25 -0
  81. data/app/views/express_ui/templates/half_width.html.erb +25 -0
  82. data/app/views/express_ui/templates/master_detail.html.erb +41 -0
  83. data/app/views/express_ui/templates/master_detail_fixed.html.erb +36 -0
  84. data/app/views/express_ui/uicomponents/_buttons.html.et +10 -0
  85. data/app/views/express_ui/uicomponents/_flash_message.html.et +19 -0
  86. data/app/views/express_ui/uicomponents/_forms.html.et +118 -0
  87. data/app/views/express_ui/uicomponents/_heading.html.et +24 -0
  88. data/app/views/express_ui/uicomponents/_icons.html.et +35 -0
  89. data/app/views/express_ui/uicomponents/_layout.html.et +47 -0
  90. data/app/views/express_ui/uicomponents/_lists.html.et +9 -0
  91. data/app/views/express_ui/uicomponents/_login.html.erb +15 -0
  92. data/app/views/express_ui/uicomponents/_nav.html.et +18 -0
  93. data/app/views/express_ui/uicomponents/_pages.html.et +22 -0
  94. data/app/views/express_ui/uicomponents/_panel.html.et +33 -0
  95. data/app/views/express_ui/uicomponents/_popup.html.et +19 -0
  96. data/app/views/express_ui/uicomponents/_register.html.erb +14 -0
  97. data/app/views/express_ui/uicomponents/_sidebar.html.et +8 -0
  98. data/app/views/express_ui/uicomponents/_table.html.et +29 -0
  99. data/app/views/express_ui/uicomponents/_widget_box.html.et +14 -0
  100. data/app/views/express_ui/uicomponents/index.html.erb +55 -0
  101. data/app/views/layouts/express_ui/styleguide.html.erb +20 -0
  102. data/config/routes.rb +12 -0
  103. data/lib/express_ui.rb +5 -0
  104. data/lib/express_ui/engine.rb +12 -0
  105. data/lib/express_ui/version.rb +3 -0
  106. data/lib/tasks/express_ui_tasks.rake +4 -0
  107. metadata +251 -0
@@ -0,0 +1,55 @@
1
+ <div class="ae-table-responsive">
2
+ <div class="ae-table-filter">
3
+ <div class="ae-filter">
4
+ <%= render "express_ui/molecules/form_group_single_line" %>
5
+ </div>
6
+ <div class="ae-filter">
7
+ <%= render "express_ui/molecules/forms_radio" %>
8
+ </div>
9
+ <div class="ae-filter">
10
+ <%= render "express_ui/molecules/forms_select" %>
11
+ </div>
12
+ <div class="ae-filter">
13
+ <a href="#" title="Reset">×</a>
14
+ </div>
15
+ </div>
16
+ <table>
17
+ <thead>
18
+ <th><a href="#" title="created_at">Created At </a></th>
19
+ <th width="30%"><a href="#" title="address">Address</a></th>
20
+ <th><a href="#" title="contract_effective_date">Contract Effective Date </a></th>
21
+ <th><a href="#" title="closing_date">Closing Date</a></th>
22
+ <th><a href="#" title="owner">Owner</a></th>
23
+ <th><a href="#" title="creation_step">Creation Step</a></th>
24
+ <th><a href="#" title="paid">Paid</a></th>
25
+ <th width="15%"><a href="#" title="action">Actions</a></th>
26
+ </thead>
27
+ <tbody>
28
+ <tr>
29
+ <td>January 07, 2016 </td>
30
+ <td><a href="#">658 NW 9th Ct, Boca Raton, FL 33486, USA</a></td>
31
+ <td>January 07, 2016 </td>
32
+ <td>January 29, 2016 </td>
33
+ <td></td>
34
+ <td>step_2</td>
35
+ <td>false</td>
36
+ <td><button type="button" value="Delete" class="ae-btn ae-btn-danger">Delete</button></td>
37
+ </tr>
38
+ <tr>
39
+ <td>January 07, 2016 </td>
40
+ <td><a href="#">2714 Southern Parkway West</a></td>
41
+ <td>January 07, 2016 </td>
42
+ <td>January 29, 2016 </td>
43
+ <td></td>
44
+ <td>step_2</td>
45
+ <td>false</td>
46
+ <td><a href="#">View</a></td>
47
+ </tr>
48
+ <tr>
49
+ <td>Small Office</td>
50
+ <td>Top Producer</td>
51
+ <td>$1,299.00</td>
52
+ </tr>
53
+ </tbody>
54
+ </table>
55
+ </div>
@@ -0,0 +1,24 @@
1
+ <section>
2
+ <p>Contains the logo, <code>&lt;nav&gt;</code> menu, and other auxiliary menus. Scroll to the top of this page to see <code>&lt;header&gt;</code> in action. </p>
3
+
4
+ <table>
5
+ <thead>
6
+ <th>Header Usage</th>
7
+ <th>Usage</th>
8
+ <th>Notes</th>
9
+ </thead>
10
+ <tbody>
11
+ <tr>
12
+ <td>Default</td>
13
+ <td></td>
14
+ <td><p>The default <code>&lt;header&gt;</code> is used in this page.</p></td>
15
+ </tr>
16
+ <tr>
17
+ <td>Fixed</td>
18
+ <td><code>.ae-header-fixed</code> </td>
19
+ <td><p>Add this class to make the <code>&lt;header&gt;</code> stick to the top of the window as the user scrolls.</p></td>
20
+ </tr>
21
+ </tbody>
22
+ </table>
23
+
24
+ </section>
@@ -0,0 +1,10 @@
1
+ <header class="ae-header-fixed">
2
+ <a href="#" title="ExpressUI" class="ae-logo"><%= image_tag("ExpressUI_logo.png", :alt => "Express UI", :width => "120") %></a>
3
+ <nav class="ae-nav-main main-nav ae-nav-right">
4
+ <ul class="ae-list-inline">
5
+ <%= nav_link_to 'About Express UI', about_path %>
6
+ <%= nav_link_to 'Style Guide', styleguide_url %>
7
+ <%= nav_link_to 'UI Components', uicomponents_path %>
8
+ </ul>
9
+ </nav>
10
+ </header>
@@ -0,0 +1,6 @@
1
+ <form class="ae-form-single ae-search-form">
2
+ <div class="ae-form-field ae-has-icon">
3
+ <i class="fa fa-search"></i>
4
+ <input class="ae-text-field ae-input-md" type="text" name="search" placeholder="Enter a search keyword" id="ae-search-box" />
5
+ </div>
6
+ </form>
@@ -0,0 +1,4 @@
1
+ <div class="ae-sidebar sidebar ae-sidebar-left ae-sidebar-has-icons">
2
+ <nav class="anchorific js-ae-sidebar"></nav>
3
+ </div>
4
+
@@ -0,0 +1,5 @@
1
+ <div class="ae-sidebar sidebar ae-sidebar-right">
2
+ <h2>Form Title</h2>
3
+ <%= render "express_ui/molecules/form_group_horizontal" %>
4
+ </div>
5
+
@@ -0,0 +1,22 @@
1
+ <%= render "express_ui/shared/header" %>
2
+ <div class="ae-template-full-width">
3
+ <div class="ae-container">
4
+ <div class="ae-content content">
5
+
6
+ <h1>About Express UI</h1>
7
+
8
+ <p>Devs and designers alike are often plagued with these dilemmas:</p>
9
+ <p>Developers: I need to add two buttons, “Save” and “Cancel”. But I don’t want to have to think how to style it so I can focus on other things like validation.”</p>
10
+ <p>Designers: I have two buttons, “Save” and “Cancel”. I already mocked up these buttons in Sketch, where should I write the CSS for it? How should I hand it off to the Dev?</p>
11
+ <p>Express UI is a collection of ready-made components for quickly designing up AppExpress web apps. This system builds on Brad Frost’s Atomic Design concept. ExpressDesign helps take some burden off developers and designers by avoiding styling repetitions and inconsistencies.</p>
12
+ <p>We’ve written this guide to be super human-readable, so you should find it relatively easy to search for what you need. Use the search bar above (or just hit Cmd + F anywhere within the page) to find components, classes, HTML tags, and see implementation guidelines</p>
13
+
14
+ <h3>Dependencies</h3>
15
+ <p>(List Dependencies)</p>
16
+ <h3>Related Reading</h3>
17
+ https://administrate-prototype.herokuapp.com/admin/products?direction=asc&order=description&search=ker-plunk
18
+ <div class="ae-btn-group ae-btn-group-right">
19
+ <%= link_to 'Style Guide &raquo;'.html_safe, styleguide_path, class: 'ae-btn ae-btn-primary ae-btn-md' %>
20
+ </div>
21
+ </div>
22
+ </div>
@@ -0,0 +1,79 @@
1
+ <%= render "express_ui/shared/header" %>
2
+ <div class="ae-template-content-sidebar-fixed">
3
+ <%= render "express_ui/shared/sidebar_left" %>
4
+
5
+ <div class="ae-content content">
6
+
7
+ <%= render "express_ui/shared/search_box" %>
8
+
9
+ <h1>Style Guide</h1>
10
+
11
+ <div class="js-anchorific-content">
12
+ <h2>Atoms</h2>
13
+ <ul>
14
+ <li><h3>Global Settings</h3>
15
+ <%#= render "express_ui/atoms/variables" %>
16
+ <%= render "express_ui/atoms/mixins" %>
17
+ </li>
18
+ <li>
19
+ <h3>Animation</h3>
20
+ <%= render "express_ui/atoms/animations" %>
21
+ </li>
22
+ <li><h3>Avatar</h3></li>
23
+ <li><h3>Button</h3>
24
+ <%= render "express_ui/atoms/buttons" %>
25
+ </li>
26
+ <!-- <li><h3>Image</h3></li> -->
27
+ <li>
28
+ <h3>Typography</h3>
29
+ <%= render "express_ui/atoms/typography" %>
30
+ </li>
31
+ <!-- <li><h3>Video</h3></li> -->
32
+ </ul>
33
+
34
+ <h2>Molecules</h2>
35
+ <ul>
36
+ <li><h3>App Store Badges</h3></li>
37
+ <li><h3>Button Group</h3>
38
+ <%= render "express_ui/molecules/button_group" %>
39
+ </li>
40
+ <li><h3>Container</h3>
41
+ <%= render "express_ui/molecules/container" %>
42
+ </li>
43
+ <li><h3>Flash Messages</h3>
44
+ <%= render "express_ui/molecules/flash_messages" %>
45
+ </li>
46
+ <li><h3>Forms</h3>
47
+ <%= render "express_ui/molecules/forms" %>
48
+ </li>
49
+ <li><h3>Form Groups</h3>
50
+ <%= render "express_ui/molecules/form_groups" %>
51
+ </li>
52
+ <li><h3>Lists</h3></li>
53
+ <li><h3>Nav</h3>
54
+ <%= render "express_ui/molecules/nav" %>
55
+ </li>
56
+ <li><h3>Table</h3>
57
+ <%= render "express_ui/molecules/table" %>
58
+ </li>
59
+ <li><h3>Tooltip</h3></li>
60
+ </ul>
61
+
62
+ <h2>Organisms</h2>
63
+
64
+ <h2>Pagination</h2>
65
+ <ul>
66
+ <li>Dialog</li>
67
+ <li> <h3>Header</h3>
68
+ <%= render "express_ui/organisms/header" %>
69
+ </li>
70
+ <li><h3>Footer</h3></li>
71
+ </ul>
72
+
73
+ <h2>Templates</h2>
74
+ <ul>
75
+ <li> <%= render "express_ui/templates/templates" %> <li>
76
+ </ul>
77
+ </div>
78
+ </div>
79
+ </div>
@@ -0,0 +1,15 @@
1
+ <section>
2
+ <header>
3
+ <a href="#" title="ExpressUI" class="ae-logo"><%= image_tag("ExpressUI_logo.png", :alt => "Express UI", :width => "120") %></a>
4
+ <nav class="ae-nav-main">
5
+ <ul class="ae-list-inline ae-nav-left">
6
+ <li class="ae-nav-item"><a href="#">Manage (Mega Menu)</a></li>
7
+ <li class="ae-nav-item"><a href="#">View Site</a></li>
8
+ </ul>
9
+ <ul class="ae-list-inline ae-nav-right">
10
+ <li class="ae-nav-item"><a href="#">Profile</a></li>
11
+ <li class="ae-nav-item"><a href="#">Log Out</a></li>
12
+ </ul>
13
+ </nav>
14
+ </header>
15
+ </section>
@@ -0,0 +1,57 @@
1
+ <section>
2
+ <p>All templates consist of a <code>&lt;header&gt;&lt;/header&gt;</code> and <code>&lt;footer&gt;&lt;/footer&gt;</code>.</p>
3
+
4
+ <%= highlight_code_block do %>
5
+ <%= "<header></header>" %>
6
+ <%= "<div class=\"{template class}\">" %>
7
+ <%= "<div class=\"ae-container\">" %>
8
+ <%= "<div class=\"ae-content\">" %>
9
+ <%= " {Content}" %>
10
+ <%= "</div>" %>
11
+ <%= "</div>" %>
12
+ <%= "</div>" %>
13
+ <%= "<footer></footer>" %>
14
+ <% end %>
15
+ <table>
16
+ <thead>
17
+ <th>Template Name</th>
18
+ <th>Variations</th>
19
+ <th>Usage</th>
20
+ <th>Demo</th>
21
+ </thead>
22
+ <tbody>
23
+ <tr>
24
+ <td>Full-width</th>
25
+ <td>-</td>
26
+ <td><code>.ae-template-full-width</code></td>
27
+ <td><a href=<%= ui_components_templates_full_width_path%>>View Sample</a></td>
28
+ </tr>
29
+ <tr>
30
+ <td>Half-width</th>
31
+ <td>-</td>
32
+ <td><code>.ae-template-half-width</code></td>
33
+ <td><a href=<%=ui_components_templates_half_width_path%>>View Sample</a></td>
34
+ </tr>
35
+ <tr>
36
+ <td>Content and sidebar</td>
37
+ <td>Scroll<br />Fixed </td>
38
+ <td>
39
+ <code>.ae-template-content-sidebar</code><br/>
40
+ <code>.ae-template-content-sidebar-fixed</code></td>
41
+ <td>
42
+ <a href=<%= ui_components_templates_content_and_sidebar_path %>>View Sample</a>
43
+ <br /><a href=<%= ui_components_templates_content_and_sidebar_fixed_path%>>View Sample</a></td>
44
+ </tr>
45
+ <tr>
46
+ <td>Master-detail</td>
47
+ <td>Scroll<br />Fixed</td>
48
+ <td><code>.ae-template-master-detail</code><br/><code>.ae-template-master-detail-fixed</code></td>
49
+
50
+ <td><a href=<%= ui_components_templates_master_detail_path %>>View Sample</a><br /><a href=<%= ui_components_templates_master_detail_fixed_path %>>View Sample</a></td>
51
+ </tr>
52
+ </tbody>
53
+ </table>
54
+
55
+ <p>The master-detail template implementation on mobile is slightly different. The sidebar degrades into a pop-up whenever it's triggered.</p>
56
+
57
+ </section>
@@ -0,0 +1,32 @@
1
+ <%= render "express_ui/shared/header" %>
2
+ <div class="ae-template-content-sidebar">
3
+
4
+ <div class="ae-sidebar sidebar ae-sidebar-left">
5
+ <nav><a href="#">{Sidebar Menu}</a></nav>
6
+ </div>
7
+
8
+ <div class="ae-content content">
9
+
10
+ <h1>This is a content and sidebar layout</h1>
11
+
12
+ <%= highlight_code_block do %>
13
+ <%= "<header></header>" %>
14
+ <%= "<div class=\"ae-template-content-sidebar\">" %>
15
+ <%= "<div class=\"ae-sidebar ae-sidebar-left\">" %>
16
+ <%= "<nav>" %>
17
+ <%= "{Sidebar Menu}" %>
18
+ <%= "</nav>" %>
19
+ <%= "</div>" %>
20
+ <%= "<div class=\"ae-content\">" %>
21
+ <%= "{Content}" %>
22
+ <%= "</div>" %>
23
+ <%= "</div>" %>
24
+ <%= "<footer></footer>" %>
25
+ <% end %>
26
+
27
+ <div class="ae-btn-group ae-btn-group-left">
28
+ <%= link_to '&laquo; Back'.html_safe, styleguide_path, class: 'ae-btn ae-btn-primary ae-btn-md' %>
29
+ </div>
30
+
31
+ </div>
32
+ </div>
@@ -0,0 +1,34 @@
1
+ <%= render "express_ui/shared/header" %>
2
+ <div class="ae-template-content-sidebar-fixed">
3
+
4
+ <div class="ae-sidebar ae-sidebar-left">
5
+ <nav><a href="#">{Sidebar Menu}</a></nav>
6
+ </div>
7
+
8
+ <div class="ae-content content">
9
+
10
+ <h1>This is a content and fixed sidebar layout</h1>
11
+
12
+ <%= highlight_code_block do %>
13
+ <%= "<header></header>" %>
14
+ <%= "<div class=\"ae-template-content-sidebar-fixed\">" %>
15
+ <%= "<div class=\"ae-sidebar ae-sidebar-left\">" %>
16
+ <%= "<nav>" %>
17
+ <%= "{Sidebar Menu}" %>
18
+ <%= "</nav>" %>
19
+ <%= "</div>" %>
20
+ <%= "<div class=\"ae-content\">" %>
21
+ <%= "{Content}" %>
22
+ <%= "</div>" %>
23
+ <%= "</div>" %>
24
+ <%= "<footer></footer>" %>
25
+ <% end %>
26
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc ultricies orci eu dui sollicitudin suscipit. Suspendisse potenti. Proin vitae vestibulum purus. Curabitur id purus imperdiet, suscipit nibh sit amet, vulputate nisi. Nullam euismod urna in diam tempor, vel faucibus dolor posuere. Aenean euismod elit mauris, vulputate mollis risus iaculis non. Aliquam ultricies velit sapien, et fermentum dui semper vel. Fusce tincidunt dui ac nibh commodo facilisis. Vivamus rutrum vulputate felis, eu finibus quam congue ac. In hac habitasse platea dictumst. Proin fermentum tortor ante, vel ultrices enim lobortis aliquam. Vivamus vel leo viverra, semper est aliquam, volutpat erat. Sed libero metus, interdum et elit in, tincidunt hendrerit erat.</p>
27
+ <p>Fusce malesuada urna in sodales eleifend. Proin sapien justo, pretium iaculis feugiat condimentum, accumsan a dolor. Vivamus quis lobortis tellus, non posuere arcu. Nullam cursus eget ligula sit amet gravida. Fusce at lectus ut nibh pellentesque bibendum pulvinar at est. Suspendisse nec porta enim, quis aliquam ex. Nulla ut purus commodo, gravida ligula quis, bibendum nulla. Donec dui nulla, condimentum a euismod sit amet, efficitur in felis. Praesent sollicitudin pulvinar arcu ut accumsan. Aenean suscipit sit amet diam ac luctus. Nam quis eros suscipit, finibus quam porta, ullamcorper est. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam vitae lacus quis tortor accumsan gravida faucibus at nisi. Integer faucibus, ligula eget dignissim molestie, dolor massa fringilla leo, ac lobortis nisl dolor non nisl. Aenean laoreet quam ac purus auctor facilisis.</p>
28
+
29
+ <div class="ae-btn-group ae-btn-group-left">
30
+ <%= link_to '&laquo; Back'.html_safe, styleguide_path, class: 'ae-btn ae-btn-primary ae-btn-md' %>
31
+ </div>
32
+
33
+ </div>
34
+ </div>
@@ -0,0 +1,25 @@
1
+ <%= render "express_ui/shared/header" %>
2
+ <div class="ae-template-full-width">
3
+ <div class="ae-container">
4
+ <div class="ae-content content">
5
+
6
+ <h1>This is a full-width layout</h1>
7
+
8
+ <%= highlight_code_block do %>
9
+ <%= "<header></header>" %>
10
+ <%= "<div class=\"ae-template-full-width\">" %>
11
+ <%= "<div class=\"ae-container\">" %>
12
+ <%= "<div class=\"ae-content\">" %>
13
+ <%= " {Content}" %>
14
+ <%= "</div>" %>
15
+ <%= "</div>" %>
16
+ <%= "</div>" %>
17
+ <%= "<footer></footer>" %>
18
+ <% end %>
19
+
20
+ <div class="ae-btn-group ae-btn-group-left">
21
+ <%= link_to '&laquo; Back'.html_safe, styleguide_path, class: 'ae-btn ae-btn-primary ae-btn-md' %>
22
+ </div>
23
+
24
+ </div>
25
+ </div>
@@ -0,0 +1,25 @@
1
+ <%= render "express_ui/shared/header" %>
2
+ <div class="ae-template-half-width">
3
+ <div class="ae-container">
4
+ <div class="ae-content content">
5
+
6
+ <h1>This is a half-width layout</h1>
7
+
8
+ <%= highlight_code_block do %>
9
+ <%= "<header></header>" %>
10
+ <%= "<div class=\"ae-template-half-width\">" %>
11
+ <%= "<div class=\"ae-container\">" %>
12
+ <%= "<div class=\"ae-content\">" %>
13
+ <%= " {Content}" %>
14
+ <%= "</div>" %>
15
+ <%= "</div>" %>
16
+ <%= "</div>" %>
17
+ <%= "<footer></footer>" %>
18
+ <% end %>
19
+
20
+ <div class="ae-btn-group ae-btn-group-left">
21
+ <%= link_to '&laquo; Back'.html_safe, styleguide_path, class: 'ae-btn ae-btn-primary ae-btn-md' %>
22
+ </div>
23
+
24
+ </div>
25
+ </div>
@@ -0,0 +1,41 @@
1
+ <%= render "express_ui/shared/header" %>
2
+ <div class="ae-template-master-detail">
3
+
4
+ <div class="ae-sidebar ae-sidebar-left">
5
+ <nav><a href="#">{Sidebar Menu}</a></nav>
6
+ </div>
7
+
8
+ <div class="ae-sidebar ae-sidebar-right">
9
+ <p>{Detail}</p>
10
+ </div>
11
+
12
+ <div class="ae-content content">
13
+ <%= render "express_ui/shared/search_box" %>
14
+
15
+ <h1>This is a master-detail layout</h1>
16
+
17
+ <%= highlight_code_block do %>
18
+ <%= "<header></header>" %>
19
+ <%= "<div class=\"ae-template-master-detail\">" %>
20
+ <%= "<div class=\"ae-sidebar ae-sidebar-left\">" %>
21
+ <%= "<nav>" %>
22
+ <%= "{Sidebar Menu}" %>
23
+ <%= "</nav>" %>
24
+ <%= "</div>" %>
25
+ <%= "<div class=\"ae-sidebar ae-sidebar-right\">" %>
26
+ <%= "{Detail View}" %>
27
+ <%= "</div>" %>
28
+ <%= "<div class=\"ae-content\">" %>
29
+ <%= "{Content}" %>
30
+ <%= "</div>" %>
31
+ <%= "</div>" %>
32
+ <%= "<footer></footer>" %>
33
+ <% end %>
34
+
35
+ <div class="ae-btn-group ae-btn-group-left">
36
+ <%= link_to '&laquo; Back'.html_safe, styleguide_path, class: 'ae-btn ae-btn-primary ae-btn-md' %>
37
+ </div>
38
+
39
+ </div>
40
+ </div>
41
+ </div>