resque-sliders 0.0.7 → 0.0.8
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.
@@ -17,7 +17,7 @@ $(document).ready(function() {
|
|
17
17
|
return new_ary.join(',');
|
18
18
|
};
|
19
19
|
// Click function for all icons
|
20
|
-
$(".
|
20
|
+
$(".controls").find("span").click(function() {
|
21
21
|
var host_sig = $(this).attr("id").split(':');
|
22
22
|
var host = host_sig[0];
|
23
23
|
switch(host_sig[1])
|
@@ -12,7 +12,9 @@
|
|
12
12
|
<% max = @sliders.max_children(host) || 'Not running' %>
|
13
13
|
|
14
14
|
<h2><%= "#{host} (Total: <span id=\"total\"></span> Max: <span id=\"max\">#{max}</span>)" %>
|
15
|
+
<span class="controls">
|
15
16
|
<%= daemon_buttons(host, false) %>
|
17
|
+
</span>
|
16
18
|
</h2>
|
17
19
|
<% @sliders.queue_values(host).each_pair do |queue,value| %>
|
18
20
|
<p>
|
@@ -43,7 +45,9 @@
|
|
43
45
|
</td>
|
44
46
|
<td>
|
45
47
|
<ul>
|
48
|
+
<span class="controls">
|
46
49
|
<%= daemon_buttons(host) %>
|
50
|
+
</span>
|
47
51
|
</ul>
|
48
52
|
</td>
|
49
53
|
</tr>
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resque-sliders
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 8
|
10
|
+
version: 0.0.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Kevin Mullin
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-
|
18
|
+
date: 2012-02-02 00:00:00 -08:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|