express_ui 0.5.0 → 0.5.1
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.
- checksums.yaml +4 -4
- data/app/assets/javascripts/express_ui/application.js +36 -38
- data/app/assets/stylesheets/express_ui/application.sass +6 -0
- data/app/assets/stylesheets/express_ui/atoms/_animations.sass +4 -0
- data/app/assets/stylesheets/express_ui/atoms/_buttons.sass +63 -9
- data/app/assets/stylesheets/express_ui/atoms/_icons.sass +20 -1
- data/app/assets/stylesheets/express_ui/atoms/_reset.sass +5 -2
- data/app/assets/stylesheets/express_ui/atoms/_typography.sass +11 -6
- data/app/assets/stylesheets/express_ui/atoms/_utilities.sass +5 -0
- data/app/assets/stylesheets/express_ui/mixins/_express_ui.sass +75 -13
- data/app/assets/stylesheets/express_ui/molecules/_button_group.sass +17 -0
- data/app/assets/stylesheets/express_ui/molecules/_container.sass +57 -6
- data/app/assets/stylesheets/express_ui/molecules/_flash_messages.sass +42 -12
- data/app/assets/stylesheets/express_ui/molecules/_form_groups.sass +75 -6
- data/app/assets/stylesheets/express_ui/molecules/_forms.sass +38 -4
- data/app/assets/stylesheets/express_ui/molecules/_lists.sass +44 -8
- data/app/assets/stylesheets/express_ui/molecules/_nav.sass +7 -2
- data/app/assets/stylesheets/express_ui/molecules/_progress_bar.sass +33 -0
- data/app/assets/stylesheets/express_ui/molecules/_progress_indicator.sass +5 -1
- data/app/assets/stylesheets/express_ui/molecules/_tables.sass +5 -0
- data/app/assets/stylesheets/express_ui/organisms/_detail.sass +28 -0
- data/app/assets/stylesheets/express_ui/organisms/_dropdown.sass +14 -0
- data/app/assets/stylesheets/express_ui/organisms/_header.sass +1 -1
- data/app/assets/stylesheets/express_ui/organisms/_panels.sass +41 -0
- data/app/assets/stylesheets/express_ui/organisms/_popovers.sass +9 -0
- data/app/assets/stylesheets/express_ui/organisms/_sidebar.sass +35 -27
- data/app/assets/stylesheets/express_ui/scripts/_accordion.sass +12 -8
- data/app/assets/stylesheets/express_ui/scripts/_popup.sass +39 -3
- data/app/assets/stylesheets/express_ui/templates/_content_sidebar.sass +0 -1
- data/app/assets/stylesheets/express_ui/templates/_full_width.sass +9 -0
- data/app/assets/stylesheets/express_ui/templates/_master_detail.sass +53 -1
- data/app/controllers/express_ui/uicomponents_controller.rb +3 -0
- data/app/helpers/express_ui/application_helper.rb +1 -0
- data/app/helpers/express_ui/checks_for_testing.rb +13 -0
- data/app/views/express_ui/molecules/_lists.html.erb +0 -0
- data/app/views/express_ui/shared/_header.html.erb +0 -1
- data/app/views/express_ui/styleguide/index.html.erb +0 -6
- data/app/views/express_ui/templates/master_detail_fixed.html.erb +24 -24
- data/app/views/layouts/express_ui/_doctype_html.html.erb +9 -0
- data/app/views/layouts/express_ui/_head.html.erb +1 -7
- data/app/views/layouts/express_ui/content_and_sidebar.html.erb +24 -10
- data/app/views/layouts/express_ui/content_and_sidebar_fixed.html.erb +25 -10
- data/app/views/layouts/express_ui/full_width.html.erb +10 -6
- data/app/views/layouts/express_ui/half_width.html.erb +2 -2
- data/app/views/layouts/express_ui/master_detail.html.html.erb +9 -5
- data/app/views/layouts/express_ui/master_detail_fixed.html.erb +17 -11
- data/app/views/layouts/express_ui/master_detail_sidebar.html.erb +30 -0
- data/app/views/layouts/express_ui/styleguide.html.erb +2 -6
- data/lib/express_ui/engine.rb +0 -2
- data/lib/express_ui/version.rb +1 -1
- metadata +15 -56
- data/app/components/code_demo.rb +0 -29
- data/app/components/component_docitem.rb +0 -140
- data/app/components/component_example.rb +0 -100
- data/app/components/express_ui/panel.rb +0 -37
- data/app/components/express_ui/unordered_list.rb +0 -29
- data/app/views/express_ui/molecules/_lists.html.et +0 -65
- data/app/views/express_ui/molecules/_nav_mega_menu.html.et +0 -94
- data/app/views/express_ui/molecules/_nav_menu.html.et +0 -17
- data/app/views/express_ui/molecules/_progress_indicator.html.et +0 -56
- data/app/views/express_ui/scripts/_accordion.html.et +0 -69
- data/app/views/express_ui/scripts/_calendar.html.et +0 -35
- data/app/views/express_ui/scripts/_carousel.html.et +0 -21
- data/app/views/express_ui/scripts/_datepicker.html.et +0 -37
- data/app/views/express_ui/scripts/_popup.html.et +0 -58
- data/app/views/express_ui/scripts/_select.html.et +0 -27
- data/app/views/express_ui/scripts/_slider.html.et +0 -58
- data/app/views/express_ui/scripts/_tabs.html.et +0 -17
- data/app/views/express_ui/scripts/index.html.erb +0 -46
- data/app/views/express_ui/uicomponents/_buttons.html.et +0 -10
- data/app/views/express_ui/uicomponents/_flash_message.html.et +0 -19
- data/app/views/express_ui/uicomponents/_forms.html.et +0 -118
- data/app/views/express_ui/uicomponents/_heading.html.et +0 -24
- data/app/views/express_ui/uicomponents/_icons.html.et +0 -35
- data/app/views/express_ui/uicomponents/_layout.html.et +0 -47
- data/app/views/express_ui/uicomponents/_lists.html.et +0 -49
- data/app/views/express_ui/uicomponents/_nav.html.et +0 -18
- data/app/views/express_ui/uicomponents/_pages.html.erb +0 -30
- data/app/views/express_ui/uicomponents/_panels.html.et +0 -14
- data/app/views/express_ui/uicomponents/_popup.html.et +0 -19
- data/app/views/express_ui/uicomponents/_register.html.erb +0 -14
- data/app/views/express_ui/uicomponents/_sidebar.html.et +0 -8
- data/app/views/express_ui/uicomponents/_table.html.et +0 -11
- data/app/views/express_ui/uicomponents/_widget_box.html.et +0 -14
- data/app/views/express_ui/uicomponents/examples/_panel.html.et +0 -9
- data/app/views/express_ui/uicomponents/examples/_unordered_list.html.et +0 -5
- data/app/views/express_ui/uicomponents/examples/_unordered_list_with_ids.html.et +0 -5
- data/app/views/express_ui/uicomponents/index.html.et +0 -52
|
@@ -16,18 +16,61 @@
|
|
|
16
16
|
left: 0 !important
|
|
17
17
|
right: 0 !important
|
|
18
18
|
|
|
19
|
+
@include tablet
|
|
20
|
+
.ae-sidebar
|
|
21
|
+
padding-top: $header-height
|
|
22
|
+
|
|
19
23
|
.ae-container
|
|
20
24
|
position: fixed
|
|
21
25
|
left: 15%
|
|
22
26
|
right: 30%
|
|
23
27
|
height: 100%
|
|
24
28
|
width: auto
|
|
29
|
+
padding-top: $header-height
|
|
30
|
+
padding-bottom: $header-height
|
|
31
|
+
overflow: scroll
|
|
32
|
+
|
|
33
|
+
@include tablet-max
|
|
34
|
+
width: 100%
|
|
35
|
+
left: 0
|
|
36
|
+
right: 0
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
.ae-template-master-detail-sidebar
|
|
41
|
+
@include tablet-max
|
|
42
|
+
.ae-sidebar-left
|
|
43
|
+
display: none
|
|
44
|
+
left: 10px
|
|
45
|
+
margin-top: 2em
|
|
46
|
+
right: 10px
|
|
47
|
+
width: auto !important
|
|
48
|
+
z-index: 99
|
|
49
|
+
height: auto !important
|
|
50
|
+
|
|
51
|
+
.ae-sidebar-right
|
|
52
|
+
display: none
|
|
53
|
+
|
|
54
|
+
.ae-content
|
|
55
|
+
left: 0 !important
|
|
56
|
+
right: 0 !important
|
|
57
|
+
|
|
58
|
+
.ae-container
|
|
59
|
+
position: fixed
|
|
60
|
+
left: 15%
|
|
61
|
+
right: 0
|
|
62
|
+
height: 100%
|
|
63
|
+
width: auto
|
|
64
|
+
max-width: 100%
|
|
25
65
|
|
|
26
66
|
@include tablet-max
|
|
27
67
|
width: 100%
|
|
28
68
|
left: 0
|
|
29
69
|
right: 0
|
|
30
70
|
|
|
71
|
+
.ae-sidebar-left
|
|
72
|
+
border-right: 1px solid $border-light
|
|
73
|
+
|
|
31
74
|
|
|
32
75
|
.ae-template-master-detail
|
|
33
76
|
@include sidebar(15%)
|
|
@@ -54,9 +97,14 @@
|
|
|
54
97
|
@include tablet
|
|
55
98
|
width: auto
|
|
56
99
|
|
|
57
|
-
|
|
100
|
+
|
|
101
|
+
.ae-template-master-detail-fixed, .ae-template-master-detail-sidebar
|
|
58
102
|
@include sidebar-right(30%)
|
|
59
103
|
@include sidebar-fixed(15%)
|
|
104
|
+
|
|
105
|
+
@media only screen and (min-width: $tablet) and (max-width: $small-desktop)
|
|
106
|
+
@include sidebar-right(40%)
|
|
107
|
+
|
|
60
108
|
display: flex
|
|
61
109
|
flex-flow: row nowrap
|
|
62
110
|
align-items: stretch
|
|
@@ -73,6 +121,10 @@
|
|
|
73
121
|
height: 100%
|
|
74
122
|
right: 0
|
|
75
123
|
|
|
124
|
+
& > section
|
|
125
|
+
overflow-y: auto
|
|
126
|
+
height: 100%
|
|
127
|
+
|
|
76
128
|
.ae-content
|
|
77
129
|
padding: $container-padding $container-padding*4
|
|
78
130
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
module ExpressUi
|
|
2
|
+
module ChecksForTesting
|
|
3
|
+
|
|
4
|
+
# Returns boolean as to whether something is for testing
|
|
5
|
+
#
|
|
6
|
+
# For example, this can be used to
|
|
7
|
+
# show styles/elements or any visual indication for the product owner
|
|
8
|
+
# to easily distinguish a test/acceptance environment from production
|
|
9
|
+
def for_testing?
|
|
10
|
+
!Rails.env.production? && !Rails.env.development?
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
File without changes
|
|
@@ -52,13 +52,7 @@
|
|
|
52
52
|
<li><h3>Lists</h3>
|
|
53
53
|
<%= render "express_ui/molecules/lists" %>
|
|
54
54
|
</li>
|
|
55
|
-
<li><h3>Nav</h3>
|
|
56
|
-
<%= render "express_ui/molecules/nav" %>
|
|
57
|
-
</li>
|
|
58
55
|
<li><h3>Pagination</h3></li>
|
|
59
|
-
<li><h3>Progress Indicator</h3>
|
|
60
|
-
<%= render "express_ui/molecules/progress_indicator" %>
|
|
61
|
-
</li>
|
|
62
56
|
<li><h3>Table</h3>
|
|
63
57
|
<%= render "express_ui/molecules/table" %>
|
|
64
58
|
</li>
|
|
@@ -9,32 +9,32 @@
|
|
|
9
9
|
<p>{Detail}</p>
|
|
10
10
|
</div>
|
|
11
11
|
|
|
12
|
-
<div class="ae-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
12
|
+
<div class="ae-container">
|
|
13
|
+
<div class="ae-content content">
|
|
14
|
+
<%= render "express_ui/shared/search_box" %>
|
|
15
|
+
|
|
16
|
+
<h1>This is a fixed master-detail layout</h1>
|
|
17
|
+
<%= highlight_code_block do %>
|
|
18
|
+
<%= "<header></header>" %>
|
|
19
|
+
<%= "<div class=\"ae-template-master-detail-fixed\">" %>
|
|
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>" %>
|
|
27
31
|
<%= "</div>" %>
|
|
28
|
-
<%= "<
|
|
29
|
-
|
|
30
|
-
<%= "</div>" %>
|
|
31
|
-
<%= "</div>" %>
|
|
32
|
-
<%= "<footer></footer>" %>
|
|
33
|
-
<% end %>
|
|
32
|
+
<%= "<footer></footer>" %>
|
|
33
|
+
<% end %>
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
<div class="ae-btn-group ae-btn-group-left">
|
|
36
|
+
<%= link_to '« Back'.html_safe, styleguide_path, class: 'ae-btn ae-btn-primary ae-btn-md' %>
|
|
37
|
+
</div>
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
</div>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<!--[if IE 7]><html class='no-js ie7 no-freight base #{yield :document_class}' data-topic="#{yield :topic}" lang='en'><![endif]-->
|
|
2
|
+
<!--[if IE 8]><html class='no-js ie8 no-freight base #{yield :document_class}' data-topic="#{yield :topic}" lang='en'><![endif]-->
|
|
3
|
+
<!--[if IE 9]><html class='no-js ie9 no-freight base #{yield :document_class}' data-topic="#{yield :topic}" lang='en'><![endif]-->
|
|
4
|
+
<!--[if gt IE 9]><!-->
|
|
5
|
+
<!DOCTYPE HTML>
|
|
6
|
+
<html class='no-js no-freight base #{yield :document_class}' data-topic="#{yield :topic}" lang='en'>
|
|
7
|
+
<!--<![endif]-->
|
|
8
|
+
<%= yield %>
|
|
9
|
+
</html>
|
|
@@ -1,16 +1,10 @@
|
|
|
1
|
-
<!--[if IE 7]><html class='no-js ie7 no-freight base #{yield :document_class}' data-topic="#{yield :topic}" lang='en'><![endif]-->
|
|
2
|
-
<!--[if IE 8]><html class='no-js ie8 no-freight base #{yield :document_class}' data-topic="#{yield :topic}" lang='en'><![endif]-->
|
|
3
|
-
<!--[if IE 9]><html class='no-js ie9 no-freight base #{yield :document_class}' data-topic="#{yield :topic}" lang='en'><![endif]-->
|
|
4
|
-
<!--[if gt IE 9]><!-->
|
|
5
|
-
<!DOCTYPE HTML>
|
|
6
|
-
<html class='no-js no-freight base #{yield :document_class}' data-topic="#{yield :topic}" lang='en'><!--<![endif]-->
|
|
7
1
|
<head>
|
|
8
2
|
<meta charset="utf-8"/>
|
|
9
3
|
<meta content="AppExpress" name="author"/>
|
|
10
4
|
<title><%= @page_title || content_for(:page_title) || (page_title rescue "No Page Title Set") %></title>
|
|
11
5
|
<%= csrf_meta_tags %>
|
|
12
6
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0">
|
|
13
|
-
<%= stylesheet_link_tag 'express_ui/
|
|
7
|
+
<%= stylesheet_link_tag 'express_ui/application', :media => "all" %>
|
|
14
8
|
<%= stylesheet_link_tag 'application', :media => "all" %>
|
|
15
9
|
<%= javascript_include_tag 'express_ui/application', 'data-turbolinks-track': 'reload' %>
|
|
16
10
|
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
|
|
@@ -1,18 +1,32 @@
|
|
|
1
|
-
|
|
1
|
+
<%= render 'layouts/express_ui/doctype_html' do %>
|
|
2
2
|
<%= render partial: 'layouts/express_ui/head' %>
|
|
3
|
-
<body>
|
|
4
|
-
<header>
|
|
5
|
-
<%=
|
|
3
|
+
<body class="<%= controller_name %> <%= controller_name%>-<%= params[:action] %> <%= user_role_classes if defined?(user_role_classes) %>">
|
|
4
|
+
<header class="<%= for_testing? ? "ae-testing-header" : "" %>">
|
|
5
|
+
<%= render(partial: 'shared/header') %>
|
|
6
6
|
</header>
|
|
7
|
-
|
|
7
|
+
|
|
8
|
+
<div class="ae-template-content-sidebar">
|
|
9
|
+
|
|
10
|
+
<%= content_for(:sidebar_link) rescue nil %>
|
|
11
|
+
|
|
12
|
+
<div class="js-ae-sidebar-right">
|
|
13
|
+
</div>
|
|
14
|
+
|
|
8
15
|
<div class="ae-container">
|
|
9
|
-
|
|
16
|
+
<%= content_for(:search) || render(partial: 'search/input') rescue nil %>
|
|
17
|
+
|
|
18
|
+
<div class="ae-sidebar ae-sidebar-left js-ae-sidebar">
|
|
19
|
+
<%= content_for(:sidebar) rescue nil %>
|
|
20
|
+
</div>
|
|
21
|
+
|
|
22
|
+
<div class="ae-content js-ae-content">
|
|
10
23
|
<%= yield %>
|
|
24
|
+
|
|
25
|
+
<footer>
|
|
26
|
+
<%= content_for(:footer) || render(partial: 'shared/footer') rescue nil %>
|
|
27
|
+
</footer>
|
|
11
28
|
</div>
|
|
12
29
|
</div>
|
|
13
30
|
</div>
|
|
14
|
-
<footer>
|
|
15
|
-
<%= content_for(:footer) || render(partial: 'shared/footer') rescue nil %>
|
|
16
|
-
</footer>
|
|
17
31
|
</body>
|
|
18
|
-
|
|
32
|
+
<% end %>
|
|
@@ -1,18 +1,33 @@
|
|
|
1
|
-
|
|
1
|
+
<%= render 'layouts/express_ui/doctype_html' do %>
|
|
2
2
|
<%= render partial: 'layouts/express_ui/head' %>
|
|
3
|
-
<body>
|
|
4
|
-
<header>
|
|
5
|
-
<%=
|
|
3
|
+
<body class="<%= controller_name %> <%= controller_name%>-<%= params[:action] %> <%= user_role_classes if defined?(user_role_classes) %>">
|
|
4
|
+
<header class="<%= for_testing? ? "ae-testing-header" : "" %>">
|
|
5
|
+
<%= render(partial: 'shared/header') %>
|
|
6
6
|
</header>
|
|
7
|
-
|
|
7
|
+
|
|
8
|
+
<div class="ae-template-content-sidebar-fixed">
|
|
9
|
+
|
|
10
|
+
<%= content_for(:sidebar_link) rescue nil %>
|
|
11
|
+
|
|
12
|
+
<div class="js-ae-sidebar-right">
|
|
13
|
+
</div>
|
|
14
|
+
|
|
8
15
|
<div class="ae-container">
|
|
9
|
-
|
|
16
|
+
<%= content_for(:search) || render(partial: 'search/input') rescue nil %>
|
|
17
|
+
|
|
18
|
+
<div class="ae-sidebar ae-sidebar-left js-ae-sidebar">
|
|
19
|
+
<%= content_for(:sidebar) rescue nil %>
|
|
20
|
+
</div>
|
|
21
|
+
|
|
22
|
+
<div class="ae-content js-ae-content">
|
|
10
23
|
<%= yield %>
|
|
11
24
|
</div>
|
|
25
|
+
|
|
26
|
+
<footer>
|
|
27
|
+
<%= content_for(:footer) || render(partial: 'shared/footer') rescue nil %>
|
|
28
|
+
</footer>
|
|
29
|
+
|
|
12
30
|
</div>
|
|
13
31
|
</div>
|
|
14
|
-
<footer>
|
|
15
|
-
<%= content_for(:footer) || render(partial: 'shared/footer') rescue nil %>
|
|
16
|
-
</footer>
|
|
17
32
|
</body>
|
|
18
|
-
|
|
33
|
+
<% end %>
|
|
@@ -1,18 +1,22 @@
|
|
|
1
|
-
|
|
1
|
+
<%= render 'layouts/express_ui/doctype_html' do %>
|
|
2
2
|
<%= render partial: 'layouts/express_ui/head' %>
|
|
3
3
|
<body class="<%= controller_name %> <%= controller_name%>-<%= params[:action] %> <%= user_role_classes if defined?(user_role_classes) %>">
|
|
4
4
|
<header>
|
|
5
|
-
<%= content_for(:header) ||
|
|
5
|
+
<%= content_for(:header) || render(partial: 'shared/header') rescue nil %>
|
|
6
6
|
</header>
|
|
7
|
+
|
|
7
8
|
<div class="ae-template-full-width">
|
|
8
9
|
<div class="ae-container">
|
|
10
|
+
|
|
11
|
+
<%= content_for(:search) || render(partial: 'search/input') rescue nil %>
|
|
12
|
+
|
|
9
13
|
<div class="ae-content">
|
|
10
14
|
<%= yield %>
|
|
11
15
|
</div>
|
|
12
16
|
</div>
|
|
17
|
+
<footer>
|
|
18
|
+
<%= content_for(:footer) || render(partial: 'shared/footer') rescue nil %>
|
|
19
|
+
</footer>
|
|
13
20
|
</div>
|
|
14
|
-
<footer>
|
|
15
|
-
<%= content_for(:footer) || render(partial: 'shared/footer') rescue nil %>
|
|
16
|
-
</footer>
|
|
17
21
|
</body>
|
|
18
|
-
|
|
22
|
+
<% end %>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
<%= render 'layouts/express_ui/doctype_html' do %>
|
|
2
2
|
<%= render partial: 'layouts/express_ui/head' %>
|
|
3
3
|
<body class="<%= controller_name %> <%= controller_name%>-<%= params[:action] %> <%= user_role_classes if defined?(user_role_classes) %>">
|
|
4
4
|
<header>
|
|
@@ -15,4 +15,4 @@
|
|
|
15
15
|
<%= content_for(:footer) || render(partial: 'shared/footer') rescue nil %>
|
|
16
16
|
</footer>
|
|
17
17
|
</body>
|
|
18
|
-
|
|
18
|
+
<% end %>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
<%= render 'layouts/express_ui/doctype_html' do %>
|
|
2
2
|
<%= render partial: 'layouts/express_ui/head' %>
|
|
3
3
|
<body class="<%= controller_name %> <%= controller_name%>-<%= params[:action] %> <%= user_role_classes if defined?(user_role_classes) %>">
|
|
4
4
|
<header>
|
|
@@ -6,13 +6,17 @@
|
|
|
6
6
|
</header>
|
|
7
7
|
<div class="ae-template-master-detail">
|
|
8
8
|
<div class="ae-container">
|
|
9
|
+
<%= content_for(:search) || render(partial: 'search/input') rescue nil %>
|
|
10
|
+
|
|
9
11
|
<div class="ae-content">
|
|
10
12
|
<%= yield %>
|
|
11
13
|
</div>
|
|
14
|
+
|
|
15
|
+
<footer>
|
|
16
|
+
<%= content_for(:footer) || render(partial: 'shared/footer') rescue nil %>
|
|
17
|
+
</footer>
|
|
18
|
+
|
|
12
19
|
</div>
|
|
13
20
|
</div>
|
|
14
|
-
<footer>
|
|
15
|
-
<%= content_for(:footer) || render(partial: 'shared/footer') rescue nil %>
|
|
16
|
-
</footer>
|
|
17
21
|
</body>
|
|
18
|
-
|
|
22
|
+
<% end %>
|
|
@@ -1,29 +1,35 @@
|
|
|
1
|
-
|
|
1
|
+
<%= render 'layouts/express_ui/doctype_html' do %>
|
|
2
2
|
<%= render partial: 'layouts/express_ui/head' %>
|
|
3
3
|
<body class="<%= controller_name %> <%= controller_name%>-<%= params[:action] %> <%= user_role_classes if defined?(user_role_classes) %>">
|
|
4
4
|
|
|
5
5
|
<header>
|
|
6
|
-
<%= content_for(:header) || render(partial: '
|
|
6
|
+
<%= content_for(:header) || render(partial: 'shared/header') %>
|
|
7
7
|
</header>
|
|
8
8
|
|
|
9
9
|
<div class="ae-template-master-detail-fixed">
|
|
10
10
|
<a href="#" class="ae-mobile-only ae-btn ae-btn-primary ae-show-left-sidebar ae-btn-sm js-ae-show-left-sidebar"><i class="fa fa-bars"></i> Show More</a>
|
|
11
11
|
|
|
12
|
-
<div class="ae-sidebar ae-sidebar-
|
|
13
|
-
<%= content_for(:
|
|
14
|
-
</div>
|
|
15
|
-
|
|
16
|
-
<div class="js-ae-sidebar-right">
|
|
12
|
+
<div class="ae-sidebar ae-sidebar-right js-ae-sidebar-right ae-detail-view">
|
|
13
|
+
<%= content_for(:detail) rescue nil %>
|
|
17
14
|
</div>
|
|
18
15
|
|
|
19
16
|
<div class="ae-container">
|
|
17
|
+
<%= content_for(:search) || render(partial: 'search/input') rescue nil %>
|
|
18
|
+
|
|
19
|
+
<div class="ae-sidebar ae-sidebar-left js-ae-sidebar">
|
|
20
|
+
<%= content_for(:sidebar) rescue nil %>
|
|
21
|
+
</div>
|
|
22
|
+
|
|
20
23
|
<div class="ae-content">
|
|
21
24
|
<%= yield %>
|
|
22
25
|
</div>
|
|
26
|
+
|
|
27
|
+
<footer>
|
|
28
|
+
<%= content_for(:footer) || render(partial: 'express_ui/shared/footer') rescue nil %>
|
|
29
|
+
</footer>
|
|
30
|
+
|
|
23
31
|
</div>
|
|
32
|
+
|
|
24
33
|
</div>
|
|
25
|
-
<footer>
|
|
26
|
-
<%= content_for(:footer) || render(partial: 'express_ui/shared/footer') rescue nil %>
|
|
27
|
-
</footer>
|
|
28
34
|
</body>
|
|
29
|
-
|
|
35
|
+
<% end %>
|