contour 1.0.0.beta9 → 1.0.0.beta10
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.
- data/app/assets/javascripts/contour.js +5 -4
- data/app/assets/javascripts/twitter-bootstrap/bootstrap-collapse.js +1 -1
- data/app/assets/javascripts/twitter-bootstrap/bootstrap-dropdown.js +18 -10
- data/app/assets/javascripts/twitter-bootstrap/bootstrap-modal.js +25 -17
- data/app/assets/javascripts/twitter-bootstrap/bootstrap-scroll-modal.js +234 -0
- data/app/assets/javascripts/twitter-bootstrap/bootstrap-tab.js +12 -7
- data/app/assets/stylesheets/bootstrap-responsive-overrides.css +11 -13
- data/app/assets/stylesheets/contour.css +1 -0
- data/app/assets/stylesheets/twitter-bootstrap/bootstrap-scroll-modal.css +43 -0
- data/lib/contour/version.rb +1 -1
- metadata +26 -24
@@ -4,10 +4,11 @@
|
|
4
4
|
//= require jquery
|
5
5
|
//= require jquery_ujs
|
6
6
|
//= require twitter-bootstrap/v2.0.3/bootstrap
|
7
|
-
//= require twitter-bootstrap/bootstrap-collapse
|
8
|
-
//= require twitter-bootstrap/bootstrap-dropdown
|
9
|
-
//= require twitter-bootstrap/bootstrap-modal
|
10
|
-
//= require twitter-bootstrap/bootstrap-tab
|
7
|
+
//= require twitter-bootstrap/bootstrap-collapse
|
8
|
+
//= require twitter-bootstrap/bootstrap-dropdown
|
9
|
+
//= require twitter-bootstrap/bootstrap-modal
|
10
|
+
//= require twitter-bootstrap/bootstrap-tab
|
11
|
+
//= require twitter-bootstrap/bootstrap-scroll-modal
|
11
12
|
//= require twitter-bootstrap/bootstrap
|
12
13
|
//= require external/highcharts-2.1.9.src.js
|
13
14
|
//= require external/exporting-2.1.9.src.js
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ============================================================
|
2
|
-
* bootstrap-dropdown.js v2.0.
|
2
|
+
* bootstrap-dropdown.js v2.0.3
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#dropdowns
|
4
4
|
* ============================================================
|
5
5
|
* Copyright 2012 Twitter, Inc.
|
@@ -18,15 +18,16 @@
|
|
18
18
|
* ============================================================ */
|
19
19
|
|
20
20
|
|
21
|
-
!function(
|
21
|
+
!function ($) {
|
22
|
+
|
23
|
+
"use strict"; // jshint ;_;
|
22
24
|
|
23
|
-
"use strict"
|
24
25
|
|
25
26
|
/* DROPDOWN CLASS DEFINITION
|
26
27
|
* ========================= */
|
27
28
|
|
28
29
|
var toggle = '[data-toggle="dropdown"]'
|
29
|
-
, Dropdown = function (
|
30
|
+
, Dropdown = function (element) {
|
30
31
|
var $el = $(element).on('click.dropdown.data-api', this.toggle)
|
31
32
|
$('html').on('click.dropdown.data-api', function () {
|
32
33
|
$el.parent().removeClass('open')
|
@@ -37,12 +38,16 @@
|
|
37
38
|
|
38
39
|
constructor: Dropdown
|
39
40
|
|
40
|
-
, toggle: function (
|
41
|
+
, toggle: function (e) {
|
41
42
|
var $this = $(this)
|
42
|
-
, selector = $this.attr('data-target')
|
43
43
|
, $parent
|
44
|
+
, selector
|
44
45
|
, isActive
|
45
46
|
|
47
|
+
if ($this.is('.disabled, :disabled')) return
|
48
|
+
|
49
|
+
selector = $this.attr('data-target')
|
50
|
+
|
46
51
|
if (!selector) {
|
47
52
|
selector = $this.attr('href')
|
48
53
|
selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
|
@@ -54,7 +59,8 @@
|
|
54
59
|
isActive = $parent.hasClass('open')
|
55
60
|
|
56
61
|
clearMenus()
|
57
|
-
|
62
|
+
|
63
|
+
if (!isActive) $parent.toggleClass('open')
|
58
64
|
|
59
65
|
return false
|
60
66
|
}
|
@@ -69,7 +75,7 @@
|
|
69
75
|
/* DROPDOWN PLUGIN DEFINITION
|
70
76
|
* ========================== */
|
71
77
|
|
72
|
-
$.fn.dropdown = function (
|
78
|
+
$.fn.dropdown = function (option) {
|
73
79
|
return this.each(function () {
|
74
80
|
var $this = $(this)
|
75
81
|
, data = $this.data('dropdown')
|
@@ -86,7 +92,9 @@
|
|
86
92
|
|
87
93
|
$(function () {
|
88
94
|
$('html').on('click.dropdown.data-api', clearMenus)
|
89
|
-
$('body')
|
95
|
+
$('body')
|
96
|
+
.on('click.dropdown', '.dropdown form', function (e) { e.stopPropagation() })
|
97
|
+
.on('click.dropdown.data-api', toggle, Dropdown.prototype.toggle)
|
90
98
|
})
|
91
99
|
|
92
|
-
}(
|
100
|
+
}(window.jQuery);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* =========================================================
|
2
|
-
* bootstrap-modal.js v2.0.
|
2
|
+
* bootstrap-modal.js v2.0.3
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#modals
|
4
4
|
* =========================================================
|
5
5
|
* Copyright 2012 Twitter, Inc.
|
@@ -18,14 +18,15 @@
|
|
18
18
|
* ========================================================= */
|
19
19
|
|
20
20
|
|
21
|
-
!function(
|
21
|
+
!function ($) {
|
22
|
+
|
23
|
+
"use strict"; // jshint ;_;
|
22
24
|
|
23
|
-
"use strict"
|
24
25
|
|
25
26
|
/* MODAL CLASS DEFINITION
|
26
27
|
* ====================== */
|
27
28
|
|
28
|
-
var Modal = function (
|
29
|
+
var Modal = function (content, options) {
|
29
30
|
this.options = options
|
30
31
|
this.$element = $(content)
|
31
32
|
.delegate('[data-dismiss="modal"]', 'click.dismiss.modal', $.proxy(this.hide, this))
|
@@ -41,19 +42,23 @@
|
|
41
42
|
|
42
43
|
, show: function () {
|
43
44
|
var that = this
|
45
|
+
, e = $.Event('show')
|
46
|
+
|
47
|
+
this.$element.trigger(e)
|
44
48
|
|
45
|
-
if (this.isShown) return
|
49
|
+
if (this.isShown || e.isDefaultPrevented()) return
|
46
50
|
|
47
51
|
$('body').addClass('modal-open')
|
48
52
|
|
49
53
|
this.isShown = true
|
50
|
-
this.$element.trigger('show')
|
51
54
|
|
52
55
|
escape.call(this)
|
53
56
|
backdrop.call(this, function () {
|
54
57
|
var transition = $.support.transition && that.$element.hasClass('fade')
|
55
58
|
|
56
|
-
!that.$element.parent().length
|
59
|
+
if (!that.$element.parent().length) {
|
60
|
+
that.$element.appendTo(document.body) //don't move modals dom position
|
61
|
+
}
|
57
62
|
|
58
63
|
that.$element
|
59
64
|
.show()
|
@@ -71,21 +76,24 @@
|
|
71
76
|
})
|
72
77
|
}
|
73
78
|
|
74
|
-
, hide: function (
|
79
|
+
, hide: function (e) {
|
75
80
|
e && e.preventDefault()
|
76
81
|
|
77
|
-
if (!this.isShown) return
|
78
|
-
|
79
82
|
var that = this
|
83
|
+
|
84
|
+
e = $.Event('hide')
|
85
|
+
|
86
|
+
this.$element.trigger(e)
|
87
|
+
|
88
|
+
if (!this.isShown || e.isDefaultPrevented()) return
|
89
|
+
|
80
90
|
this.isShown = false
|
81
91
|
|
82
92
|
$('body').removeClass('modal-open')
|
83
93
|
|
84
94
|
escape.call(this)
|
85
95
|
|
86
|
-
this.$element
|
87
|
-
.trigger('hide')
|
88
|
-
.removeClass('in')
|
96
|
+
this.$element.removeClass('in')
|
89
97
|
|
90
98
|
$.support.transition && this.$element.hasClass('fade') ?
|
91
99
|
hideWithTransition.call(this) :
|
@@ -111,7 +119,7 @@
|
|
111
119
|
})
|
112
120
|
}
|
113
121
|
|
114
|
-
function hideModal(
|
122
|
+
function hideModal(that) {
|
115
123
|
this.$element
|
116
124
|
.hide()
|
117
125
|
.trigger('hidden')
|
@@ -119,7 +127,7 @@
|
|
119
127
|
backdrop.call(this)
|
120
128
|
}
|
121
129
|
|
122
|
-
function backdrop(
|
130
|
+
function backdrop(callback) {
|
123
131
|
var that = this
|
124
132
|
, animate = this.$element.hasClass('fade') ? 'fade' : ''
|
125
133
|
|
@@ -173,7 +181,7 @@
|
|
173
181
|
/* MODAL PLUGIN DEFINITION
|
174
182
|
* ======================= */
|
175
183
|
|
176
|
-
$.fn.modal = function (
|
184
|
+
$.fn.modal = function (option) {
|
177
185
|
return this.each(function () {
|
178
186
|
var $this = $(this)
|
179
187
|
, data = $this.data('modal')
|
@@ -207,4 +215,4 @@
|
|
207
215
|
})
|
208
216
|
})
|
209
217
|
|
210
|
-
}(
|
218
|
+
}(window.jQuery);
|
@@ -0,0 +1,234 @@
|
|
1
|
+
/*!
|
2
|
+
* Bootstrap Scroll Modal
|
3
|
+
* Version: 1.0
|
4
|
+
* Made for your convenience by @theericanderson
|
5
|
+
* A variaton of but a small piece of the insanely awesome Twitter Bootstrap (http://twitter.github.com/bootstrap)
|
6
|
+
*/
|
7
|
+
|
8
|
+
/* =========================================================
|
9
|
+
* bootstrap-modal.js v2.0.2
|
10
|
+
* http://twitter.github.com/bootstrap/javascript.html#modals
|
11
|
+
* =========================================================
|
12
|
+
* Copyright 2012 Twitter, Inc.
|
13
|
+
*
|
14
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
15
|
+
* you may not use this file except in compliance with the License.
|
16
|
+
* You may obtain a copy of the License at
|
17
|
+
*
|
18
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
19
|
+
*
|
20
|
+
* Unless required by applicable law or agreed to in writing, software
|
21
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
22
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
23
|
+
* See the License for the specific language governing permissions and
|
24
|
+
* limitations under the License.
|
25
|
+
* ========================================================= */
|
26
|
+
|
27
|
+
|
28
|
+
!function( $ ){
|
29
|
+
|
30
|
+
"use strict"
|
31
|
+
|
32
|
+
/* MODAL CLASS DEFINITION
|
33
|
+
* ====================== */
|
34
|
+
|
35
|
+
var Modal = function ( content, options ) {
|
36
|
+
this.options = options
|
37
|
+
this.$element = $(content)
|
38
|
+
}
|
39
|
+
|
40
|
+
Modal.prototype = {
|
41
|
+
|
42
|
+
constructor: Modal
|
43
|
+
|
44
|
+
, toggle: function () {
|
45
|
+
return this[!this.isShown ? 'show' : 'hide']()
|
46
|
+
}
|
47
|
+
|
48
|
+
, show: function () {
|
49
|
+
var that = this
|
50
|
+
|
51
|
+
if (this.isShown) return
|
52
|
+
|
53
|
+
$('body').addClass('modal-open')
|
54
|
+
|
55
|
+
this.isShown = true
|
56
|
+
this.$element.trigger('show')
|
57
|
+
|
58
|
+
escape.call(this)
|
59
|
+
backdrop.call(this, function () {
|
60
|
+
var transition = $.support.transition && that.$element.hasClass('fade')
|
61
|
+
|
62
|
+
!that.$element.parent().length && that.$element.appendTo(document.body) //don't move modals dom position
|
63
|
+
|
64
|
+
that.$element
|
65
|
+
.show()
|
66
|
+
|
67
|
+
if (transition) {
|
68
|
+
that.$element[0].offsetWidth // force reflow
|
69
|
+
}
|
70
|
+
|
71
|
+
that.$element.addClass('in')
|
72
|
+
|
73
|
+
transition ?
|
74
|
+
that.$element.one($.support.transition.end, function () { that.$element.trigger('shown') }) :
|
75
|
+
that.$element.trigger('shown')
|
76
|
+
|
77
|
+
})
|
78
|
+
}
|
79
|
+
|
80
|
+
, hide: function ( e ) {
|
81
|
+
e && e.preventDefault()
|
82
|
+
|
83
|
+
if (!this.isShown) return
|
84
|
+
|
85
|
+
var that = this
|
86
|
+
this.isShown = false
|
87
|
+
|
88
|
+
$('body').removeClass('modal-open')
|
89
|
+
|
90
|
+
escape.call(this)
|
91
|
+
|
92
|
+
this.$element
|
93
|
+
.trigger('hide')
|
94
|
+
.removeClass('in')
|
95
|
+
|
96
|
+
$.support.transition && this.$element.hasClass('fade') ?
|
97
|
+
hideWithTransition.call(this) :
|
98
|
+
hideModal.call(this)
|
99
|
+
}
|
100
|
+
|
101
|
+
}
|
102
|
+
|
103
|
+
|
104
|
+
/* MODAL PRIVATE METHODS
|
105
|
+
* ===================== */
|
106
|
+
|
107
|
+
function hideWithTransition() {
|
108
|
+
var that = this
|
109
|
+
, timeout = setTimeout(function () {
|
110
|
+
that.$element.off($.support.transition.end)
|
111
|
+
hideModal.call(that)
|
112
|
+
}, 500)
|
113
|
+
|
114
|
+
this.$element.one($.support.transition.end, function () {
|
115
|
+
clearTimeout(timeout)
|
116
|
+
hideModal.call(that)
|
117
|
+
})
|
118
|
+
}
|
119
|
+
|
120
|
+
function hideModal( that ) {
|
121
|
+
this.$element
|
122
|
+
.hide()
|
123
|
+
.trigger('hidden')
|
124
|
+
|
125
|
+
backdrop.call(this)
|
126
|
+
}
|
127
|
+
|
128
|
+
function backdrop( callback ) {
|
129
|
+
var that = this
|
130
|
+
, animate = this.$element.hasClass('fade') ? 'fade' : ''
|
131
|
+
|
132
|
+
if (this.isShown && this.options.backdrop) {
|
133
|
+
var doAnimate = $.support.transition && animate
|
134
|
+
|
135
|
+
this.$backdrop = $('<div class="modal-backdrop ' + animate + '" />')
|
136
|
+
.insertBefore(this.$element)
|
137
|
+
|
138
|
+
if (this.options.dynamic) {
|
139
|
+
this.$elementWrapper = $('<div class="modal-wrapper" />')
|
140
|
+
.prependTo(this.$backdrop)
|
141
|
+
.delegate('[data-dismiss="modal"]', 'click.dismiss.modal', $.proxy(this.hide, this))
|
142
|
+
this.$element.prependTo(this.$elementWrapper)
|
143
|
+
} else {
|
144
|
+
this.$element.prependTo(this.$backdrop)
|
145
|
+
.delegate('[data-dismiss="modal"]', 'click.dismiss.modal', $.proxy(this.hide, this))
|
146
|
+
}
|
147
|
+
|
148
|
+
$('html').css({ 'overflow' : 'hidden' })
|
149
|
+
|
150
|
+
if (this.options.backdrop != 'static') {
|
151
|
+
this.$backdrop.on('click', function(e){
|
152
|
+
if (e.target == e.delegateTarget) {
|
153
|
+
that.hide(e)
|
154
|
+
}
|
155
|
+
})
|
156
|
+
}
|
157
|
+
|
158
|
+
if (doAnimate) this.$backdrop[0].offsetWidth // force reflow
|
159
|
+
|
160
|
+
this.$backdrop.addClass('in')
|
161
|
+
|
162
|
+
doAnimate ?
|
163
|
+
this.$backdrop.one($.support.transition.end, callback) :
|
164
|
+
callback()
|
165
|
+
|
166
|
+
} else if (!this.isShown && this.$backdrop) {
|
167
|
+
this.$backdrop.removeClass('in')
|
168
|
+
|
169
|
+
$.support.transition && this.$element.hasClass('fade')?
|
170
|
+
this.$backdrop.one($.support.transition.end, $.proxy(removeBackdrop, this)) :
|
171
|
+
removeBackdrop.call(this)
|
172
|
+
|
173
|
+
} else if (callback) {
|
174
|
+
callback()
|
175
|
+
}
|
176
|
+
}
|
177
|
+
|
178
|
+
function removeBackdrop() {
|
179
|
+
this.$element.insertAfter(this.$backdrop)
|
180
|
+
this.$backdrop.remove()
|
181
|
+
this.$backdrop = null
|
182
|
+
$('html').css({ 'overflow' : 'auto' })
|
183
|
+
}
|
184
|
+
|
185
|
+
function escape() {
|
186
|
+
var that = this
|
187
|
+
if (this.isShown && this.options.keyboard) {
|
188
|
+
$(document).on('keyup.dismiss.modal', function ( e ) {
|
189
|
+
e.which == 27 && that.hide()
|
190
|
+
})
|
191
|
+
} else if (!this.isShown) {
|
192
|
+
$(document).off('keyup.dismiss.modal')
|
193
|
+
}
|
194
|
+
}
|
195
|
+
|
196
|
+
|
197
|
+
/* MODAL PLUGIN DEFINITION
|
198
|
+
* ======================= */
|
199
|
+
|
200
|
+
$.fn.modal = function ( option ) {
|
201
|
+
return this.each(function () {
|
202
|
+
var $this = $(this)
|
203
|
+
, data = $this.data('modal')
|
204
|
+
, options = $.extend({}, $.fn.modal.defaults, $this.data(), typeof option == 'object' && option)
|
205
|
+
if (!data) $this.data('modal', (data = new Modal(this, options)))
|
206
|
+
if (typeof option == 'string') data[option]()
|
207
|
+
else if (options.show) data.show()
|
208
|
+
})
|
209
|
+
}
|
210
|
+
|
211
|
+
$.fn.modal.defaults = {
|
212
|
+
backdrop: true
|
213
|
+
, keyboard: true
|
214
|
+
, show: true
|
215
|
+
}
|
216
|
+
|
217
|
+
$.fn.modal.Constructor = Modal
|
218
|
+
|
219
|
+
|
220
|
+
/* MODAL DATA-API
|
221
|
+
* ============== */
|
222
|
+
|
223
|
+
$(function () {
|
224
|
+
$('body').on('click.modal.data-api', '[data-toggle="modal"]', function ( e ) {
|
225
|
+
var $this = $(this), href
|
226
|
+
, $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
|
227
|
+
, option = $target.data('modal') ? 'toggle' : $.extend({}, $target.data(), $this.data())
|
228
|
+
|
229
|
+
e.preventDefault()
|
230
|
+
$target.modal(option)
|
231
|
+
})
|
232
|
+
})
|
233
|
+
|
234
|
+
}( window.jQuery );
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* ========================================================
|
2
|
-
* bootstrap-tab.js v2.0.
|
2
|
+
* bootstrap-tab.js v2.0.3
|
3
3
|
* http://twitter.github.com/bootstrap/javascript.html#tabs
|
4
4
|
* ========================================================
|
5
5
|
* Copyright 2012 Twitter, Inc.
|
@@ -18,9 +18,10 @@
|
|
18
18
|
* ======================================================== */
|
19
19
|
|
20
20
|
|
21
|
-
!function(
|
21
|
+
!function ($) {
|
22
|
+
|
23
|
+
"use strict"; // jshint ;_;
|
22
24
|
|
23
|
-
"use strict"
|
24
25
|
|
25
26
|
/* TAB CLASS DEFINITION
|
26
27
|
* ==================== */
|
@@ -39,6 +40,7 @@
|
|
39
40
|
, selector = $this.attr('data-target')
|
40
41
|
, previous
|
41
42
|
, $target
|
43
|
+
, e
|
42
44
|
|
43
45
|
if (!selector) {
|
44
46
|
selector = $this.attr('href')
|
@@ -49,11 +51,14 @@
|
|
49
51
|
|
50
52
|
previous = $ul.find('.active a').last()[0]
|
51
53
|
|
52
|
-
|
53
|
-
|
54
|
-
, relatedTarget: previous
|
54
|
+
e = $.Event('show', {
|
55
|
+
relatedTarget: previous
|
55
56
|
})
|
56
57
|
|
58
|
+
$this.trigger(e)
|
59
|
+
|
60
|
+
if (e.isDefaultPrevented()) return
|
61
|
+
|
57
62
|
$target = $(selector)
|
58
63
|
|
59
64
|
this.activate($this.parent('li'), $ul)
|
@@ -127,4 +132,4 @@
|
|
127
132
|
})
|
128
133
|
})
|
129
134
|
|
130
|
-
}(
|
135
|
+
}(window.jQuery);
|
@@ -6,17 +6,15 @@ dt, dd {
|
|
6
6
|
min-height: 40px;
|
7
7
|
}
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
margin-left: 30px;
|
9
|
+
@media (max-width: 480px) {
|
10
|
+
.modal-wrapper {
|
11
|
+
position: absolute;
|
12
|
+
top: 10px;
|
13
|
+
right: 10px;
|
14
|
+
left: 10px;
|
15
|
+
width: auto;
|
16
|
+
margin: 0;
|
17
|
+
z-index: 1050;
|
18
|
+
overflow: visible;
|
19
|
+
}
|
21
20
|
}
|
22
|
-
*/
|
@@ -5,6 +5,7 @@
|
|
5
5
|
*= require_self
|
6
6
|
*= require twitter-bootstrap/v2.0.3/bootstrap
|
7
7
|
*= require bootstrap-base-overrides
|
8
|
+
*= require twitter-bootstrap/bootstrap-scroll-modal
|
8
9
|
*= require twitter-bootstrap/v2.0.3/bootstrap-responsive
|
9
10
|
*= require bootstrap-responsive-overrides
|
10
11
|
*= require jquery-ui-1.8.10.custom
|
@@ -0,0 +1,43 @@
|
|
1
|
+
/*!
|
2
|
+
* Bootstrap Scroll Modal
|
3
|
+
* Version: 1.0
|
4
|
+
* Made for your convenience by @theericanderson
|
5
|
+
* A variaton of but a small piece of the insanely awesome Twitter Bootstrap (http://twitter.github.com/bootstrap)
|
6
|
+
*/
|
7
|
+
|
8
|
+
.modal-backdrop {
|
9
|
+
overflow-x: hidden;
|
10
|
+
overflow-y: auto;
|
11
|
+
background-color: rgba(0, 0, 0, 0.8);
|
12
|
+
}
|
13
|
+
.modal-backdrop.fade {
|
14
|
+
background-color: rgba(0, 0, 0, 0.0);
|
15
|
+
}
|
16
|
+
.modal-backdrop,
|
17
|
+
.modal-backdrop.fade.in {
|
18
|
+
background: rgba(0, 0, 0, 0.8);
|
19
|
+
}
|
20
|
+
.modal-backdrop, .modal-backdrop.fade, .modal-backdrop.fade.in {
|
21
|
+
opacity: 1.0;
|
22
|
+
filter: alpha(opacity=100);
|
23
|
+
}
|
24
|
+
.modal-wrapper {
|
25
|
+
position: absolute;
|
26
|
+
top: 50px;
|
27
|
+
left: 50%;
|
28
|
+
z-index: 1050;
|
29
|
+
width: 560px;
|
30
|
+
margin-left: -280px;
|
31
|
+
padding-bottom: 80px;
|
32
|
+
overflow: visible;
|
33
|
+
}
|
34
|
+
.modal-wrapper .modal {
|
35
|
+
position: static;
|
36
|
+
margin: 0;
|
37
|
+
z-index: 1060;
|
38
|
+
}
|
39
|
+
/* Some different styling for dynamic height modals */
|
40
|
+
.modal-wrapper .modal .modal-body {
|
41
|
+
overflow-y: visible;
|
42
|
+
max-height: none;
|
43
|
+
}
|
data/lib/contour/version.rb
CHANGED
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: 1.0.0.
|
4
|
+
version: 1.0.0.beta10
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-05-
|
12
|
+
date: 2012-05-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &70259172276980 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 3.2.3
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70259172276980
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: jquery-rails
|
27
|
-
requirement: &
|
27
|
+
requirement: &70259172272680 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 2.0.2
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70259172272680
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: devise
|
38
|
-
requirement: &
|
38
|
+
requirement: &70259172270540 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 2.0.4
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70259172270540
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: omniauth
|
49
|
-
requirement: &
|
49
|
+
requirement: &70259172267600 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: 1.0.3
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70259172267600
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: omniauth-openid
|
60
|
-
requirement: &
|
60
|
+
requirement: &70259172265620 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ~>
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: 1.0.1
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70259172265620
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: omniauth-ldap
|
71
|
-
requirement: &
|
71
|
+
requirement: &70259172264060 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ~>
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: 1.0.2
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *70259172264060
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: omniauth-twitter
|
82
|
-
requirement: &
|
82
|
+
requirement: &70259172263040 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ~>
|
@@ -87,10 +87,10 @@ dependencies:
|
|
87
87
|
version: 0.0.11
|
88
88
|
type: :runtime
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *70259172263040
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: omniauth-facebook
|
93
|
-
requirement: &
|
93
|
+
requirement: &70259172261840 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
96
|
- - ~>
|
@@ -98,10 +98,10 @@ dependencies:
|
|
98
98
|
version: 1.2.0
|
99
99
|
type: :runtime
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *70259172261840
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: omniauth-linkedin
|
104
|
-
requirement: &
|
104
|
+
requirement: &70259172261020 !ruby/object:Gem::Requirement
|
105
105
|
none: false
|
106
106
|
requirements:
|
107
107
|
- - ~>
|
@@ -109,10 +109,10 @@ dependencies:
|
|
109
109
|
version: 0.0.6
|
110
110
|
type: :runtime
|
111
111
|
prerelease: false
|
112
|
-
version_requirements: *
|
112
|
+
version_requirements: *70259172261020
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: omniauth-cas
|
115
|
-
requirement: &
|
115
|
+
requirement: &70259172259820 !ruby/object:Gem::Requirement
|
116
116
|
none: false
|
117
117
|
requirements:
|
118
118
|
- - ~>
|
@@ -120,10 +120,10 @@ dependencies:
|
|
120
120
|
version: 0.0.6
|
121
121
|
type: :runtime
|
122
122
|
prerelease: false
|
123
|
-
version_requirements: *
|
123
|
+
version_requirements: *70259172259820
|
124
124
|
- !ruby/object:Gem::Dependency
|
125
125
|
name: sqlite3
|
126
|
-
requirement: &
|
126
|
+
requirement: &70259172258700 !ruby/object:Gem::Requirement
|
127
127
|
none: false
|
128
128
|
requirements:
|
129
129
|
- - ! '>='
|
@@ -131,7 +131,7 @@ dependencies:
|
|
131
131
|
version: '0'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
|
-
version_requirements: *
|
134
|
+
version_requirements: *70259172258700
|
135
135
|
description: Basic Rails Framework files and assets for layout and authentication
|
136
136
|
email: remosm@gmail.com
|
137
137
|
executables: []
|
@@ -423,6 +423,7 @@ files:
|
|
423
423
|
- app/assets/javascripts/twitter-bootstrap/bootstrap-collapse.js
|
424
424
|
- app/assets/javascripts/twitter-bootstrap/bootstrap-dropdown.js
|
425
425
|
- app/assets/javascripts/twitter-bootstrap/bootstrap-modal.js
|
426
|
+
- app/assets/javascripts/twitter-bootstrap/bootstrap-scroll-modal.js
|
426
427
|
- app/assets/javascripts/twitter-bootstrap/bootstrap-tab.js
|
427
428
|
- app/assets/javascripts/twitter-bootstrap/bootstrap.js.coffee
|
428
429
|
- app/assets/javascripts/twitter-bootstrap/v2.0.3/bootstrap.js
|
@@ -432,6 +433,7 @@ files:
|
|
432
433
|
- app/assets/stylesheets/contour.css
|
433
434
|
- app/assets/stylesheets/jquery-ui-1.8.10.custom.css
|
434
435
|
- app/assets/stylesheets/jquery.qtip.css
|
436
|
+
- app/assets/stylesheets/twitter-bootstrap/bootstrap-scroll-modal.css
|
435
437
|
- app/assets/stylesheets/twitter-bootstrap/v2.0.3/bootstrap-responsive.css
|
436
438
|
- app/assets/stylesheets/twitter-bootstrap/v2.0.3/bootstrap.css
|
437
439
|
- app/controllers/contour/authentications_controller.rb
|