From c97186abd7889b942b6acbdc5b6a5442b6d8f74f Mon Sep 17 00:00:00 2001 From: evazion Date: Sat, 19 Dec 2020 00:27:20 -0600 Subject: [PATCH] /status: add missing template files. Add missing templates that were forgotten in 7a87225ac. --- app/views/status/_list.html.erb | 7 +++++++ app/views/status/_table.html.erb | 19 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 app/views/status/_list.html.erb create mode 100644 app/views/status/_table.html.erb diff --git a/app/views/status/_list.html.erb b/app/views/status/_list.html.erb new file mode 100644 index 000000000..e5b304b21 --- /dev/null +++ b/app/views/status/_list.html.erb @@ -0,0 +1,7 @@ +<%# hash %> +
+ <% hash.each do |key, value| %> +
<%= key.to_s.humanize %>
+
<%= value %>
+ <% end %> +
diff --git a/app/views/status/_table.html.erb b/app/views/status/_table.html.erb new file mode 100644 index 000000000..05678ff5c --- /dev/null +++ b/app/views/status/_table.html.erb @@ -0,0 +1,19 @@ +<%# rows %> + + + + + <% rows.first.keys.each do |key| %> + + <% end %> + + + + <% rows.each do |row| %> + + <% row.each do |key, value| %> + + <% end %> + + <% end %> +
<%= key.humanize %>
<%= value %>