contour 2.6.0.beta1 → 2.6.0.beta2
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/CHANGELOG.md +3 -0
- data/app/assets/javascripts/contour/global.js.coffee +0 -7
- data/app/assets/stylesheets/{bootstrap-overrides.css → bootstrap-overrides.scss} +0 -0
- data/app/assets/stylesheets/bootstrap/{bs-callout.css → bs-callout.scss} +6 -1
- data/app/assets/stylesheets/contour.scss +9 -0
- data/app/assets/stylesheets/contour/{about.css → about.scss} +0 -0
- data/app/assets/stylesheets/{datepicker.css → datepicker.scss} +0 -0
- data/app/assets/stylesheets/{jquery-ui-1.10.0.custom.css → jquery-ui-1.10.0.custom.scss} +0 -0
- data/app/assets/stylesheets/{typeahead.js-bootstrap.css → typeahead.js-bootstrap.scss} +0 -0
- data/lib/contour/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- metadata +8 -10
- data/app/assets/images/contour/ajax-loader.gif +0 -0
- data/app/assets/stylesheets/contour.css.scss +0 -10
- data/app/assets/stylesheets/spinner.css.erb +0 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46d44025def303c6df4d4e275fa63e98739334c0
|
4
|
+
data.tar.gz: 4a1487b5f2562c6f0f7def1796a0a3500cbd9731
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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'>×</button>#{message}</div>"
|
11
4
|
flash_container = $('[data-object~="flash-container"]')
|
File without changes
|
@@ -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: #
|
27
|
+
border-color: #dfb5b4;
|
23
28
|
}
|
24
29
|
.bs-callout-warning {
|
25
30
|
background-color: #fefbed;
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/contour/version.rb
CHANGED
data/test/dummy/db/test.sqlite3
CHANGED
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.
|
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.
|
213
|
-
- app/assets/stylesheets/bootstrap/bs-callout.
|
214
|
-
- app/assets/stylesheets/contour.
|
215
|
-
- app/assets/stylesheets/contour/about.
|
216
|
-
- app/assets/stylesheets/datepicker.
|
217
|
-
- app/assets/stylesheets/jquery-ui-1.10.0.custom.
|
218
|
-
- app/assets/stylesheets/
|
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
|
Binary file
|
@@ -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
|
-
}
|