- added toggel for dark/auto/white mode
- added color
This commit is contained in:
		@@ -42,7 +42,16 @@
 | 
			
		||||
			<tr>
 | 
			
		||||
				<th scope="row" data-bs-toggle="tooltip" data-bs-placement="left" data-bs-title="ID: <%= user.id %>"><%= user.SKU %></th>
 | 
			
		||||
				<td><%= user.name %></td>
 | 
			
		||||
				<td><span class="badge text-bg-success"><%= user.status %></span></td>
 | 
			
		||||
				<% if(user.status == "normal") { %>
 | 
			
		||||
 | 
			
		||||
					<td><span class="badge text-bg-success"><%= user.status %></span></td>
 | 
			
		||||
					<% } else if(user.status == "stolen") { %>
 | 
			
		||||
					<td><span class="badge text-bg-danger"><%= user.status %></span></td>
 | 
			
		||||
					<% } else if(user.status == "lost") { %>
 | 
			
		||||
						<td><span class="badge text-bg-warning"><%= user.status %></span></td>
 | 
			
		||||
					<% } else if(user.status == "borrowed") { %>
 | 
			
		||||
							<td><span class="badge text-bg-info"><%= user.status %></span></td>
 | 
			
		||||
					<% } %>
 | 
			
		||||
				<!--<td><a href="#" class="btn btn-primary">Edit</a></td>-->
 | 
			
		||||
			</tr>
 | 
			
		||||
			<% }) %>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user