caboose-cms 0.2.85 → 0.2.86
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/app/assets/javascripts/caboose/modal_integration.js +24 -11
- data/lib/caboose/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZjcyMDc0ODUzNzNmYWYxY2MzMjk1NjA1NDQzY2EyYTc4YjQyN2Q1OA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MTcyYTdmMjM2YjkzZWVhOWFlMWU3MjJkMWFiOTg5NzA3ZGY5YmM0Zg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
N2Q4MzI1YmJjZDdlNzNmNGU4NmUwMzNjNjcwNTI2YzVlM2MyMGVhYTBhOTQ1
|
10
|
+
M2EzYzQ2YWJmYmZhYjA0YzkwYThmNmI3MDQ4Y2MxOWVjNjNmN2IyNWI5ZDA0
|
11
|
+
MzM0MzYzNmEyYWI0NjQzZDEzZmJjZjhlN2E2NDlhYjkyZGFkYzE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MDI3MjFiYjFkNmMwN2IyMTNkZmNiMjhmMTI3ZjJkZjI0NDRjNjVlZGFiNGVi
|
14
|
+
ZDgzZmU3YzA2MWVkMGFiNGFhNDRhNzZlMjJiYjUwYzk1ZjQ1ZDhjMzgzZGM3
|
15
|
+
ZDk2MGQ3NTQ0MTlmMTUwZDhjMGNjZTMwMDQ4MjExOTZjMDdiYzg=
|
@@ -42,12 +42,31 @@ CabooseModal.prototype = {
|
|
42
42
|
};
|
43
43
|
|
44
44
|
$(document).ready(function() {
|
45
|
-
|
46
|
-
|
47
|
-
|
45
|
+
caboose_modal('caboose_login');
|
46
|
+
caboose_modal('caboose_register');
|
47
|
+
caboose_modal('caboose_station');
|
48
|
+
//$('#caboose_login' ).colorbox({ iframe: true, initialWidth: 400, initialHeight: 200, innerWidth: 400, innerHeight: 200, scrolling: false, transition: 'fade', closeButton: false, onComplete: fix_colorbox, opacity: 0.50 });
|
49
|
+
//$('#caboose_register' ).colorbox({ iframe: true, initialWidth: 400, initialHeight: 324, innerWidth: 400, innerHeight: 324, scrolling: false, transition: 'fade', closeButton: false, onComplete: fix_colorbox, opacity: 0.50 });
|
50
|
+
//$('#caboose_station' ).colorbox({ iframe: true, initialWidth: 200, initialHeight: 50, innerWidth: 200, innerHeight: 50, scrolling: false, transition: 'fade', closeButton: false, onComplete: fix_colorbox, opacity: 0.50 });
|
48
51
|
});
|
49
52
|
|
50
|
-
function
|
53
|
+
function caboose_modal(el)
|
54
|
+
{
|
55
|
+
$('#'+el).colorbox({
|
56
|
+
iframe: true,
|
57
|
+
initialWidth: 400,
|
58
|
+
initialHeight: 200,
|
59
|
+
innerWidth: 400,
|
60
|
+
innerHeight: 200,
|
61
|
+
scrolling: false,
|
62
|
+
transition: 'fade',
|
63
|
+
closeButton: false,
|
64
|
+
onComplete: caboose_fix_colorbox,
|
65
|
+
opacity: 0.50
|
66
|
+
});
|
67
|
+
}
|
68
|
+
|
69
|
+
function caboose_fix_colorbox() {
|
51
70
|
var padding = 21; // 21 is default
|
52
71
|
$("#cboxTopLeft" ).css('background', '#111');
|
53
72
|
$("#cboxTopRight" ).css('background', '#111');
|
@@ -57,11 +76,5 @@ function fix_colorbox() {
|
|
57
76
|
$("#cboxMiddleRight" ).css('background', '#111');
|
58
77
|
$("#cboxTopCenter" ).css('background', '#111');
|
59
78
|
$("#cboxBottomCenter" ).css('background', '#111');
|
60
|
-
$("#cboxClose" ).hide();
|
61
|
-
|
62
|
-
//var p = (padding-21)*2;
|
63
|
-
//$("#cboxWrapper" ).css('padding', '0 ' + p + ' ' + p + ' 0');
|
64
|
-
//$('#cboxLoadedContent').css('margin-bottom', 0);
|
65
|
-
//h = $('#cboxLoadedContent').height();
|
66
|
-
//$('#cboxLoadedContent').css('height', ''+(h+28)+'px');
|
79
|
+
$("#cboxClose" ).hide();
|
67
80
|
}
|
data/lib/caboose/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: caboose-cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.86
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Barry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-11-
|
11
|
+
date: 2013-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|