karafka-web 0.11.0.beta2 → 0.11.0.rc1
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/Gemfile.lock +14 -14
- data/Rakefile +4 -0
- data/karafka-web.gemspec +0 -5
- data/lib/karafka/web/pro/ui/views/scheduled_messages/explorer/_message.erb +26 -116
- data/lib/karafka/web/pro/ui/views/scheduled_messages/explorer/message/_cancel.erb +49 -0
- data/lib/karafka/web/pro/ui/views/scheduled_messages/explorer/message/_compacted.erb +16 -0
- data/lib/karafka/web/pro/ui/views/scheduled_messages/explorer/message/_schedule.erb +83 -0
- data/lib/karafka/web/pro/ui/views/scheduled_messages/explorer/message/_tombstone.erb +69 -0
- data/lib/karafka/web/pro/ui/views/scheduled_messages/explorer/message/_unknown.erb +26 -0
- data/lib/karafka/web/pro/ui/views/scheduled_messages/schedules/show.erb +14 -1
- data/lib/karafka/web/ui/public/javascripts/application.min.js.gz +0 -0
- data/lib/karafka/web/ui/public/stylesheets/application.min.css +61 -48
- data/lib/karafka/web/ui/public/stylesheets/application.min.css.br +0 -0
- data/lib/karafka/web/ui/public/stylesheets/application.min.css.gz +0 -0
- data/lib/karafka/web/version.rb +1 -1
- data/package-lock.json +176 -131
- metadata +9 -31
- checksums.yaml.gz.sig +0 -0
- data/certs/cert.pem +0 -26
- data.tar.gz.sig +0 -0
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 323655d05b3e4b77ddce36c63cee362ef711c89256cbcb97db6ea57c8939a398
|
4
|
+
data.tar.gz: c26e39271b910a860a85a22296a85f37367706754448fd96379cf6d0e4d4f101
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9632693f31939e911fba49a2a2ecb6c85e8cd468a01daa275d910d2c23b3e9b39a1ebc83d99cf5ed552fe794d9c7c1fe05097e4a5fa718190c8c1979df0ce743
|
7
|
+
data.tar.gz: d90eeb89e20b214a94450896a8cc65b7fceb73e1b1f7c02aedddb0af3953b500c97b50e70bc993b9a54de074179650b680f96f4b36c0aefc9bc490784720e10d
|
data/CHANGELOG.md
CHANGED
@@ -29,6 +29,7 @@
|
|
29
29
|
- [Enhancement] Improve error handling in the commanding iterator listener (Pro).
|
30
30
|
- [Change] Do not fully hide config-disabled features but make them disabled.
|
31
31
|
- [Change] Remove per-consumer process duplicated details from Subscriptions and Jobs tabs.
|
32
|
+
- [Change] Move to trusted-publishers and remove signing since no longer needed.
|
32
33
|
- [Refactor] Make sure all temporary topics have a `it-` prefix in their name.
|
33
34
|
- [Refactor] Introduce a `bin/verify_topics_naming` script to ensure proper test topics naming convention.
|
34
35
|
- [Fix] Closest time based lookup redirect fails.
|
@@ -51,6 +52,7 @@
|
|
51
52
|
- [Fix] Allow for using default search matchers in Karafka Web UI topics including Errors.
|
52
53
|
- [Fix] Ensure that when flashes or alerts are visible, pages are not auto-refreshed (would cause them to dissapear).
|
53
54
|
- [Fix] Time selector in the explorer does not disappear after clicking out.
|
55
|
+
- [Fix] Tombstone message presentation epoch doesn't make sense.
|
54
56
|
- [Maintenance] Require `karafka-core` `>= 2.4.8` and `karafka` `>= 2.4.16`.
|
55
57
|
- [Maintenance] Update `AirDatepicker` to `3.6.0`.
|
56
58
|
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
karafka-web (0.11.0.
|
4
|
+
karafka-web (0.11.0.rc1)
|
5
5
|
erubi (~> 1.4)
|
6
6
|
karafka (>= 2.5.0.beta1, < 2.6.0)
|
7
7
|
karafka-core (>= 2.5.0, < 2.6.0)
|
@@ -24,7 +24,7 @@ GEM
|
|
24
24
|
securerandom (>= 0.3)
|
25
25
|
tzinfo (~> 2.0, >= 2.0.5)
|
26
26
|
base64 (0.2.0)
|
27
|
-
benchmark (0.4.
|
27
|
+
benchmark (0.4.1)
|
28
28
|
bigdecimal (3.1.9)
|
29
29
|
byebug (12.0.0)
|
30
30
|
concurrent-ruby (1.3.5)
|
@@ -35,7 +35,7 @@ GEM
|
|
35
35
|
erubi (1.13.1)
|
36
36
|
et-orbi (1.2.11)
|
37
37
|
tzinfo
|
38
|
-
factory_bot (6.5.
|
38
|
+
factory_bot (6.5.3)
|
39
39
|
activesupport (>= 6.1.0)
|
40
40
|
ffi (1.17.2)
|
41
41
|
ffi (1.17.2-aarch64-linux-gnu)
|
@@ -53,16 +53,16 @@ GEM
|
|
53
53
|
raabro (~> 1.4)
|
54
54
|
i18n (1.14.7)
|
55
55
|
concurrent-ruby (~> 1.0)
|
56
|
-
karafka (2.5.0.
|
56
|
+
karafka (2.5.0.rc1)
|
57
57
|
base64 (~> 0.2)
|
58
58
|
karafka-core (>= 2.5.0, < 2.6.0)
|
59
|
-
karafka-rdkafka (>= 0.19.
|
59
|
+
karafka-rdkafka (>= 0.19.5)
|
60
60
|
waterdrop (>= 2.8.3, < 3.0.0)
|
61
61
|
zeitwerk (~> 2.3)
|
62
|
-
karafka-core (2.5.
|
62
|
+
karafka-core (2.5.1)
|
63
63
|
karafka-rdkafka (>= 0.19.2, < 0.21.0)
|
64
64
|
logger (>= 1.6.0)
|
65
|
-
karafka-rdkafka (0.19.
|
65
|
+
karafka-rdkafka (0.19.5)
|
66
66
|
ffi (~> 1.15)
|
67
67
|
mini_portile2 (~> 2.6)
|
68
68
|
rake (> 12)
|
@@ -100,19 +100,19 @@ GEM
|
|
100
100
|
rake (13.2.1)
|
101
101
|
roda (3.92.0)
|
102
102
|
rack
|
103
|
-
rspec (3.13.
|
103
|
+
rspec (3.13.1)
|
104
104
|
rspec-core (~> 3.13.0)
|
105
105
|
rspec-expectations (~> 3.13.0)
|
106
106
|
rspec-mocks (~> 3.13.0)
|
107
|
-
rspec-core (3.13.
|
107
|
+
rspec-core (3.13.4)
|
108
108
|
rspec-support (~> 3.13.0)
|
109
|
-
rspec-expectations (3.13.
|
109
|
+
rspec-expectations (3.13.5)
|
110
110
|
diff-lcs (>= 1.2.0, < 2.0)
|
111
111
|
rspec-support (~> 3.13.0)
|
112
|
-
rspec-mocks (3.13.
|
112
|
+
rspec-mocks (3.13.5)
|
113
113
|
diff-lcs (>= 1.2.0, < 2.0)
|
114
114
|
rspec-support (~> 3.13.0)
|
115
|
-
rspec-support (3.13.
|
115
|
+
rspec-support (3.13.4)
|
116
116
|
securerandom (0.4.1)
|
117
117
|
simplecov (0.22.0)
|
118
118
|
docile (~> 1.1)
|
@@ -123,9 +123,9 @@ GEM
|
|
123
123
|
tilt (2.6.0)
|
124
124
|
tzinfo (2.0.6)
|
125
125
|
concurrent-ruby (~> 1.0)
|
126
|
-
waterdrop (2.8.
|
126
|
+
waterdrop (2.8.4)
|
127
127
|
karafka-core (>= 2.4.9, < 3.0.0)
|
128
|
-
karafka-rdkafka (>= 0.19.
|
128
|
+
karafka-rdkafka (>= 0.19.2)
|
129
129
|
zeitwerk (~> 2.3)
|
130
130
|
webrick (1.9.1)
|
131
131
|
zeitwerk (2.6.18)
|
data/Rakefile
ADDED
data/karafka-web.gemspec
CHANGED
@@ -26,11 +26,6 @@ Gem::Specification.new do |spec|
|
|
26
26
|
|
27
27
|
spec.required_ruby_version = '>= 3.1.0'
|
28
28
|
|
29
|
-
if $PROGRAM_NAME.end_with?('gem')
|
30
|
-
spec.signing_key = File.expand_path('~/.ssh/gem-private_key.pem')
|
31
|
-
end
|
32
|
-
|
33
|
-
spec.cert_chain = %w[certs/cert.pem]
|
34
29
|
spec.executables = %w[karafka-web]
|
35
30
|
spec.require_paths = %w[lib]
|
36
31
|
|
@@ -1,125 +1,35 @@
|
|
1
1
|
<%# This code is part of Karafka Pro, a commercial component not licensed under LGPL. %>
|
2
2
|
<%# See LICENSE for details. %>
|
3
3
|
|
4
|
-
<% safe_key = ::Karafka::Web::Pro::Ui::Lib::SafeRunner.new { message.key } %>
|
5
|
-
|
6
4
|
<% if message.is_a?(Array) %>
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
</td>
|
14
|
-
<td colspan="8" class="text-center text-muted">
|
15
|
-
This offset does not contain any data. The message may have been compacted or is a system entry.
|
16
|
-
</td>
|
17
|
-
</tr>
|
5
|
+
<%==
|
6
|
+
partial(
|
7
|
+
'scheduled_messages/explorer/message/compacted',
|
8
|
+
locals: { message: message }
|
9
|
+
)
|
10
|
+
%>
|
18
11
|
<% else %>
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
</td>
|
24
|
-
<td>
|
25
|
-
<%= message.offset %>
|
26
|
-
</td>
|
27
|
-
<td>
|
28
|
-
<% if type == 'tombstone' %>
|
29
|
-
<%== badge_secondary type %>
|
30
|
-
<% end %>
|
31
|
-
|
32
|
-
<% if type == 'cancel' %>
|
33
|
-
<%== badge_warning type %>
|
34
|
-
<% end %>
|
35
|
-
|
36
|
-
<% if type == 'schedule' %>
|
37
|
-
<%== badge_primary type %>
|
38
|
-
<% end %>
|
39
|
-
</td>
|
40
|
-
<td>
|
41
|
-
<%= message.headers['schedule_schema_version'] %>
|
42
|
-
</td>
|
12
|
+
<%==
|
13
|
+
safe_key = ::Karafka::Web::Pro::Ui::Lib::SafeRunner.new { message.key }
|
14
|
+
type = message.headers['schedule_source_type']
|
15
|
+
path = 'scheduled_messages/explorer/message/'
|
43
16
|
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
'scheduled_messages/explorer/key',
|
55
|
-
locals: { message: message, safe_key: safe_key }
|
56
|
-
)
|
57
|
-
%>
|
58
|
-
</td>
|
59
|
-
<td colspan="2" class="text-center text-muted">
|
60
|
-
N/A
|
61
|
-
</td>
|
62
|
-
<% else %>
|
63
|
-
<td>
|
64
|
-
<%== relative_time(message.timestamp) %>
|
65
|
-
</td>
|
66
|
-
<td>
|
67
|
-
<%== relative_time message.headers['schedule_target_epoch'].to_i %>
|
68
|
-
</td>
|
69
|
-
<td>
|
70
|
-
<%==
|
71
|
-
partial(
|
72
|
-
'scheduled_messages/explorer/key',
|
73
|
-
locals: { message: message, safe_key: safe_key }
|
74
|
-
)
|
75
|
-
%>
|
76
|
-
</td>
|
77
|
-
<td>
|
78
|
-
<%= message.headers['schedule_target_topic'] %>
|
79
|
-
</td>
|
80
|
-
<td>
|
81
|
-
<% if @visibility_filter.key?(message) %>
|
82
|
-
<%= message.headers['schedule_target_key'] %>
|
83
|
-
<% else %>
|
84
|
-
<span class="text-muted">[Filtered]</span>
|
85
|
-
<% end %>
|
86
|
-
</td>
|
87
|
-
<% end %>
|
17
|
+
partial = case type
|
18
|
+
when 'cancel'
|
19
|
+
'cancel'
|
20
|
+
when 'tombstone'
|
21
|
+
'tombstone'
|
22
|
+
when 'schedule'
|
23
|
+
'schedule'
|
24
|
+
else
|
25
|
+
'unknown'
|
26
|
+
end
|
88
27
|
|
89
|
-
|
90
|
-
<% if type == 'schedule' %>
|
91
|
-
<%
|
92
|
-
cancel_path = root_path(
|
93
|
-
"scheduled_messages/messages",
|
94
|
-
message.topic,
|
95
|
-
message.partition,
|
96
|
-
message.offset,
|
97
|
-
'cancel'
|
98
|
-
)
|
99
|
-
%>
|
100
|
-
<form
|
101
|
-
action="<%= cancel_path %>"
|
102
|
-
method="post"
|
103
|
-
class="inline"
|
104
|
-
>
|
105
|
-
<%== csrf_tag(cancel_path) %>
|
106
|
-
<button
|
107
|
-
type="submit"
|
108
|
-
class="btn btn-error btn-sm confirm-action"
|
109
|
-
title="Cancel dispatch of this scheduled message"
|
110
|
-
>
|
111
|
-
<%== icon(:x_circle) %>
|
112
|
-
</button>
|
113
|
-
</form>
|
114
|
-
<% end %>
|
28
|
+
full_path = "#{path}/#{partial}"
|
115
29
|
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
)
|
122
|
-
%>
|
123
|
-
</td>
|
124
|
-
</tr>
|
30
|
+
partial(
|
31
|
+
full_path,
|
32
|
+
locals: { message: message, safe_key: safe_key, type: type }
|
33
|
+
)
|
34
|
+
%>
|
125
35
|
<% end %>
|
@@ -0,0 +1,49 @@
|
|
1
|
+
<%# This code is part of Karafka Pro, a commercial component not licensed under LGPL. %>
|
2
|
+
<%# See LICENSE for details. %>
|
3
|
+
|
4
|
+
<tr>
|
5
|
+
<td>
|
6
|
+
<%= message.partition %>
|
7
|
+
</td>
|
8
|
+
|
9
|
+
<td>
|
10
|
+
<%= message.offset %>
|
11
|
+
</td>
|
12
|
+
|
13
|
+
<td>
|
14
|
+
<%== badge_warning type %>
|
15
|
+
</td>
|
16
|
+
|
17
|
+
<td>
|
18
|
+
<%= message.headers['schedule_schema_version'] %>
|
19
|
+
</td>
|
20
|
+
|
21
|
+
<td>
|
22
|
+
<%== relative_time(message.timestamp) %>
|
23
|
+
</td>
|
24
|
+
<td class="text-center text-muted">
|
25
|
+
N/A
|
26
|
+
</td>
|
27
|
+
<td>
|
28
|
+
<%==
|
29
|
+
partial(
|
30
|
+
'scheduled_messages/explorer/key',
|
31
|
+
locals: { message: message, safe_key: safe_key }
|
32
|
+
)
|
33
|
+
%>
|
34
|
+
</td>
|
35
|
+
|
36
|
+
<td colspan="2" class="text-center text-muted">
|
37
|
+
N/A
|
38
|
+
</td>
|
39
|
+
|
40
|
+
<td>
|
41
|
+
<%==
|
42
|
+
link_button_primary_sm(
|
43
|
+
icon(:info_circle),
|
44
|
+
explorer_topics_path(message.topic, message.partition, message.offset),
|
45
|
+
title: 'Display details of this message'
|
46
|
+
)
|
47
|
+
%>
|
48
|
+
</td>
|
49
|
+
</tr>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<%# This code is part of Karafka Pro, a commercial component not licensed under LGPL. %>
|
2
|
+
<%# See LICENSE for details. %>
|
3
|
+
|
4
|
+
<tr>
|
5
|
+
<td class="text-muted">
|
6
|
+
<%= message[0] %>
|
7
|
+
</td>
|
8
|
+
|
9
|
+
<td class="text-muted">
|
10
|
+
<%= message[1] %>
|
11
|
+
</td>
|
12
|
+
|
13
|
+
<td colspan="8" class="text-center text-muted">
|
14
|
+
This offset does not contain any data. The message may have been compacted or is a system entry.
|
15
|
+
</td>
|
16
|
+
</tr>
|
@@ -0,0 +1,83 @@
|
|
1
|
+
<%# This code is part of Karafka Pro, a commercial component not licensed under LGPL. %>
|
2
|
+
<%# See LICENSE for details. %>
|
3
|
+
|
4
|
+
<tr>
|
5
|
+
<td>
|
6
|
+
<%= message.partition %>
|
7
|
+
</td>
|
8
|
+
|
9
|
+
<td>
|
10
|
+
<%= message.offset %>
|
11
|
+
</td>
|
12
|
+
|
13
|
+
<td>
|
14
|
+
<%== badge_primary type %>
|
15
|
+
</td>
|
16
|
+
|
17
|
+
<td>
|
18
|
+
<%= message.headers['schedule_schema_version'] %>
|
19
|
+
</td>
|
20
|
+
|
21
|
+
<td>
|
22
|
+
<%== relative_time(message.timestamp) %>
|
23
|
+
</td>
|
24
|
+
|
25
|
+
<td>
|
26
|
+
<%== relative_time message.headers['schedule_target_epoch'].to_i %>
|
27
|
+
</td>
|
28
|
+
|
29
|
+
<td>
|
30
|
+
<%==
|
31
|
+
partial(
|
32
|
+
'scheduled_messages/explorer/key',
|
33
|
+
locals: { message: message, safe_key: safe_key }
|
34
|
+
)
|
35
|
+
%>
|
36
|
+
</td>
|
37
|
+
|
38
|
+
<td>
|
39
|
+
<%= message.headers['schedule_target_topic'] %>
|
40
|
+
</td>
|
41
|
+
|
42
|
+
<td>
|
43
|
+
<% if @visibility_filter.key?(message) %>
|
44
|
+
<%= message.headers['schedule_target_key'] %>
|
45
|
+
<% else %>
|
46
|
+
<span class="text-muted">[Filtered]</span>
|
47
|
+
<% end %>
|
48
|
+
</td>
|
49
|
+
|
50
|
+
<td>
|
51
|
+
<%
|
52
|
+
cancel_path = root_path(
|
53
|
+
"scheduled_messages/messages",
|
54
|
+
message.topic,
|
55
|
+
message.partition,
|
56
|
+
message.offset,
|
57
|
+
'cancel'
|
58
|
+
)
|
59
|
+
%>
|
60
|
+
<form
|
61
|
+
action="<%= cancel_path %>"
|
62
|
+
method="post"
|
63
|
+
class="inline"
|
64
|
+
>
|
65
|
+
<%== csrf_tag(cancel_path) %>
|
66
|
+
<button
|
67
|
+
type="submit"
|
68
|
+
class="btn btn-error btn-sm confirm-action"
|
69
|
+
title="Cancel dispatch of this scheduled message"
|
70
|
+
>
|
71
|
+
<%== icon(:x_circle) %>
|
72
|
+
</button>
|
73
|
+
</form>
|
74
|
+
|
75
|
+
<%==
|
76
|
+
link_button_primary_sm(
|
77
|
+
icon(:info_circle),
|
78
|
+
explorer_topics_path(message.topic, message.partition, message.offset),
|
79
|
+
title: 'Display details of this message'
|
80
|
+
)
|
81
|
+
%>
|
82
|
+
</td>
|
83
|
+
</tr>
|
@@ -0,0 +1,69 @@
|
|
1
|
+
<%# This code is part of Karafka Pro, a commercial component not licensed under LGPL. %>
|
2
|
+
<%# See LICENSE for details. %>
|
3
|
+
|
4
|
+
<tr>
|
5
|
+
<td>
|
6
|
+
<%= message.partition %>
|
7
|
+
</td>
|
8
|
+
|
9
|
+
<td>
|
10
|
+
<%= message.offset %>
|
11
|
+
</td>
|
12
|
+
|
13
|
+
<td>
|
14
|
+
<%== badge_secondary type %>
|
15
|
+
</td>
|
16
|
+
|
17
|
+
<td>
|
18
|
+
<%= message.headers['schedule_schema_version'] %>
|
19
|
+
</td>
|
20
|
+
|
21
|
+
<td>
|
22
|
+
<%== relative_time(message.timestamp) %>
|
23
|
+
</td>
|
24
|
+
|
25
|
+
<td class="text-center text-muted">
|
26
|
+
N/A
|
27
|
+
</td>
|
28
|
+
|
29
|
+
<td>
|
30
|
+
<%==
|
31
|
+
partial(
|
32
|
+
'scheduled_messages/explorer/key',
|
33
|
+
locals: { message: message, safe_key: safe_key }
|
34
|
+
)
|
35
|
+
%>
|
36
|
+
</td>
|
37
|
+
|
38
|
+
<td>
|
39
|
+
<%= message.headers['schedule_target_topic'] %>
|
40
|
+
</td>
|
41
|
+
|
42
|
+
<td>
|
43
|
+
<% if @visibility_filter.key?(message) %>
|
44
|
+
<%= message.headers['schedule_target_key'] %>
|
45
|
+
<% else %>
|
46
|
+
<span class="text-muted">[Filtered]</span>
|
47
|
+
<% end %>
|
48
|
+
</td>
|
49
|
+
|
50
|
+
<td>
|
51
|
+
<%
|
52
|
+
cancel_path = root_path(
|
53
|
+
"scheduled_messages/messages",
|
54
|
+
message.topic,
|
55
|
+
message.partition,
|
56
|
+
message.offset,
|
57
|
+
'cancel'
|
58
|
+
)
|
59
|
+
%>
|
60
|
+
|
61
|
+
<%==
|
62
|
+
link_button_primary_sm(
|
63
|
+
icon(:info_circle),
|
64
|
+
explorer_topics_path(message.topic, message.partition, message.offset),
|
65
|
+
title: 'Display details of this message'
|
66
|
+
)
|
67
|
+
%>
|
68
|
+
</td>
|
69
|
+
</tr>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<%# This code is part of Karafka Pro, a commercial component not licensed under LGPL. %>
|
2
|
+
<%# See LICENSE for details. %>
|
3
|
+
|
4
|
+
<tr>
|
5
|
+
<td class="text-muted">
|
6
|
+
<%= message.partition %>
|
7
|
+
</td>
|
8
|
+
|
9
|
+
<td class="text-muted">
|
10
|
+
<%= message.offset %>
|
11
|
+
</td>
|
12
|
+
|
13
|
+
<td colspan="7" class="text-center text-muted">
|
14
|
+
This offset does not contain any recognized data type.
|
15
|
+
</td>
|
16
|
+
|
17
|
+
<td>
|
18
|
+
<%==
|
19
|
+
link_button_primary_sm(
|
20
|
+
icon(:info_circle),
|
21
|
+
explorer_topics_path(message.topic, message.partition, message.offset),
|
22
|
+
title: 'Display details of this message'
|
23
|
+
)
|
24
|
+
%>
|
25
|
+
</td>
|
26
|
+
</tr>
|
@@ -38,7 +38,20 @@
|
|
38
38
|
<%== relative_time(details[:dispatched_at]) %>
|
39
39
|
</span>
|
40
40
|
|
41
|
-
|
41
|
+
<%
|
42
|
+
state = details[:state]
|
43
|
+
|
44
|
+
type = case state
|
45
|
+
when 'loaded'
|
46
|
+
'success'
|
47
|
+
when 'stopped'
|
48
|
+
'error'
|
49
|
+
else
|
50
|
+
'warning'
|
51
|
+
end
|
52
|
+
%>
|
53
|
+
|
54
|
+
<span class="badge badge-<%= type %>">
|
42
55
|
State: <%= details[:state] %>
|
43
56
|
</span>
|
44
57
|
</p>
|
Binary file
|