Removed unnecessary comment / Fixed formatting
This commit is contained in:
parent
d5fcf94455
commit
74db923058
@ -24,8 +24,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<!-- TODO: Center table content -->
|
|
||||||
<h2>Recent items</h2>
|
<h2>Recent items</h2>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<table class="table">
|
<table class="table">
|
||||||
@ -44,14 +42,14 @@
|
|||||||
<td><%= user.name %></td>
|
<td><%= user.name %></td>
|
||||||
<% if(user.status == "normal") { %>
|
<% if(user.status == "normal") { %>
|
||||||
|
|
||||||
<td><span class="badge text-bg-success"><%= user.status %></span></td>
|
<td><span class="badge text-bg-success"><%= user.status %></span></td>
|
||||||
<% } else if(user.status == "stolen") { %>
|
<% } else if(user.status == "stolen") { %>
|
||||||
<td><span class="badge text-bg-danger"><%= user.status %></span></td>
|
<td><span class="badge text-bg-danger"><%= user.status %></span></td>
|
||||||
<% } else if(user.status == "lost") { %>
|
<% } else if(user.status == "lost") { %>
|
||||||
<td><span class="badge text-bg-warning"><%= user.status %></span></td>
|
<td><span class="badge text-bg-warning"><%= user.status %></span></td>
|
||||||
<% } else if(user.status == "borrowed") { %>
|
<% } else if(user.status == "borrowed") { %>
|
||||||
<td><span class="badge text-bg-info"><%= user.status %></span></td>
|
<td><span class="badge text-bg-info"><%= user.status %></span></td>
|
||||||
<% } %>
|
<% } %>
|
||||||
<!--<td><a href="#" class="btn btn-primary">Edit</a></td>-->
|
<!--<td><a href="#" class="btn btn-primary">Edit</a></td>-->
|
||||||
</tr>
|
</tr>
|
||||||
<% }) %>
|
<% }) %>
|
||||||
|
Loading…
Reference in New Issue
Block a user