contour 2.0.0.rc4 → 2.0.0.rc5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1293e9a056f02fbc58a5ec497be412a05013855f
|
4
|
+
data.tar.gz: 41252e2002cf3655ef1bfde32d910f67e8bc4d9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f554e2604833008eb7c164becfdc11eb04bd98a9fea9f9a4094753fe3e85fdbbc4d2a110925782677af22f0ef1c73e5f77e8372acccb37e94a74614e4c7241b
|
7
|
+
data.tar.gz: 32656a3c8d42eae4a6f1c77b4acf5a1e7f3392a25193b606cf37884f8ea404f358f863e377d58edc892d067a563035dec40ce26d23110225e2a4c49842a5f1e7
|
@@ -2,9 +2,9 @@
|
|
2
2
|
@showWaiting = (element_id, text, centered) ->
|
3
3
|
element = $(element_id)
|
4
4
|
if element && centered
|
5
|
-
element.html(
|
5
|
+
element.html("<div class='spinner-centered'><div class='spinner'>#{text}</div></div>")
|
6
6
|
else if element
|
7
|
-
element.html(
|
7
|
+
element.html("<div class='spinner'>#{text}</div>")
|
8
8
|
|
9
9
|
@flashMessage = (message, alert_type = 'success', overwrite = true) ->
|
10
10
|
div_block = "<div class='navbar-alert alert alert-#{alert_type}'><button type='button' class='close' data-dismiss='alert'>×</button>#{message}</div>"
|
@@ -0,0 +1,14 @@
|
|
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
|
+
}
|
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: 2.0.0.
|
4
|
+
version: 2.0.0.rc5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Remo Mueller
|
@@ -233,6 +233,7 @@ files:
|
|
233
233
|
- app/assets/stylesheets/contour.css
|
234
234
|
- app/assets/stylesheets/datepicker.css
|
235
235
|
- app/assets/stylesheets/jquery-ui-1.10.0.custom.css
|
236
|
+
- app/assets/stylesheets/spinner.css.erb
|
236
237
|
- app/assets/stylesheets/timepicker.css
|
237
238
|
- app/assets/stylesheets/twitter-bootstrap/bootstrap-scroll-modal.css
|
238
239
|
- app/assets/stylesheets/twitter-bootstrap/v2.3.2/bootstrap-responsive.css
|