/status: add missing template files.

Add missing templates that were forgotten in 7a87225ac.
This commit is contained in:
evazion
2020-12-19 00:27:20 -06:00
parent 6849a3d68b
commit c97186abd7
2 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
<%# hash %>
<dl>
<% hash.each do |key, value| %>
<dt><%= key.to_s.humanize %></dt>
<dd><%= value %></dd>
<% end %>
</dl>

View File

@@ -0,0 +1,19 @@
<%# rows %>
<table class="striped">
<thead>
<tr>
<% rows.first.keys.each do |key| %>
<th><%= key.humanize %></th>
<% end %>
</tr>
</thead>
<% rows.each do |row| %>
<tr>
<% row.each do |key, value| %>
<td><%= value %></td>
<% end %>
</tr>
<% end %>
</table>