contour 2.6.0.beta1 → 2.6.0.beta2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 173ab00eaf27734a91193fbe0c7a1d4a0c38f340
4
- data.tar.gz: f6ce37179d53f657e2e3a4b392b4fe9c82662bc6
3
+ metadata.gz: 46d44025def303c6df4d4e275fa63e98739334c0
4
+ data.tar.gz: 4a1487b5f2562c6f0f7def1796a0a3500cbd9731
5
5
  SHA512:
6
- metadata.gz: d5729612074a1713cc37f5f3cfad22daf9dc62e882bcdc59f3b76dbfb42e1cd42b8ba4063011e95d6c1a9db48df00cd2c5c964c37eeb8ab9a16d6053995d6cf3
7
- data.tar.gz: 47fb5d6edd3018c3970e89c8d288faa12546bb635bf0e4359fb17645dd02e57c812273e1511f7160b6e0b443a75bdbb6d237efb477bae51a09b6f7b82f73588c
6
+ metadata.gz: 9a1dfa5ebd05c7d899d304b9f3ebaa1a8ec8cd4b1625fc9d3c2f31a0c4781da1374a523c76f5cbe7eae2d6e65532e0d0a3625fc83e2b9003c0755ba7517d2956
7
+ data.tar.gz: 8de697ec73ad5cff0338163a0b79b37217f23a6e95b67fdd88f5ee19a5569ad99d6f6424188050473c75d1fe19f20d7cfa95b009178248a585cb3344a8d79222
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  ## 2.6.0
2
2
 
3
+ ### Breaking Changes
4
+ - Removed the `showWaiting` JavaScript function and corresponding `ajax-loader.gif` image
5
+
3
6
  ### Enhancements
4
7
  - Simplified inclusion of Bootstrap using `bootstrap-sass`
5
8
  - This allows the app to be themed by including all or parts of a modified `variables.scss` in the application's `application.css.scss` file
@@ -1,11 +1,4 @@
1
1
  # Global functions referenced from HTML
2
- @showWaiting = (element_id, text, centered) ->
3
- element = $(element_id)
4
- if element && centered
5
- element.html("<div class='spinner-centered'><div class='spinner'>#{text}</div></div>")
6
- else if element
7
- element.html("<div class='spinner'>#{text}</div>")
8
-
9
2
  @flashMessage = (message, alert_type = 'success', overwrite = true) ->
10
3
  div_block = "<div class='navbar-alert alert alert-#{alert_type}'><button type='button' class='close' data-dismiss='alert'>&times;</button>#{message}</div>"
11
4
  flash_container = $('[data-object~="flash-container"]')
@@ -1,25 +1,30 @@
1
1
  /* Base styles (regardless of theme) */
2
+
2
3
  .bs-callout {
3
4
  margin: 20px 0;
4
5
  padding: 15px 30px 15px 15px;
5
6
  border-left: 5px solid #eee;
6
7
  }
8
+
7
9
  .bs-callout h4 {
8
10
  margin-top: 0;
9
11
  font-weight: 500;
10
12
  }
13
+
11
14
  .bs-callout p:last-child {
12
15
  margin-bottom: 0;
13
16
  }
17
+
14
18
  .bs-callout code,
15
19
  .bs-callout .highlight {
16
20
  background-color: #fff;
17
21
  }
18
22
 
19
23
  /* Themes for different contexts */
24
+
20
25
  .bs-callout-danger {
21
26
  background-color: #fcf2f2;
22
- border-color: #dFb5b4;
27
+ border-color: #dfb5b4;
23
28
  }
24
29
  .bs-callout-warning {
25
30
  background-color: #fefbed;
@@ -0,0 +1,9 @@
1
+ @import 'bootstrap-sprockets';
2
+ @import 'bootstrap';
3
+
4
+ @import 'bootstrap/bs-callout';
5
+ @import 'bootstrap-overrides';
6
+ @import 'typeahead.js-bootstrap';
7
+ @import 'jquery-ui-1.10.0.custom';
8
+ @import 'datepicker';
9
+ @import 'contour/about';
@@ -3,7 +3,7 @@ module Contour
3
3
  MAJOR = 2
4
4
  MINOR = 6
5
5
  TINY = 0
6
- BUILD = "beta1" # nil, "pre", "rc", "rc2"
6
+ BUILD = "beta2" # nil, "pre", "rc", "rc2"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
9
9
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contour
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.0.beta1
4
+ version: 2.6.0.beta2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Remo Mueller
@@ -174,7 +174,6 @@ files:
174
174
  - LICENSE
175
175
  - README.md
176
176
  - Rakefile
177
- - app/assets/images/contour/ajax-loader.gif
178
177
  - app/assets/images/contour/cas_32.png
179
178
  - app/assets/images/contour/cas_64.png
180
179
  - app/assets/images/contour/facebook_32.png
@@ -209,14 +208,13 @@ files:
209
208
  - app/assets/javascripts/external/bootstrap-datepicker.js
210
209
  - app/assets/javascripts/external/jquery-ui-1.10.0.custom.min.js
211
210
  - app/assets/javascripts/external/typeahead.js
212
- - app/assets/stylesheets/bootstrap-overrides.css
213
- - app/assets/stylesheets/bootstrap/bs-callout.css
214
- - app/assets/stylesheets/contour.css.scss
215
- - app/assets/stylesheets/contour/about.css
216
- - app/assets/stylesheets/datepicker.css
217
- - app/assets/stylesheets/jquery-ui-1.10.0.custom.css
218
- - app/assets/stylesheets/spinner.css.erb
219
- - app/assets/stylesheets/typeahead.js-bootstrap.css
211
+ - app/assets/stylesheets/bootstrap-overrides.scss
212
+ - app/assets/stylesheets/bootstrap/bs-callout.scss
213
+ - app/assets/stylesheets/contour.scss
214
+ - app/assets/stylesheets/contour/about.scss
215
+ - app/assets/stylesheets/datepicker.scss
216
+ - app/assets/stylesheets/jquery-ui-1.10.0.custom.scss
217
+ - app/assets/stylesheets/typeahead.js-bootstrap.scss
220
218
  - app/controllers/contour/authentications_controller.rb
221
219
  - app/controllers/contour/confirmations_controller.rb
222
220
  - app/controllers/contour/passwords_controller.rb
@@ -1,10 +0,0 @@
1
- @import 'bootstrap-sprockets';
2
- @import 'bootstrap';
3
-
4
- @import 'bootstrap/bs-callout.css';
5
- @import 'bootstrap-overrides.css';
6
- @import 'typeahead.js-bootstrap.css';
7
- @import 'jquery-ui-1.10.0.custom.css';
8
- @import 'datepicker.css';
9
- @import 'contour/about.css';
10
- @import 'spinner.css';
@@ -1,14 +0,0 @@
1
- .spinner {
2
- background-image: url(contour/ajax-loader<%= asset_path('contour/ajax-loader.gif').split('ajax-loader').last %>);
3
- padding-left: 20px;
4
- height: 16px;
5
- background-repeat: no-repeat;
6
- line-height: 16px;
7
- font-size: 14px;
8
- white-space: nowrap;
9
- }
10
-
11
- .spinner-centered {
12
- width: 0px;
13
- margin: 0 auto;
14
- }