File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
app/views/rails_performance/rails_performance
lib/rails_performance/system_monitor Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 3
3
<% @resources_report . servers . each do |server | %>
4
4
< h1 class ="title mt-8 pt-8 "> <%= server . name %> </ h1 >
5
5
6
- <% server . charts . each . with_index do |chart , index | %>
6
+ <% server . charts . each . with_index ( 1 ) do |chart , index | %>
7
7
< div class ="card ">
8
8
< div class ="card-content ">
9
9
< h2 class ="subtitle "> <%= chart . subtitle %> </ h2 >
12
12
</ div >
13
13
</ div >
14
14
15
- < br / >
15
+ < br >
16
16
17
17
<% content_for :on_load do %>
18
18
< script >
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ def initialize server
84
84
)
85
85
end
86
86
87
- def signal measurement
87
+ def format measurement
88
88
measurement [ "available" ] . to_f . round ( 2 )
89
89
end
90
90
You can’t perform that action at this time.
0 commit comments