Renamed table model

This commit is contained in:
Martijn Scheepers
2021-01-22 09:45:29 +01:00
parent a72d34f05b
commit 624e74f3e0
3 changed files with 3 additions and 4 deletions

View File

@@ -32,10 +32,10 @@ namespace UCS_Status_Monitor.Controllers
public async Task<JsonResult> GetIndexTable()
{
using var dbContext = new MonitorDbContext();
List<HomeIndexModel> systems = await dbContext.UCSSystems
List<HomeTableModel> systems = await dbContext.UCSSystems
.Include(d => d.Devices)
.OrderBy(o => o.ComputerName)
.Select(a => new HomeIndexModel
.Select(a => new HomeTableModel
{
ComputerName = a.ComputerName,
UCSVersion = a.UCSVersion,

View File

@@ -5,7 +5,7 @@ using System.Threading.Tasks;
namespace UCS_Status_Monitor.Models
{
public class HomeIndexModel
public class HomeTableModel
{
public string TableColor { get; set; }

View File

@@ -2,7 +2,6 @@
@{
Layout = "_Layout";
}
<table class="table table-hover table-responsive">
<thead>
<tr>