express_ui 0.1.0.rc7 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/express_ui/styleguide.js +7 -11
  3. data/app/assets/stylesheets/express_ui/atoms/_buttons.sass +2 -1
  4. data/app/assets/stylesheets/express_ui/atoms/_images.sass +1 -3
  5. data/app/assets/stylesheets/express_ui/atoms/_media_queries.sass +18 -0
  6. data/app/assets/stylesheets/express_ui/atoms/_reset.sass +1 -0
  7. data/app/assets/stylesheets/express_ui/atoms/_typography.sass +3 -1
  8. data/app/assets/stylesheets/express_ui/molecules/_container.sass +3 -0
  9. data/app/assets/stylesheets/express_ui/molecules/_flash_messages.sass +2 -1
  10. data/app/assets/stylesheets/express_ui/molecules/_form_groups.sass +3 -0
  11. data/app/assets/stylesheets/express_ui/molecules/_forms.sass +1 -0
  12. data/app/assets/stylesheets/express_ui/molecules/_lists.sass +0 -1
  13. data/app/assets/stylesheets/express_ui/molecules/_nav.sass +8 -0
  14. data/app/assets/stylesheets/express_ui/molecules/_tables.sass +16 -14
  15. data/app/assets/stylesheets/express_ui/organisms/_header.sass +22 -2
  16. data/app/assets/stylesheets/express_ui/organisms/_sidebar.sass +10 -0
  17. data/app/assets/stylesheets/express_ui/styleguide.sass +2 -0
  18. data/app/assets/stylesheets/express_ui/templates/_content_sidebar.sass +19 -0
  19. data/app/controllers/express_ui/pages_controller.rb +21 -0
  20. data/app/views/express_ui/atoms/_buttons.html.erb +28 -26
  21. data/app/views/express_ui/atoms/_typography.html.erb +3 -1
  22. data/app/views/express_ui/molecules/_forms.html.erb +2 -2
  23. data/app/views/express_ui/molecules/_table_with_filtering.html.erb +3 -2
  24. data/app/views/express_ui/pages/coming_soon.html.erb +36 -0
  25. data/app/views/express_ui/pages/login.html.erb +37 -0
  26. data/app/views/express_ui/pages/register.html.erb +37 -0
  27. data/app/views/express_ui/pages/static.html.erb +10 -0
  28. data/app/views/express_ui/shared/_sidebar_left.html.erb +3 -2
  29. data/app/views/express_ui/templates/_templates.html.erb +2 -0
  30. data/app/views/express_ui/uicomponents/_pages.html.erb +26 -0
  31. data/app/views/layouts/express_ui/styleguide.html.erb +2 -1
  32. data/config/routes.rb +6 -0
  33. data/lib/express_ui/version.rb +1 -1
  34. metadata +14 -38
  35. data/app/views/express_ui/uicomponents/_login.html.erb +0 -15
  36. data/app/views/express_ui/uicomponents/_pages.html.et +0 -22
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3c58d2015fb5d2d3e3ea07be91fa7408547b53bb
4
- data.tar.gz: 7783161a9d4cd6dd65744916c51241566a40cde2
3
+ metadata.gz: 579bd9ae18193f1d9f49b862522a94eeb9fa86d2
4
+ data.tar.gz: 677eb279093f9e1fc768dd7834bf0aaaa3847aab
5
5
  SHA512:
6
- metadata.gz: f0c5a07ea96f663e66cc3daa0768683211b12d81d4858090cfcd787f2161116118f7e7dfd03405c21e3704a8fad1091d95c42d4da1a12dad1fefb3c28bbd1085
7
- data.tar.gz: 9f8f99c0fd5e250fc9073538f5defd508fa209a331fe2b414f240c47b6168b2e97f9cc03f96bcb210d47f60f08fccd4fbc8c8b3b13e62cfecbd10c43a46038ed
6
+ metadata.gz: 36a75a44b64803f02dbf6fc166aa3624ace94a822d6671e1a6d7177aee2243b8b41e2b19c83df4425e2c064a6224161dd534447ec320f877d2a765a4b10d83e3
7
+ data.tar.gz: 534ac9247ed170c779475484e997a5577d7ab6d77723db16d0a8f0ba68639247ec3cc32b369ad6076fad39411b2470c32dd7a52fbf6069815a78cea38f5410d8
@@ -3,8 +3,14 @@
3
3
  //= require anchorific
4
4
  //= require resizable
5
5
 
