simple_drilldown 0.9.0 → 0.9.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f1987db21273c12d879bae55633fd337003d7ced07c152a09e9269f88d8928af
4
- data.tar.gz: b6e9149cbcc597a3e407aac96936c77956c9489d87a4ec14beb225d6e993cbc4
3
+ metadata.gz: b38f18e3e6bd96a64ec6dfee0ad36d067d76a2a2069d468efc29f9a8d222e9d5
4
+ data.tar.gz: f17ea328823a47247fa81317541ce6712fb6e97695292d09723670e13267cd69
5
5
  SHA512:
6
- metadata.gz: b7325de41bc98a3b712d8a9cdf4c52099208d35e1026cff81a4c75be4bd2e33933000bc6f0df9aceb36ce0979826cc3819fac444f0f1ec1626c964aa31aca167
7
- data.tar.gz: a2185eeda0623ece2aca690e92419cdc7821f18321e4c4cd6a7d02b4159ba0e970739f5df1928661d244d84b9eaacd1371974dbaeb84d618718fb4b4a2b7e71d
6
+ metadata.gz: ea2e3464984b2e37263c525313230e0dfdcfb2b068ae16af9c5ab59102a82f119ddd00509f9e05be5ac99ebccfb89796fb71d662448be7ddd2c1ccbe8d514a56
7
+ data.tar.gz: 7897b10ac69bb8e5b85c094650b81e3467be21ef18e74866d897d52d7992af751b7436526a1dd7e705fd3895f67797e1afa330ed165d1154b22232ceb95b144c
@@ -16,6 +16,14 @@
16
16
  end
17
17
  %>
18
18
 
19
+ <%= render '/drilldown/tab_buttons', form: form %>
20
+
21
+ <div id="drilldown_area">
22
+ <h2><%= caption %></h2>
23
+ <h3><%= subcaption %></h3>
24
+ <br/>
25
+ </div>
26
+
19
27
  <%
20
28
  case @search.display_type
21
29
  when SimpleDrilldown::Search::DisplayType::PIE
@@ -25,12 +33,6 @@
25
33
  <%= column_chart data, height: '24rem' %>
26
34
  <% when SimpleDrilldown::Search::DisplayType::LINE %>
27
35
  <%= line_chart data, height: '24rem' %>
28
- <% else %>
29
- <div id="drilldown_area">
30
- <h2><%= caption %></h2>
31
- <h3><%= subcaption %></h3>
32
- <br/>
33
- </div>
34
36
  <% end %>
35
37
 
36
38
  <div id="drilldown_search_area" style="margin-left: auto; margin-right: auto; text-align: center">
@@ -1,5 +1,4 @@
1
- <div style="float:right">
2
- <%= form.submit t(:search), class: 'btn btn-default' %>
3
- <a href="<%= url_for() %>" class="btn btn-default"><%= t :reset %></a>
1
+ <div class="float-right">
2
+ <%= form.submit t(:search), class: 'btn btn-primary' %>
3
+ <a href="<%= url_for %>" class="btn btn-warning"><%= t :reset %></a>
4
4
  </div>
5
- <br clear="right"/>
@@ -1,16 +1,15 @@
1
- <% @page_title = "#{caption} #{subcaption}" %>
2
1
  <%= javascript_include_tag 'chartkick' %>
3
2
  <%= stylesheet_link_tag 'simple_drilldown/application' %>
4
- <style type="text/css">
5
- table#drill_down_layout > tbody > tr > td {
6
- border: none;
7
- font-size: 13px
8
- }
3
+ <style>
4
+ table#drill_down_layout > tbody > tr > td {
5
+ border: none;
6
+ font-size: 13px
7
+ }
9
8
 
10
- table#drill_down_layout td {
11
- padding: 2px;
12
- line-height: 18px
13
- }
9
+ table#drill_down_layout td {
10
+ padding: 2px;
11
+ line-height: 18px
12
+ }
14
13
  </style>
15
14
 
16
15
  <%= form_for @search, html: { id: 'edit_search_SEARCH', method: :get, class: :search, style: 'background: inherit', onsubmit: 'return this.submit()' }, url: {} do |form| %>
@@ -26,11 +25,9 @@
26
25
  <!-- Tab panes -->
27
26
  <div class="tab-content">
28
27
  <div class="tab-pane active" id="filter">
29
- <%= render '/drilldown/tab_buttons', form: form %>
30
28
  <%= render '/drilldown/filter', form: form %>
31
29
  </div>
32
30
  <div class="tab-pane" id="fields">
33
- <%= render '/drilldown/tab_buttons', form: form %>
34
31
  <%= render '/drilldown/fields', form: form %>
35
32
  </div>
36
33
  </div>
@@ -1,3 +1,3 @@
1
1
  module SimpleDrilldown
2
- VERSION = '0.9.0'
2
+ VERSION = '0.9.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_drilldown
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Uwe Kubosch