common-dialogs 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/app/assets/images/common-dialogs-confirm.png +0 -0
- data/app/assets/images/common-dialogs-error.png +0 -0
- data/app/assets/images/common-dialogs-message.png +0 -0
- data/{lib → app}/assets/javascripts/common-dialogs.js.coffee +1 -1
- data/{lib → app}/assets/stylesheets/common-dialogs.scss +3 -3
- data/lib/common-dialogs/version.rb +1 -1
- metadata +16 -28
- data/lib/assets/images/common-dialogs-confirm.gif +0 -0
- data/lib/assets/images/common-dialogs-error.gif +0 -0
- data/lib/assets/images/common-dialogs-message.gif +0 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: c4e8274290d528b51cf2e9ab3b426477c28e12f6
|
4
|
+
data.tar.gz: bd95d15bdcdb9c25436516eb02441018fa705bc4
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 3c4d1fd46f98afccc9fa48b057670a4a6a6ec68b76a63259d9a23583be02bb37c7b52acc8a5d5200c5afd2ef82cdc0fa2d1bc02524825315f6dfab41483477ed
|
7
|
+
data.tar.gz: 0b52621c1cf43e0463ef16dbc61b919cfc182b5aec5f65c79b217ffeb4808e4ceacec36ef97499db77f61ccc1ba0f33d8443191ed9d19a81c29fa289b2283255
|
Binary file
|
Binary file
|
Binary file
|
@@ -39,7 +39,7 @@ CD = @CommonDialogs =
|
|
39
39
|
inputDialog: (message, onConfirm, options={})->
|
40
40
|
options.required ?= true
|
41
41
|
content = $('<div class=input-dialog />')
|
42
|
-
.append($('<div class=message/>').text message)
|
42
|
+
.append($('<div class=common-dialogs-message/>').text message)
|
43
43
|
.append(input = $('<input type=text />'))
|
44
44
|
input.val options.initialValue
|
45
45
|
input.keydown (ev)->
|
@@ -4,15 +4,15 @@ div.alert-dialog, div.confirm-dialog, div.input-dialog {
|
|
4
4
|
}
|
5
5
|
|
6
6
|
div.alert-dialog {
|
7
|
-
background: image-url('common-dialogs-message.
|
7
|
+
background: image-url('common-dialogs-message.png') no-repeat left;
|
8
8
|
}
|
9
9
|
|
10
10
|
div.alert-dialog.error {
|
11
|
-
background-image: image-url('common-dialogs-error.
|
11
|
+
background-image: image-url('common-dialogs-error.png');
|
12
12
|
}
|
13
13
|
|
14
14
|
div.confirm-dialog, div.input-dialog {
|
15
|
-
background: image-url('common-dialogs-confirm.
|
15
|
+
background: image-url('common-dialogs-confirm.png') no-repeat left;
|
16
16
|
}
|
17
17
|
|
18
18
|
div.input-dialog input {
|
metadata
CHANGED
@@ -1,46 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: common-dialogs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.3
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Rodrigo Rosenfeld Rosas
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2013-03-26 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: jquery-rails
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: coffee-rails
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '0'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '0'
|
46
41
|
description: Provide non-blocking (asynchronous) alert, confirm and prompt for JavaScript
|
@@ -51,12 +46,12 @@ executables: []
|
|
51
46
|
extensions: []
|
52
47
|
extra_rdoc_files: []
|
53
48
|
files:
|
49
|
+
- app/assets/javascripts/common-dialogs.js.coffee
|
50
|
+
- app/assets/images/common-dialogs-message.png
|
51
|
+
- app/assets/images/common-dialogs-error.png
|
52
|
+
- app/assets/images/common-dialogs-confirm.png
|
53
|
+
- app/assets/stylesheets/common-dialogs.scss
|
54
54
|
- lib/common-dialogs/version.rb
|
55
|
-
- lib/assets/javascripts/common-dialogs.js.coffee
|
56
|
-
- lib/assets/images/common-dialogs-error.gif
|
57
|
-
- lib/assets/images/common-dialogs-message.gif
|
58
|
-
- lib/assets/images/common-dialogs-confirm.gif
|
59
|
-
- lib/assets/stylesheets/common-dialogs.scss
|
60
55
|
- lib/tasks/common-dialogs_tasks.rake
|
61
56
|
- lib/common-dialogs.rb
|
62
57
|
- MIT-LICENSE
|
@@ -64,32 +59,25 @@ files:
|
|
64
59
|
- README.md
|
65
60
|
homepage: http://github.com/rosenfeld/common-dialogs
|
66
61
|
licenses: []
|
62
|
+
metadata: {}
|
67
63
|
post_install_message:
|
68
64
|
rdoc_options: []
|
69
65
|
require_paths:
|
70
66
|
- lib
|
71
67
|
required_ruby_version: !ruby/object:Gem::Requirement
|
72
|
-
none: false
|
73
68
|
requirements:
|
74
|
-
- -
|
69
|
+
- - '>='
|
75
70
|
- !ruby/object:Gem::Version
|
76
71
|
version: '0'
|
77
|
-
segments:
|
78
|
-
- 0
|
79
|
-
hash: 4509660347765167959
|
80
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
73
|
requirements:
|
83
|
-
- -
|
74
|
+
- - '>='
|
84
75
|
- !ruby/object:Gem::Version
|
85
76
|
version: '0'
|
86
|
-
segments:
|
87
|
-
- 0
|
88
|
-
hash: 4509660347765167959
|
89
77
|
requirements: []
|
90
78
|
rubyforge_project:
|
91
|
-
rubygems_version:
|
79
|
+
rubygems_version: 2.0.3
|
92
80
|
signing_key:
|
93
|
-
specification_version:
|
81
|
+
specification_version: 4
|
94
82
|
summary: Common JavaScript dialogs
|
95
83
|
test_files: []
|
Binary file
|
Binary file
|
Binary file
|