6
+
6
7
  $(function() {
7
8
 
9
+ // TODO: Sidebar scripts in mobile that need to be moved to its proper JS folder
10
+ $('.js-ae-show-left-sidebar').on('click', function(){
11
+ $('.js-ae-sidebar').toggle();
12
+ });
13
+
8
14
  $('.ae-sidebar-right').resizable({
9
15
  handles: 'w',
10
16
  minWidth: 100,
@@ -45,17 +51,6 @@ $(function() {
45
51
  $('body').append("<a href='#' class='ae-btn ae-btn-secondary ae-btn-sm back-to-top'>Back to top &nbsp;<i class='fa fa-long-arrow-up'></i></a>");
46
52
  $('.back-to-top').css('display', 'none')
47
53
 
48
- // Freeze body when scrolling over sidebar
49
- // $(".ae-sidebar-overlay").on("mouseover", function() {
50
- // $("body").css("overflow-y", "hidden");
51
- // $(this).css('z-index', '-1');
52
- // });
53
-
54
- // $(".js-ae-sidebar").on("mouseleave", function() {
55
- // $("body").css("overflow-y", "auto");
56
- // $(this).css('z-index', '1');
57
- // });
58
-
59
54
  $(window).scroll(function() {
60
55
  if ($(this).scrollTop() >= 100) { // If page is scrolled more than 100px
61
56
  $('.back-to-top').fadeIn(200); // Fade in the arrow
@@ -88,3 +83,4 @@ $( document ).ready(function() {
88
83
  });
89
84
 
90
85
 
86
+
@@ -4,6 +4,7 @@
4
4
  margin: 0.25em 0.25em 0 0
5
5
  border: 0
6
6
  cursor: pointer
7
+ text-align: center
7
8
 
8
9
  .ae-btn
9
10
  @include easeInOut
@@ -12,7 +13,7 @@
12
13
  text-decoration: none
13
14
  text-transform: uppercase
14
15
  box-shadow: none
15
- vertical-align: middle
16
+ vertical-align: top
16
17
  @include body-font
17
18
 
18
19
  &:hover, &-hover
@@ -27,9 +27,7 @@ img
27
27
  display: block
28
28
  text-align: center
29
29
  position: relative
30
- margin-bottom: 1.25em
31
- margin-left: auto
32
- margin-right: auto
30
+ margin: 1.25em auto
33
31
 
34
32
  .ae-img-responsive
35
33
  max-width: 100%
@@ -25,3 +25,21 @@
25
25
  @mixin desktop
26
26
  @media only screen and (min-width: $desktop)
27
27
  @content
28
+
29
+ @mixin desktop-only
30
+ display: none !important
31
+
32
+ @include tablet
33
+ display: inline-block !important
34
+
35
+ @mixin mobile-only
36
+ display: block
37
+
38
+ @include tablet
39
+ display: none !important
40
+
41
+ .ae-mobile-only
42
+ @include mobile-only
43
+
44
+ .ae-desktop-only
45
+ @include desktop-only
@@ -6,6 +6,7 @@
6
6
  html, body
7
7
  line-height: 1.4
8
8
  height: 100%
9
+ min-height: 100%
9
10
 
10
11
  body
11
12
  width: 100%
@@ -1,3 +1,5 @@
1
+ @import url('https://fonts.googleapis.com/css?family=Lato:400,400i,700,700i')
2
+
1
3
  @mixin body-font
2
4
  font-family: 'Lato', sans-serif
3
5
 
@@ -18,7 +20,7 @@
18
20
  font-size: rem($large_size/1.4)
19
21
 
20
22
  @mixin p
21
- @include font-size(12px, 14px)
23
+ @include font-size(18px, 14px)
22
24
  font-weight: normal
23
25
 
24
26
  .ae-u-text-left
@@ -9,6 +9,7 @@
9
9
  margin-left: auto
10
10
  margin-right: auto
11
11
  max-width: $container
12
+ word-wrap: break-word
12
13
 
13
14
  @include tablet
14
15
  width: 100%
@@ -27,3 +28,5 @@
27
28
 
28
29
  .ae-container-table-cell
29
30
  @include container-table-cell
31
+
32
+
@@ -11,9 +11,10 @@
11
11
 
12
12
  .ae-alert-action
13
13
  position: absolute
14
- top: 0.5rem
14
+ top: 0.5
15
15
  right: 0.5rem
16
16
  text-decoration: none
17
+ @include font-size(12px, 16px)
17
18
 
18
19
  &-success
19
20
  background: lighten($success, 50%)ƒ
@@ -35,6 +35,9 @@
35
35
  .ae-form-field
36
36
  position: relative
37
37
 
38
+ @include tablet-max
39
+ width: 100%
40
+
38
41
  .ae-actions
39
42
  width: auto
40
43
 
@@ -7,6 +7,7 @@
7
7
  @include easeInOut
8
8
  margin: 10px 0
9
9
  @include body-font
10
+ vertical-align: top
10
11
 
11
12
  &:focus
12
13
  border: 1px solid $primary-color
@@ -5,7 +5,6 @@ ul, ol
5
5
 
6
6
  li
7
7
  @include p
8
- @include font-size(12px, 12px)
9
8
 
10
9
  &:before
11
10
  content: ""
@@ -27,6 +27,14 @@ nav
27
27
  & > a
28
28
  @include button
29
29
 
30
+ .ae-nav-main
31
+ @include tablet-max
32
+ float: none
33
+
34
+ .ae-list-inline .ae-nav-item
35
+ display: inline-block
36
+ float: none
37
+
30
38
  .ae-breadcrumbs
31
39
  .ae-nav-item
32
40
  position: relative
@@ -51,14 +51,24 @@ table
51
51
  overflow-x: scroll
52
52
 
53
53
  .ae-table-filter
54
- display: flex
55
- flex-flow: row
56
- flex-wrap: nowrap
57
- justify-content: flex-start
58
- align-items: stretch
59
- align-content: stretch
60
54
  background-color: $gray-background
61
55
 
56
+ @include tablet
57
+ display: flex
58
+ flex-flow: row
59
+ flex-wrap: nowrap
60
+ justify-content: flex-start
61
+ align-items: stretch
62
+ align-content: stretch
63
+
64
+ *
65
+ display: flex
66
+ flex-direction: row
67
+ flex-wrap: nowrap
68
+ justify-content: flex-start
69
+ align-items: center
70
+ align-content: stretch
71
+
62
72
  .ae-filter
63
73
  // border-right: 1px solid $border-light
64
74
  padding: 0 $container-padding*2
@@ -67,11 +77,3 @@ table
67
77
  margin-top: 0
68
78
  border-top: 1px solid $border-light
69
79
 
70
- *
71
-
72
- display: flex
73
- flex-direction: row
74
- flex-wrap: nowrap
75
- justify-content: flex-start
76
- align-items: center
77
- align-content: stretch
@@ -7,13 +7,26 @@ header
7
7
  @include tablet
8
8
  padding: 0.5em 0
9
9
 
10
- img
11
- margin: 0
10
+ @include tablet-max
11
+ text-align: center
12
+ height: $header-max-height*2
13
+ max-height: 100%
12
14
 
13
15
  .ae-logo
14
16
  float: left
15
17
  padding: 0.25em 0.5em
16
18
 
19
+ img
20
+ margin: 0
21
+
22
+ @include tablet-max
23
+ float: none
24
+ padding: 1em 0
25
+ display: block
26
+
27
+ img
28
+ margin: 0 auto
29
+
17
30
  &.ae-header-fixed
18
31
  position: fixed
19
32
  top: 0
@@ -24,6 +37,13 @@ header
24
37
  & + .ae-container
25
38
  margin-top: ($header-max-height/2.75)
26
39
 
40
+ @include tablet-max
41
+ z-index: 99
42
+
27
43
 
28
44
  & + [class*="ae-template-"]
29
45
  margin-top: ($header-max-height/2.75)
46
+
47
+ @include tablet-max
48
+ z-index: 99
49
+ margin-top: $header-max-height
@@ -16,6 +16,15 @@
16
16
  .ae-content
17
17
  left: $width
18
18
 
19
+ .ae-show-left-sidebar
20
+ @include tablet-max
21
+ position: fixed
22
+ left: 10px
23
+ top: $header-max-height*2.2
24
+ right: 10px
25
+ z-index: 99
26
+ margin-right: 0
27
+
19
28
  .ae-sidebar-left
20
29
  background-color: $primary-color
21
30
 
@@ -27,6 +36,7 @@
27
36
  .ae-sidebar
28
37
  word-wrap: inherit
29
38
  overflow-y: scroll
39
+ letter-spacing: 0
30
40
  padding:
31
41
  top: $container-padding
32
42
  bottom: $container-padding
@@ -141,6 +141,8 @@ pre
141
141
  padding: 1em
142
142
  @include box-shadow(inset 0, 0, 5px, 0, rgba($border-dark, 0.5))
143
143
  position: relative
144
+ width: 100%
145
+
144
146
 
145
147
  .pln
146
148
  color: #161b1d
@@ -1,3 +1,18 @@
1
+ .ae-template-content-sidebar, .ae-template-content-sidebar-fixed
2
+ @include tablet-max
3
+ .ae-sidebar-left
4
+ display: none
5
+ left: 10px
6
+ top: 4.6em
7
+ right: 10px
8
+ width: auto !important
9
+ z-index: 99
10
+ height: auto !important
11
+
12
+ .ae-content
13
+ left: 0 !important
14
+ right: 0 !important
15
+
1
16
  .ae-template-content-sidebar
2
17
  @include sidebar(15%)
3
18
  display: flex
@@ -29,3 +44,7 @@
29
44
  position: absolute
30
45
  padding: $container-padding*2 $container-padding*4
31
46
  right: $container-padding*4
47
+ overflow: auto
48
+
49
+ @include tablet-max
50
+ padding-top: $container-padding*6
@@ -0,0 +1,21 @@
1
+ require_dependency "express_ui/application_controller"
2
+
3
+ module ExpressUi
4
+ class PagesController < ApplicationController
5
+ layout "express_ui/styleguide"
6
+
7
+
8
+ def register
9
+ end
10
+
11
+ def coming_soon
12
+ end
13
+
14
+ def login
15
+ end
16
+
17
+ def static
18
+ end
19
+
20
+ end
21
+ end
@@ -2,32 +2,31 @@
2
2
  <p>Required. Buttons require the <code>ae-btn</code> class and <code>type="button"</code> attribute.</p>
3
3
 
4
4
  <h4>Button Sizes</h4>
5
- <table>
6
- <thead>
7
- <th>Size</th>
8
- <th>Demo</th>
9
- <th>Usage</th>
10
- </thead>
11
- <tbody>
12
- <tr>
13
- <td>Small</td>
14
- <td><button type="button" class="ae-btn ae-btn-sm">Small</button></td>
15
- <td><code>.ae-btn-sm</code></td>
16
- </tr>
17
- <tr>
18
- <td>Medium</td>
19
- <td><button type="button" class="ae-btn ae-btn-md">Medium</button></td>
20
- <td><code>.ae-btn-md</code></td>
21
- </tr>
22
- <tr>
23
- <td>Large</td>
24
- <td><button type="button" class="ae-btn ae-btn-lg">Large</button></td>
25
- <td><code>.ae-btn-lg</code></td>
26
-
27
- </tr>
28
- </tbody>
29
- </table>
30
-
5
+ <table>
6
+ <thead>
7
+ <th>Size</th>
8
+ <th>Demo</th>
9
+ <th>Usage</th>
10
+ </thead>
11
+ <tbody>
12
+ <tr>
13
+ <td>Small</td>
14
+ <td><button type="button" class="ae-btn ae-btn-sm">Small</button></td>
15
+ <td><code>.ae-btn-sm</code></td>
16
+ </tr>
17
+ <tr>
18
+ <td>Medium</td>
19
+ <td><button type="button" class="ae-btn ae-btn-md">Medium</button></td>
20
+ <td><code>.ae-btn-md</code></td>
21
+ </tr>
22
+ <tr>
23
+ <td>Large</td>
24
+ <td><button type="button" class="ae-btn ae-btn-lg">Large</button></td>
25
+ <td><code>.ae-btn-lg</code></td>
26
+
27
+ </tr>
28
+ </tbody>
29
+ </table>
31
30
  <h4>Button States</h4>
32
31
  <table>
33
32
  <thead>
@@ -55,6 +54,8 @@
55
54
  </table>
56
55
 
57
56
  <h4>Button Styles</h4>
57
+ <div class="ae-table-responsive">
58
+
58
59
  <table>
59
60
  <thead>
60
61
  <th>Name</th>
@@ -111,6 +112,7 @@
111
112
  </tbody>
112
113
  </table>
113
114
 
115
+ </div>
114
116
 
115
117
  <p>Buttons can have a badge count. </p>
116
118
 
@@ -96,6 +96,8 @@
96
96
  <h4>Status</h4>
97
97
  <p>Status labels can be used to denote the state of an item or page, e.g., when an item has incurred a “cancelled” or “successful” state.</p>
98
98
  <p>The <code>.ae-status</code> class is required.</p>
99
+ <div class="ae-table-responsive">
100
+
99
101
  <table>
100
102
  <thead>
101
103
  <tr>
@@ -162,7 +164,7 @@
162
164
  </tr>
163
165
  </tbody>
164
166
  </table>
165
-
167
+ </div>
166
168
 
167
169
  <h4>Text Utilities</h4>
168
170
  <table>
@@ -3,7 +3,7 @@
3
3
  <p><strong>Required</strong>. Form elements should be wrapped in a <code>&lt;form&gt;&lt;div class=&quot;ae-form-field&quot;&gt;&lt;/div&gt;&lt;/form&gt;</code> to ensure that proper semantics are followed. This also ensures proper styling is applied. See <a href="http://w3c.github.io/html/semantics.html#forms" title="Form semantics at w3c">http://w3c.github.io/html/semantics.html#forms</a>.</p>
4
4
 
5
5
  <h4>Input Fields</h4>
6
-
6
+ <div class="ae-table-responsive">
7
7
  <table>
8
8
  <thead>
9
9
  <tr>
@@ -136,7 +136,7 @@
136
136
  </tr>
137
137
  </tbody>
138
138
  </table>
139
-
139
+ </div>
140
140
 
141
141
  <h4>Input Sizes</h4>
142
142
  <table>
@@ -1,4 +1,3 @@
1
- <div class="ae-table-responsive">
2
1
  <div class="ae-table-filter">
3
2
  <div class="ae-filter">
4
3
  <%= render "express_ui/molecules/form_group_single_line" %>
@@ -13,7 +12,9 @@
13
12
  <a href="#" title="Reset">×</a>
14
13
  </div>
15
14
  </div>
16
- <table>
15
+ <div class="ae-table-responsive">
16
+ <table>
17
+
17
18
  <thead>
18
19
  <th><a href="#" title="created_at">Created At </a></th>
19
20
  <th width="30%"><a href="#" title="address">Address</a></th>
@@ -0,0 +1,36 @@
1
+ <div class="ae-template-half-width">
2
+ <div class="ae-container">
3
+
4
+ <div class="ae-content content ae-u-text-center">
5
+ <%= link_to image_tag('logo.svg', :width => "200"), "https://appexpress.io", :class => "logo", title: "Back to AppExpress", :width => "200" %>
6
+
7
+
8
+ <div class="panel">
9
+ <ul>
10
+ <li>Ready-made application components.</li>
11
+ <li>Standard professional services. </li>
12
+ <li>High-performance managed hosting.</li>
13
+ </ul>
14
+ <h1>Coming Soon</h1>
15
+ </div>
16
+
17
+ <p>Enter your email address to receive a list of our services once we go live. </p>
18
+
19
+ <!-- Begin MailChimp Signup Form -->
20
+ <div id="mc_embed_signup">
21
+ <form action="#" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate ae-form-single ae-u-text-left" target="_blank" novalidate>
22
+ <div class="ae-form-field">
23
+ <input type="email" value="" name="EMAIL" class="email ae-text-field ae-input-md" id="mce-EMAIL" placeholder=" address" required>
24
+ <div style="position: absolute; left: -5000px;" aria-hidden="true">
25
+ <input type="text" name="b_e6a2ab7ec23502e4df28026e8_8a9529a053" tabindex="-1" value="">
26
+ </div>
27
+ </div>
28
+ <div class="ae-actions">
29
+ <button type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class=" ae-btn ae-btn-primary ae-btn-md" />Subscribe</button>
30
+ </div>
31
+ </form>
32
+ </div>
33
+ <!--End mc_embed_signup-->
34
+ </div>
35
+ </div>
36
+ </div>
@@ -0,0 +1,37 @@
1
+ <div class="ae-template-half-width">
2
+ <div class="ae-container">
3
+
4
+ <div class="ae-content content ae-u-text-center">
5
+ <%= link_to image_tag('logo.svg', :width => "200"), "https://appexpress.io", :class => "logo", title: "Back to AppExpress" %>
6
+
7
+ <div class="ae-alert ae-alert-success">
8
+ <p>Congratulations! <a href="#" title="Click here to do something">Click here to do something</a>.</p>
9
+ <a href="#" class="ae-alert-action" title="Click here to do something">×</a>
10
+ </div>
11
+
12
+ <div class="ae-alert ae-alert-error">
13
+ <p>Error. <a href="#" title="Click here to do something">Click here to do something</a>.</p>
14
+ <a href="#" class="ae-alert-action" title="Click here to do something">×</a>
15
+ </div>
16
+
17
+
18
+
19
+ <form class="ae-form-horizontal ae-u-text-left">
20
+ <h1>Welcome Back!</h1>
21
+ <div class="ae-form-field">
22
+ <label for="email">Email</label>
23
+ <input class="ae-text-field ae-input-md" type="email" name="email" value="user@email.com" id="email" placeholder="user@email.com" />
24
+ <p class="ae-hint">Your email adress</p>
25
+ </div>
26
+ <div class="ae-form-field">
27
+ <label for="password">Password</label>
28
+ <input class="ae-text-field ae-input-md" type="password" name="password" value="Enter password" id="password" placeholder="Enter password" />
29
+ </div>
30
+ <div class="ae-actions">
31
+ <button class="ae-btn ae-btn-primary ae-btn-md" type="submit">Login</button>
32
+ </div>
33
+ </form>
34
+
35
+ </div>
36
+ </div>
37
+ </div>
@@ -0,0 +1,37 @@
1
+ <div class="ae-template-half-width">
2
+ <div class="ae-container">
3
+
4
+ <div class="ae-content content ae-u-text-center">
5
+ <%= link_to image_tag('logo.svg', :width => "200"), "https://appexpress.io", :class => "logo", title: "Back to AppExpress" %>
6
+
7
+ <div class="ae-alert ae-alert-success">
8
+ <p>Congratulations! <a href="#" title="Click here to do something">Click here to do something</a>.</p>
9
+ <a href="#" class="ae-alert-action" title="Click here to do something">×</a>
10
+ </div>
11
+
12
+ <div class="ae-alert ae-alert-error">
13
+ <p>Error. <a href="#" title="Click here to do something">Click here to do something</a>.</p>
14
+ <a href="#" class="ae-alert-action" title="Click here to do something">×</a>
15
+ </div>
16
+
17
+
18
+
19
+ <form class="ae-form-horizontal ae-u-text-left">
20
+ <h1>New Users</h1>
21
+ <div class="ae-form-field">
22
+ <label for="email">Email</label>
23
+ <input class="ae-text-field ae-input-md" type="email" name="email" value="user@email.com" id="email" placeholder="user@email.com" />
24
+ <p class="ae-hint">Your email adress</p>
25
+ </div>
26
+ <div class="ae-form-field">
27
+ <label for="password">New Password</label>
28
+ <input class="ae-text-field ae-input-md" type="password" name="password" value="Enter password" id="password" placeholder="Enter password" />
29
+ </div>
30
+ <div class="ae-actions">
31
+ <button class="ae-btn ae-btn-primary ae-btn-md" type="submit">Create an Account</button>
32
+ </div>
33
+ </form>
34
+
35
+ </div>
36
+ </div>
37
+ </div>
@@ -0,0 +1,10 @@
1
+ <div class="ae-template-full-width">
2
+ <div class="ae-container">
3
+
4
+ <h1>Static Page</h1>
5
+
6
+
7
+
8
+ </div>
9
+ </div>
10
+ </div>
@@ -1,4 +1,5 @@
1
- <div class="ae-sidebar sidebar ae-sidebar-left ae-sidebar-has-icons">
2
- <nav class="anchorific js-ae-sidebar"></nav>
1
+ <a href="#" class="ae-mobile-only ae-btn ae-btn-primary ae-show-left-sidebar ae-btn-sm js-ae-show-left-sidebar">Show Menu</a>
2
+ <div class="ae-sidebar sidebar ae-sidebar-left ae-sidebar-has-icons js-ae-sidebar">
3
+ <nav class="anchorific"></nav>
3
4
  </div>
4
5
 
@@ -12,6 +12,7 @@
12
12
  <%= "</div>" %>
13
13
  <%= "<footer></footer>" %>
14
14
  <% end %>
15
+ <div class="ae-table-responsive">
15
16
  <table>
16
17
  <thead>
17
18
  <th>Template Name</th>
@@ -51,6 +52,7 @@
51
52
  </tr>
52
53
  </tbody>
53
54
  </table>
55
+ </div>
54
56
 
55
57
  <p>The master-detail template implementation on mobile is slightly different. The sidebar degrades into a pop-up whenever it's triggered.</p>
56
58
 
@@ -0,0 +1,26 @@
1
+ <section>
2
+ <table>
3
+ <thead>
4
+ <th>Page</th>
5
+ <th>Demo</th>
6
+ </thead>
7
+ <tbody>
8
+ <tr>
9
+ <td>Launch/Coming Soon</th>
10
+ <td><a href=<%= ui_components_pages_coming_soon_path%>>View Sample</a></td>
11
+ </tr>
12
+ <tr>
13
+ <td>Register</th>
14
+ <td><a href=<%= ui_components_pages_register_path%>>View Sample</a></td>
15
+ </tr>
16
+ <tr>
17
+ <td>Login</th>
18
+ <td><a href=<%= ui_components_pages_login_path%>>View Sample</a></td>
19
+ </tr>
20
+ <tr>
21
+ <td>Static</th>
22
+ <td><a href=<%= ui_components_pages_static_path%>>View Sample</a></td>
23
+ </tr>
24
+ </tbody>
25
+ </table>
26
+ </section>
@@ -4,14 +4,15 @@
4
4
  <!--[if IE 9]><html class='no-js ie9 no-freight base #{yield :document_class}' data-topic="#{yield :topic}" lang='en'><![endif]-->
5
5
  <!--[if gt IE 9]><!--><html class='no-js no-freight base #{yield :document_class}' data-topic="#{yield :topic}" lang='en'><!--<![endif]-->
6
6
  <head>
7
- <link href="https://fonts.googleapis.com/css?family=Lato:400,400i,700,700i" rel="stylesheet">
8
7
  <meta charset="utf-8"/>
9
8
  <meta content="AppExpress" name="author"/>
10
9
  <title>AppExpress Express UI</title>
11
10
  <%= csrf_meta_tags %>
11
+ <meta name="viewport" content="width=device-width, initial-scale=1">
12
12
  <%= stylesheet_link_tag 'express_ui/styleguide', :media => "all" %>
13
13
  <%= javascript_include_tag 'express_ui/application', 'data-turbolinks-track': 'reload' %>
14
14
  <%= javascript_include_tag 'https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js' %>
15
+ <script type="text/javascript">window.$crisp=[];window.CRISP_WEBSITE_ID="31987794-4283-4e5c-b285-532739bddf02";(function(){d=document;s=d.createElement("script");s.src="https://client.crisp.im/l.js";s.async=1;d.getElementsByTagName("head")[0].appendChild(s);})();</script>
15
16
  </head>
16
17
 
17
18
  <body>
data/config/routes.rb CHANGED
@@ -10,4 +10,10 @@ ExpressUi::Engine.routes.draw do
10
10
  get '/ui_components/templates/content-and-sidebar-fixed', to: 'templates#content_and_sidebar_fixed'
11
11
  get '/ui_components/templates/half-width', to: 'templates#half_width'
12
12
  get '/ui_components/templates/full-width', to: 'templates#full_width'
13
+
14
+ get '/ui_components/pages/coming-soon', to: 'pages#coming_soon'
15
+ get '/ui_components/pages/register', to: 'pages#register'
16
+ get '/ui_components/pages/login', to: 'pages#login'
17
+ get '/ui_components/pages/static', to: 'pages#static'
18
+
13
19
  end
@@ -1,3 +1,3 @@
1
1
  module ExpressUi
2
- VERSION = '0.1.0.rc7'
2
+ VERSION = '0.1.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: express_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.rc7
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Talcott Smith
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-03-29 00:00:00.000000000 Z
13
+ date: 2017-04-03 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: express_templates
@@ -18,26 +18,26 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.11.16.rc1
21
+ version: 0.11.16
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - '='
27
27
  - !ruby/object:Gem::Version
28
- version: 0.11.16.rc1
28
+ version: 0.11.16
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: rails
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
- - - '>='
33
+ - - ~>
34
34
  - !ruby/object:Gem::Version
35
35
  version: '5.0'
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
- - - '>='
40
+ - - ~>
41
41
  - !ruby/object:Gem::Version
42
42
  version: '5.0'
43
43
  - !ruby/object:Gem::Dependency
@@ -82,34 +82,6 @@ dependencies:
82
82
  - - ~>
83
83
  - !ruby/object:Gem::Version
84
84
  version: '4.7'
85
- - !ruby/object:Gem::Dependency
86
- name: byebug
87
- requirement: !ruby/object:Gem::Requirement
88
- requirements:
89
- - - '>='
90
- - !ruby/object:Gem::Version
91
- version: '0'
92
- type: :development
93
- prerelease: false
94
- version_requirements: !ruby/object:Gem::Requirement
95
- requirements:
96
- - - '>='
97
- - !ruby/object:Gem::Version
98
- version: '0'
99
- - !ruby/object:Gem::Dependency
100
- name: sqlite3
101
- requirement: !ruby/object:Gem::Requirement
102
- requirements:
103
- - - '>='
104
- - !ruby/object:Gem::Version
105
- version: '0'
106
- type: :development
107
- prerelease: false
108
- version_requirements: !ruby/object:Gem::Requirement
109
- requirements:
110
- - - '>='
111
- - !ruby/object:Gem::Version
112
- version: '0'
113
85
  description: User interface library for AppExpress components (https://appexpress.io)
114
86
  email:
115
87
  - steve@aelogica.com
@@ -154,6 +126,7 @@ files:
154
126
  - app/components/code_demo.rb
155
127
  - app/controllers/express_ui/about_controller.rb
156
128
  - app/controllers/express_ui/application_controller.rb
129
+ - app/controllers/express_ui/pages_controller.rb
157
130
  - app/controllers/express_ui/styleguide_controller.rb
158
131
  - app/controllers/express_ui/templates_controller.rb
159
132
  - app/controllers/express_ui/uicomponents_controller.rb
@@ -184,6 +157,10 @@ files:
184
157
  - app/views/express_ui/molecules/_table.html.erb
185
158
  - app/views/express_ui/molecules/_table_with_filtering.html.erb
186
159
  - app/views/express_ui/organisms/_header.html.erb
160
+ - app/views/express_ui/pages/coming_soon.html.erb
161
+ - app/views/express_ui/pages/login.html.erb
162
+ - app/views/express_ui/pages/register.html.erb
163
+ - app/views/express_ui/pages/static.html.erb
187
164
  - app/views/express_ui/shared/_header.html.erb
188
165
  - app/views/express_ui/shared/_search_box.html.erb
189
166
  - app/views/express_ui/shared/_sidebar_left.html.erb
@@ -205,9 +182,8 @@ files:
205
182
  - app/views/express_ui/uicomponents/_icons.html.et
206
183
  - app/views/express_ui/uicomponents/_layout.html.et
207
184
  - app/views/express_ui/uicomponents/_lists.html.et
208
- - app/views/express_ui/uicomponents/_login.html.erb
209
185
  - app/views/express_ui/uicomponents/_nav.html.et
210
- - app/views/express_ui/uicomponents/_pages.html.et
186
+ - app/views/express_ui/uicomponents/_pages.html.erb
211
187
  - app/views/express_ui/uicomponents/_panel.html.et
212
188
  - app/views/express_ui/uicomponents/_popup.html.et
213
189
  - app/views/express_ui/uicomponents/_register.html.erb
@@ -242,9 +218,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
242
218
  version: '0'
243
219
  required_rubygems_version: !ruby/object:Gem::Requirement
244
220
  requirements:
245
- - - '>'
221
+ - - '>='
246
222
  - !ruby/object:Gem::Version
247
- version: 1.3.1
223
+ version: '0'
248
224
  requirements: []
249
225
  rubyforge_project:
250
226
  rubygems_version: 2.0.14.1
@@ -1,15 +0,0 @@
1
-
2
- <form class="ae-form-horizontal ae-u-text-left">
3
- <div class="ae-form-field">
4
- <label for="email">Email</label>
5
- <input class="ae-text-field ae-input-md" type="email" name="email" value="user@email.com" id="email" placeholder="user@email.com" />
6
- <p class="ae-hint">Your email adress</p>
7
- </div>
8
- <div class="ae-form-field">
9
- <label for="password">Password</label>
10
- <input class="ae-text-field ae-input-md" type="password" name="password" value="Enter password" id="password" placeholder="Enter password" />
11
- </div>
12
- <div class="ae-actions">
13
- <button class="ae-btn ae-btn-primary ae-btn-md" type="submit">Login</button>
14
- </div>
15
- </form>
@@ -1,22 +0,0 @@
1
- section {
2
- table {
3
- thead {
4
- th { 'Page Name' }
5
- th { 'Demo' }
6
- }
7
- tbody {
8
- tr {
9
- td { 'Register' }
10
- td { a(href: "#", title: "View Sample") { 'View Sample' } }
11
- }
12
- tr {
13
- td { 'Login' }
14
- td { a(href: "#", title: "View Sample") { 'View Sample' } }
15
- }
16
- tr {
17
- td { 'Static' }
18
- td { a(href: "#", title: "View Sample") { 'View Sample' } }
19
- }
20
- }
21
- }
22
- }