Renamed table model
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -5,7 +5,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace UCS_Status_Monitor.Models
|
||||
{
|
||||
public class HomeIndexModel
|
||||
public class HomeTableModel
|
||||
{
|
||||
public string TableColor { get; set; }
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
@{
|
||||
Layout = "_Layout";
|
||||
}
|
||||
|
||||
<table class="table table-hover table-responsive">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user