woople-theme 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/stylesheets/woople-theme/dashboard/essentials-section.css.less +16 -5
- data/app/presenters/woople_theme/dashboard/essentials_section_presenter.rb +6 -0
- data/app/views/dashboard/_essentials_section.html.erb +12 -1
- data/config/locales/en.yml +3 -0
- data/lib/woople-theme/version.rb +1 -1
- metadata +2 -2
@@ -1,13 +1,24 @@
|
|
1
1
|
@import "woople-theme/variables.css.less";
|
2
2
|
|
3
3
|
#essentials-section {
|
4
|
-
padding-left:@contentPadding;
|
5
|
-
padding-right:@contentPadding;
|
6
|
-
margin-top:0;
|
7
|
-
margin-bottom:0;
|
8
|
-
padding-top:@contentPadding;
|
9
4
|
|
10
5
|
h2 {
|
6
|
+
padding-left:@contentPadding;
|
7
|
+
padding-right:@contentPadding;
|
8
|
+
margin-top:0;
|
9
|
+
margin-bottom:0;
|
10
|
+
padding-top:@contentPadding;
|
11
11
|
.section-title();
|
12
12
|
}
|
13
|
+
|
14
|
+
.tab-pane {
|
15
|
+
background-color: white;
|
16
|
+
}
|
17
|
+
.nav-tabs li:first-child {
|
18
|
+
margin-left: 10px;
|
19
|
+
}
|
20
|
+
.nav {
|
21
|
+
margin-bottom: 0;
|
22
|
+
}
|
23
|
+
|
13
24
|
}
|
@@ -1,6 +1,17 @@
|
|
1
1
|
<% essentials_section.render do %>
|
2
2
|
<section id="<%= essentials_section.css_id %>">
|
3
3
|
<h2><%= essentials_section.title %></h2>
|
4
|
-
|
4
|
+
<ul class="nav nav-tabs">
|
5
|
+
<% essentials_section.render_remaining do %>
|
6
|
+
<li class="active"><a href="#" data-toggle="tab"><%=t('woople_theme.dashboard.essentials.remaining')%></a></li>
|
7
|
+
<% end %>
|
8
|
+
</ul>
|
9
|
+
<div class="tab-content">
|
10
|
+
<% essentials_section.render_remaining do %>
|
11
|
+
<div class="tab-pane active" id="essentials_remaining">
|
12
|
+
<%= content_items(essentials_section.essentials_remaining) %>
|
13
|
+
</div>
|
14
|
+
<% end %>
|
15
|
+
</div>
|
5
16
|
</section>
|
6
17
|
<% end %>
|
data/config/locales/en.yml
CHANGED
@@ -54,6 +54,9 @@ en:
|
|
54
54
|
one: 1 unanswered question
|
55
55
|
other: '%{count} unanswered questions'
|
56
56
|
submit_assessment: Submit Assessment
|
57
|
+
dashboard:
|
58
|
+
essentials:
|
59
|
+
remaining: Remaining
|
57
60
|
search_results_more: See All >
|
58
61
|
logged_in_as: Logged in as
|
59
62
|
impersonating: impersonating
|
data/lib/woople-theme/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: woople-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-08-
|
12
|
+
date: 2012-08-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|