Use bootstrap buttons in administrative pages.

This commit is contained in:
2019-05-18 12:00:22 +01:00
parent aed5df094a
commit 4d2a7be65e
15 changed files with 662 additions and 424 deletions

View File

@@ -29,6 +29,7 @@
// Copyright © 2003-2018 Natalia Portillo
*******************************************************************************/
}
@using Cicm.Database.Models
@model IEnumerable<Cicm.Database.Models.BrowserTest>
@{
@@ -38,64 +39,68 @@
<h2>Index</h2>
<p>
<a asp-action="Create">Create New</a>
<a asp-action="Create"
class="btn btn-primary">
Create New
</a>
</p>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => model.UserAgent)
</th>
<th>
@Html.DisplayNameFor(model => model.Browser)
</th>
<th>
@Html.DisplayNameFor(model => model.Version)
</th>
<th>
@Html.DisplayNameFor(model => model.Os)
</th>
<th>
@Html.DisplayNameFor(model => model.Platform)
</th>
<th>
@Html.DisplayNameFor(model => model.Gif87)
</th>
<th>
@Html.DisplayNameFor(model => model.Gif89)
</th>
<th>
@Html.DisplayNameFor(model => model.Jpeg)
</th>
<th>
@Html.DisplayNameFor(model => model.Png)
</th>
<th>
@Html.DisplayNameFor(model => model.Pngt)
</th>
<th>
@Html.DisplayNameFor(model => model.Agif)
</th>
<th>
@Html.DisplayNameFor(model => model.Table)
</th>
<th>
@Html.DisplayNameFor(model => model.Colors)
</th>
<th>
@Html.DisplayNameFor(model => model.Js)
</th>
<th>
@Html.DisplayNameFor(model => model.Frames)
</th>
<th>
@Html.DisplayNameFor(model => model.Flash)
</th>
<th></th>
</tr>
<tr>
<th>
@Html.DisplayNameFor(model => model.UserAgent)
</th>
<th>
@Html.DisplayNameFor(model => model.Browser)
</th>
<th>
@Html.DisplayNameFor(model => model.Version)
</th>
<th>
@Html.DisplayNameFor(model => model.Os)
</th>
<th>
@Html.DisplayNameFor(model => model.Platform)
</th>
<th>
@Html.DisplayNameFor(model => model.Gif87)
</th>
<th>
@Html.DisplayNameFor(model => model.Gif89)
</th>
<th>
@Html.DisplayNameFor(model => model.Jpeg)
</th>
<th>
@Html.DisplayNameFor(model => model.Png)
</th>
<th>
@Html.DisplayNameFor(model => model.Pngt)
</th>
<th>
@Html.DisplayNameFor(model => model.Agif)
</th>
<th>
@Html.DisplayNameFor(model => model.Table)
</th>
<th>
@Html.DisplayNameFor(model => model.Colors)
</th>
<th>
@Html.DisplayNameFor(model => model.Js)
</th>
<th>
@Html.DisplayNameFor(model => model.Frames)
</th>
<th>
@Html.DisplayNameFor(model => model.Flash)
</th>
<th></th>
</tr>
</thead>
<tbody>
@foreach (var item in Model) {
@foreach(BrowserTest item in Model)
{
<tr>
<td>
@Html.DisplayFor(modelItem => item.UserAgent)
@@ -146,11 +151,23 @@
@Html.DisplayFor(modelItem => item.Flash)
</td>
<td>
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
<a asp-action="Details"
asp-route-id="@item.Id"
class="btn btn-primary">
Details
</a>
<a asp-action="Edit"
asp-route-id="@item.Id"
class="btn btn-secondary">
Edit
</a>
<a asp-action="Delete"
asp-route-id="@item.Id"
class="btn btn-danger">
Delete
</a>
</td>
</tr>
}
}
</tbody>
</table>
</table>

View File

@@ -91,16 +91,16 @@
@Html.DisplayFor(modelItem => item.SoldTo.Name)
</td>
<td>
<a asp-action="Edit"
asp-route-id="@item.Id"
class="btn btn-secondary">
Edit
</a>
<a asp-action="Details"
asp-route-id="@item.Id"
class="btn btn-primary">
Details
</a>
<a asp-action="Edit"
asp-route-id="@item.Id"
class="btn btn-secondary">
Edit
</a>
<a asp-action="Delete"
asp-route-id="@item.Id"
class="btn btn-danger">

View File

@@ -29,6 +29,7 @@
// Copyright © 2003-2018 Natalia Portillo
*******************************************************************************/
}
@using Cicm.Database.Models
@model IEnumerable<Cicm.Database.Models.CompanyDescription>
@{
@@ -38,25 +39,29 @@
<h2>Index</h2>
<p>
<a asp-action="Create">Create New</a>
<a asp-action="Create"
class="btn btn-primary">
Create New
</a>
</p>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => model.CompanyId)
</th>
<th>
@Html.DisplayNameFor(model => model.Text)
</th>
<th>
@Html.DisplayNameFor(model => model.Company)
</th>
<th></th>
</tr>
<tr>
<th>
@Html.DisplayNameFor(model => model.CompanyId)
</th>
<th>
@Html.DisplayNameFor(model => model.Text)
</th>
<th>
@Html.DisplayNameFor(model => model.Company)
</th>
<th></th>
</tr>
</thead>
<tbody>
@foreach (var item in Model) {
@foreach(CompanyDescription item in Model)
{
<tr>
<td>
@Html.DisplayFor(modelItem => item.CompanyId)
@@ -68,11 +73,23 @@
@Html.DisplayFor(modelItem => item.Company.Name)
</td>
<td>
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
<a asp-action="Details"
asp-route-id="@item.Id"
class="btn btn-primary">
Details
</a>
<a asp-action="Edit"
asp-route-id="@item.Id"
class="btn btn-secondary">
Edit
</a>
<a asp-action="Delete"
asp-route-id="@item.Id"
class="btn btn-danger">
Delete
</a>
</td>
</tr>
}
}
</tbody>
</table>
</table>

View File

@@ -29,6 +29,7 @@
// Copyright © 2003-2018 Natalia Portillo
*******************************************************************************/
}
@using Cicm.Database.Models
@model IEnumerable<Cicm.Database.Models.Gpu>
@{
@@ -38,43 +39,47 @@
<h2>Index</h2>
<p>
<a asp-action="Create">Create New</a>
<a asp-action="Create"
class="btn btn-primary">
Create New
</a>
</p>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => model.Name)
</th>
<th>
@Html.DisplayNameFor(model => model.ModelCode)
</th>
<th>
@Html.DisplayNameFor(model => model.Introduced)
</th>
<th>
@Html.DisplayNameFor(model => model.Package)
</th>
<th>
@Html.DisplayNameFor(model => model.Process)
</th>
<th>
@Html.DisplayNameFor(model => model.ProcessNm)
</th>
<th>
@Html.DisplayNameFor(model => model.DieSize)
</th>
<th>
@Html.DisplayNameFor(model => model.Transistors)
</th>
<th>
@Html.DisplayNameFor(model => model.Company)
</th>
<th></th>
</tr>
<tr>
<th>
@Html.DisplayNameFor(model => model.Name)
</th>
<th>
@Html.DisplayNameFor(model => model.ModelCode)
</th>
<th>
@Html.DisplayNameFor(model => model.Introduced)
</th>
<th>
@Html.DisplayNameFor(model => model.Package)
</th>
<th>
@Html.DisplayNameFor(model => model.Process)
</th>
<th>
@Html.DisplayNameFor(model => model.ProcessNm)
</th>
<th>
@Html.DisplayNameFor(model => model.DieSize)
</th>
<th>
@Html.DisplayNameFor(model => model.Transistors)
</th>
<th>
@Html.DisplayNameFor(model => model.Company)
</th>
<th></th>
</tr>
</thead>
<tbody>
@foreach (var item in Model) {
@foreach(Gpu item in Model)
{
<tr>
<td>
@Html.DisplayFor(modelItem => item.Name)
@@ -104,11 +109,23 @@
@Html.DisplayFor(modelItem => item.Company.Name)
</td>
<td>
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
<a asp-action="Details"
asp-route-id="@item.Id"
class="btn btn-primary">
Details
</a>
<a asp-action="Edit"
asp-route-id="@item.Id"
class="btn btn-secondary">
Edit
</a>
<a asp-action="Delete"
asp-route-id="@item.Id"
class="btn btn-danger">
Delete
</a>
</td>
</tr>
}
}
</tbody>
</table>
</table>

View File

@@ -29,6 +29,7 @@
// Copyright © 2003-2018 Natalia Portillo
*******************************************************************************/
}
@using Cicm.Database.Models
@model IEnumerable<Cicm.Database.Models.InstructionSetExtension>
@{
@@ -38,29 +39,45 @@
<h2>Index</h2>
<p>
<a asp-action="Create">Create New</a>
<a asp-action="Create"
class="btn btn-primary">
Create New
</a>
</p>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => model.Extension)
</th>
<th></th>
</tr>
<tr>
<th>
@Html.DisplayNameFor(model => model.Extension)
</th>
<th></th>
</tr>
</thead>
<tbody>
@foreach (var item in Model) {
@foreach(InstructionSetExtension item in Model)
{
<tr>
<td>
@Html.DisplayFor(modelItem => item.Extension)
</td>
<td>
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
<a asp-action="Details"
asp-route-id="@item.Id"
class="btn btn-primary">
Details
</a>
<a asp-action="Edit"
asp-route-id="@item.Id"
class="btn btn-secondary">
Edit
</a>
<a asp-action="Delete"
asp-route-id="@item.Id"
class="btn btn-danger">
Delete
</a>
</td>
</tr>
}
}
</tbody>
</table>
</table>

View File

@@ -29,6 +29,7 @@
// Copyright © 2003-2018 Natalia Portillo
*******************************************************************************/
}
@using Cicm.Database.Models
@model IEnumerable<Cicm.Database.Models.InstructionSet>
@{
@@ -38,29 +39,45 @@
<h2>Index</h2>
<p>
<a asp-action="Create">Create New</a>
<a asp-action="Create"
class="btn btn-primary">
Create New
</a>
</p>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => model.Name)
</th>
<th></th>
</tr>
<tr>
<th>
@Html.DisplayNameFor(model => model.Name)
</th>
<th></th>
</tr>
</thead>
<tbody>
@foreach (var item in Model) {
@foreach(InstructionSet item in Model)
{
<tr>
<td>
@Html.DisplayFor(modelItem => item.Name)
</td>
<td>
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
<a asp-action="Details"
asp-route-id="@item.Id"
class="btn btn-primary">
Details
</a>
<a asp-action="Edit"
asp-route-id="@item.Id"
class="btn btn-secondary">
Edit
</a>
<a asp-action="Delete"
asp-route-id="@item.Id"
class="btn btn-danger">
Delete
</a>
</td>
</tr>
}
}
</tbody>
</table>
</table>

View File

@@ -29,6 +29,7 @@
// Copyright © 2003-2018 Natalia Portillo
*******************************************************************************/
}
@using Cicm.Database.Models
@model IEnumerable<Cicm.Database.Models.MachineFamily>
@{
@@ -38,22 +39,26 @@
<h2>Index</h2>
<p>
<a asp-action="Create">Create New</a>
<a asp-action="Create"
class="btn btn-primary">
Create New
</a>
</p>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => model.Name)
</th>
<th>
@Html.DisplayNameFor(model => model.Company)
</th>
<th></th>
</tr>
<tr>
<th>
@Html.DisplayNameFor(model => model.Name)
</th>
<th>
@Html.DisplayNameFor(model => model.Company)
</th>
<th></th>
</tr>
</thead>
<tbody>
@foreach (var item in Model) {
@foreach(MachineFamily item in Model)
{
<tr>
<td>
@Html.DisplayFor(modelItem => item.Name)
@@ -62,11 +67,23 @@
@Html.DisplayFor(modelItem => item.Company.Name)
</td>
<td>
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
<a asp-action="Details"
asp-route-id="@item.Id"
class="btn btn-primary">
Details
</a>
<a asp-action="Edit"
asp-route-id="@item.Id"
class="btn btn-secondary">
Edit
</a>
<a asp-action="Delete"
asp-route-id="@item.Id"
class="btn btn-danger">
Delete
</a>
</td>
</tr>
}
}
</tbody>
</table>
</table>

View File

@@ -29,6 +29,7 @@
// Copyright © 2003-2018 Natalia Portillo
*******************************************************************************/
}
@using Cicm.Database.Models
@model IEnumerable<Cicm.Database.Models.Machine>
@{
@@ -38,34 +39,38 @@
<h2>Index</h2>
<p>
<a asp-action="Create">Create New</a>
<a asp-action="Create"
class="btn btn-primary">
Create New
</a>
</p>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => model.Name)
</th>
<th>
@Html.DisplayNameFor(model => model.Type)
</th>
<th>
@Html.DisplayNameFor(model => model.Introduced)
</th>
<th>
@Html.DisplayNameFor(model => model.Model)
</th>
<th>
@Html.DisplayNameFor(model => model.Company)
</th>
<th>
@Html.DisplayNameFor(model => model.Family)
</th>
<th></th>
</tr>
<tr>
<th>
@Html.DisplayNameFor(model => model.Name)
</th>
<th>
@Html.DisplayNameFor(model => model.Type)
</th>
<th>
@Html.DisplayNameFor(model => model.Introduced)
</th>
<th>
@Html.DisplayNameFor(model => model.Model)
</th>
<th>
@Html.DisplayNameFor(model => model.Company)
</th>
<th>
@Html.DisplayNameFor(model => model.Family)
</th>
<th></th>
</tr>
</thead>
<tbody>
@foreach (var item in Model) {
@foreach(Machine item in Model)
{
<tr>
<td>
@Html.DisplayFor(modelItem => item.Name)
@@ -86,11 +91,23 @@
@Html.DisplayFor(modelItem => item.Family.Name)
</td>
<td>
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
<a asp-action="Details"
asp-route-id="@item.Id"
class="btn btn-primary">
Details
</a>
<a asp-action="Edit"
asp-route-id="@item.Id"
class="btn btn-secondary">
Edit
</a>
<a asp-action="Delete"
asp-route-id="@item.Id"
class="btn btn-danger">
Delete
</a>
</td>
</tr>
}
}
</tbody>
</table>
</table>

View File

@@ -29,6 +29,7 @@
// Copyright © 2003-2018 Natalia Portillo
*******************************************************************************/
}
@using Cicm.Database.Models
@model IEnumerable<Cicm.Database.Models.MemoryByMachine>
@{
@@ -38,31 +39,35 @@
<h2>Index</h2>
<p>
<a asp-action="Create">Create New</a>
<a asp-action="Create"
class="btn btn-primary">
Create New
</a>
</p>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => model.Type)
</th>
<th>
@Html.DisplayNameFor(model => model.Usage)
</th>
<th>
@Html.DisplayNameFor(model => model.Size)
</th>
<th>
@Html.DisplayNameFor(model => model.Speed)
</th>
<th>
@Html.DisplayNameFor(model => model.Machine)
</th>
<th></th>
</tr>
<tr>
<th>
@Html.DisplayNameFor(model => model.Type)
</th>
<th>
@Html.DisplayNameFor(model => model.Usage)
</th>
<th>
@Html.DisplayNameFor(model => model.Size)
</th>
<th>
@Html.DisplayNameFor(model => model.Speed)
</th>
<th>
@Html.DisplayNameFor(model => model.Machine)
</th>
<th></th>
</tr>
</thead>
<tbody>
@foreach (var item in Model) {
@foreach(MemoryByMachine item in Model)
{
<tr>
<td>
@Html.DisplayFor(modelItem => item.Type)
@@ -80,11 +85,23 @@
@Html.DisplayFor(modelItem => item.Machine.Name)
</td>
<td>
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
<a asp-action="Details"
asp-route-id="@item.Id"
class="btn btn-primary">
Details
</a>
<a asp-action="Edit"
asp-route-id="@item.Id"
class="btn btn-secondary">
Edit
</a>
<a asp-action="Delete"
asp-route-id="@item.Id"
class="btn btn-danger">
Delete
</a>
</td>
</tr>
}
}
</tbody>
</table>
</table>

View File

@@ -29,6 +29,7 @@
// Copyright © 2003-2018 Natalia Portillo
*******************************************************************************/
}
@using Cicm.Database.Models
@model IEnumerable<Cicm.Database.Models.News>
@{
@@ -38,25 +39,29 @@
<h2>Index</h2>
<p>
<a asp-action="Create">Create New</a>
<a asp-action="Create"
class="btn btn-primary">
Create New
</a>
</p>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => model.Date)
</th>
<th>
@Html.DisplayNameFor(model => model.Type)
</th>
<th>
@Html.DisplayNameFor(model => model.AddedId)
</th>
<th></th>
</tr>
<tr>
<th>
@Html.DisplayNameFor(model => model.Date)
</th>
<th>
@Html.DisplayNameFor(model => model.Type)
</th>
<th>
@Html.DisplayNameFor(model => model.AddedId)
</th>
<th></th>
</tr>
</thead>
<tbody>
@foreach (var item in Model) {
@foreach(News item in Model)
{
<tr>
<td>
@Html.DisplayFor(modelItem => item.Date)
@@ -68,11 +73,23 @@
@Html.DisplayFor(modelItem => item.AddedId)
</td>
<td>
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
<a asp-action="Details"
asp-route-id="@item.Id"
class="btn btn-primary">
Details
</a>
<a asp-action="Edit"
asp-route-id="@item.Id"
class="btn btn-secondary">
Edit
</a>
<a asp-action="Delete"
asp-route-id="@item.Id"
class="btn btn-danger">
Delete
</a>
</td>
</tr>
}
}
</tbody>
</table>
</table>

View File

@@ -29,6 +29,7 @@
// Copyright © 2003-2018 Natalia Portillo
*******************************************************************************/
}
@using Cicm.Database.Models
@model IEnumerable<Cicm.Database.Models.Processor>
@{
@@ -38,91 +39,95 @@
<h2>Index</h2>
<p>
<a asp-action="Create">Create New</a>
<a asp-action="Create"
class="btn btn-primary">
Create New
</a>
</p>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => model.Name)
</th>
<th>
@Html.DisplayNameFor(model => model.ModelCode)
</th>
<th>
@Html.DisplayNameFor(model => model.Introduced)
</th>
<th>
@Html.DisplayNameFor(model => model.Speed)
</th>
<th>
@Html.DisplayNameFor(model => model.Package)
</th>
<th>
@Html.DisplayNameFor(model => model.Gprs)
</th>
<th>
@Html.DisplayNameFor(model => model.GprSize)
</th>
<th>
@Html.DisplayNameFor(model => model.Fprs)
</th>
<th>
@Html.DisplayNameFor(model => model.FprSize)
</th>
<th>
@Html.DisplayNameFor(model => model.Cores)
</th>
<th>
@Html.DisplayNameFor(model => model.ThreadsPerCore)
</th>
<th>
@Html.DisplayNameFor(model => model.Process)
</th>
<th>
@Html.DisplayNameFor(model => model.ProcessNm)
</th>
<th>
@Html.DisplayNameFor(model => model.DieSize)
</th>
<th>
@Html.DisplayNameFor(model => model.Transistors)
</th>
<th>
@Html.DisplayNameFor(model => model.DataBus)
</th>
<th>
@Html.DisplayNameFor(model => model.AddrBus)
</th>
<th>
@Html.DisplayNameFor(model => model.SimdRegisters)
</th>
<th>
@Html.DisplayNameFor(model => model.SimdSize)
</th>
<th>
@Html.DisplayNameFor(model => model.L1Instruction)
</th>
<th>
@Html.DisplayNameFor(model => model.L1Data)
</th>
<th>
@Html.DisplayNameFor(model => model.L2)
</th>
<th>
@Html.DisplayNameFor(model => model.L3)
</th>
<th>
@Html.DisplayNameFor(model => model.Company)
</th>
<th>
@Html.DisplayNameFor(model => model.InstructionSet)
</th>
<th></th>
</tr>
<tr>
<th>
@Html.DisplayNameFor(model => model.Name)
</th>
<th>
@Html.DisplayNameFor(model => model.ModelCode)
</th>
<th>
@Html.DisplayNameFor(model => model.Introduced)
</th>
<th>
@Html.DisplayNameFor(model => model.Speed)
</th>
<th>
@Html.DisplayNameFor(model => model.Package)
</th>
<th>
@Html.DisplayNameFor(model => model.Gprs)
</th>
<th>
@Html.DisplayNameFor(model => model.GprSize)
</th>
<th>
@Html.DisplayNameFor(model => model.Fprs)
</th>
<th>
@Html.DisplayNameFor(model => model.FprSize)
</th>
<th>
@Html.DisplayNameFor(model => model.Cores)
</th>
<th>
@Html.DisplayNameFor(model => model.ThreadsPerCore)
</th>
<th>
@Html.DisplayNameFor(model => model.Process)
</th>
<th>
@Html.DisplayNameFor(model => model.ProcessNm)
</th>
<th>
@Html.DisplayNameFor(model => model.DieSize)
</th>
<th>
@Html.DisplayNameFor(model => model.Transistors)
</th>
<th>
@Html.DisplayNameFor(model => model.DataBus)
</th>
<th>
@Html.DisplayNameFor(model => model.AddrBus)
</th>
<th>
@Html.DisplayNameFor(model => model.SimdRegisters)
</th>
<th>
@Html.DisplayNameFor(model => model.SimdSize)
</th>
<th>
@Html.DisplayNameFor(model => model.L1Instruction)
</th>
<th>
@Html.DisplayNameFor(model => model.L1Data)
</th>
<th>
@Html.DisplayNameFor(model => model.L2)
</th>
<th>
@Html.DisplayNameFor(model => model.L3)
</th>
<th>
@Html.DisplayNameFor(model => model.Company)
</th>
<th>
@Html.DisplayNameFor(model => model.InstructionSet)
</th>
<th></th>
</tr>
</thead>
<tbody>
@foreach (var item in Model) {
@foreach(Processor item in Model)
{
<tr>
<td>
@Html.DisplayFor(modelItem => item.Name)
@@ -200,11 +205,23 @@
@Html.DisplayFor(modelItem => item.InstructionSet.Name)
</td>
<td>
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
<a asp-action="Details"
asp-route-id="@item.Id"
class="btn btn-primary">
Details
</a>
<a asp-action="Edit"
asp-route-id="@item.Id"
class="btn btn-secondary">
Edit
</a>
<a asp-action="Delete"
asp-route-id="@item.Id"
class="btn btn-danger">
Delete
</a>
</td>
</tr>
}
}
</tbody>
</table>
</table>

View File

@@ -29,6 +29,7 @@
// Copyright © 2003-2018 Natalia Portillo
*******************************************************************************/
}
@using Cicm.Database.Models
@model IEnumerable<Cicm.Database.Models.ProcessorsByMachine>
@{
@@ -38,25 +39,29 @@
<h2>Index</h2>
<p>
<a asp-action="Create">Create New</a>
<a asp-action="Create"
class="btn btn-primary">
Create New
</a>
</p>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => model.Speed)
</th>
<th>
@Html.DisplayNameFor(model => model.Machine)
</th>
<th>
@Html.DisplayNameFor(model => model.Processor)
</th>
<th></th>
</tr>
<tr>
<th>
@Html.DisplayNameFor(model => model.Speed)
</th>
<th>
@Html.DisplayNameFor(model => model.Machine)
</th>
<th>
@Html.DisplayNameFor(model => model.Processor)
</th>
<th></th>
</tr>
</thead>
<tbody>
@foreach (var item in Model) {
@foreach(ProcessorsByMachine item in Model)
{
<tr>
<td>
@Html.DisplayFor(modelItem => item.Speed)
@@ -68,11 +73,23 @@
@Html.DisplayFor(modelItem => item.Processor.Name)
</td>
<td>
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
<a asp-action="Details"
asp-route-id="@item.Id"
class="btn btn-primary">
Details
</a>
<a asp-action="Edit"
asp-route-id="@item.Id"
class="btn btn-secondary">
Edit
</a>
<a asp-action="Delete"
asp-route-id="@item.Id"
class="btn btn-danger">
Delete
</a>
</td>
</tr>
}
}
</tbody>
</table>
</table>

View File

@@ -29,6 +29,7 @@
// Copyright © 2003-2018 Natalia Portillo
*******************************************************************************/
}
@using Cicm.Database.Models
@model IEnumerable<Cicm.Database.Models.Resolution>
@{
@@ -38,31 +39,35 @@
<h2>Index</h2>
<p>
<a asp-action="Create">Create New</a>
<a asp-action="Create"
class="btn btn-primary">
Create New
</a>
</p>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => model.Width)
</th>
<th>
@Html.DisplayNameFor(model => model.Height)
</th>
<th>
@Html.DisplayNameFor(model => model.Colors)
</th>
<th>
@Html.DisplayNameFor(model => model.Palette)
</th>
<th>
@Html.DisplayNameFor(model => model.Chars)
</th>
<th></th>
</tr>
<tr>
<th>
@Html.DisplayNameFor(model => model.Width)
</th>
<th>
@Html.DisplayNameFor(model => model.Height)
</th>
<th>
@Html.DisplayNameFor(model => model.Colors)
</th>
<th>
@Html.DisplayNameFor(model => model.Palette)
</th>
<th>
@Html.DisplayNameFor(model => model.Chars)
</th>
<th></th>
</tr>
</thead>
<tbody>
@foreach (var item in Model) {
@foreach(Resolution item in Model)
{
<tr>
<td>
@Html.DisplayFor(modelItem => item.Width)
@@ -80,11 +85,23 @@
@Html.DisplayFor(modelItem => item.Chars)
</td>
<td>
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
<a asp-action="Details"
asp-route-id="@item.Id"
class="btn btn-primary">
Details
</a>
<a asp-action="Edit"
asp-route-id="@item.Id"
class="btn btn-secondary">
Edit
</a>
<a asp-action="Delete"
asp-route-id="@item.Id"
class="btn btn-danger">
Delete
</a>
</td>
</tr>
}
}
</tbody>
</table>
</table>

View File

@@ -29,6 +29,7 @@
// Copyright © 2003-2018 Natalia Portillo
*******************************************************************************/
}
@using Cicm.Database.Models
@model IEnumerable<Cicm.Database.Models.SoundSynth>
@{
@@ -38,46 +39,50 @@
<h2>Index</h2>
<p>
<a asp-action="Create">Create New</a>
<a asp-action="Create"
class="btn btn-primary">
Create New
</a>
</p>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => model.Name)
</th>
<th>
@Html.DisplayNameFor(model => model.ModelCode)
</th>
<th>
@Html.DisplayNameFor(model => model.Introduced)
</th>
<th>
@Html.DisplayNameFor(model => model.Voices)
</th>
<th>
@Html.DisplayNameFor(model => model.Frequency)
</th>
<th>
@Html.DisplayNameFor(model => model.Depth)
</th>
<th>
@Html.DisplayNameFor(model => model.SquareWave)
</th>
<th>
@Html.DisplayNameFor(model => model.WhiteNoise)
</th>
<th>
@Html.DisplayNameFor(model => model.Type)
</th>
<th>
@Html.DisplayNameFor(model => model.Company)
</th>
<th></th>
</tr>
<tr>
<th>
@Html.DisplayNameFor(model => model.Name)
</th>
<th>
@Html.DisplayNameFor(model => model.ModelCode)
</th>
<th>
@Html.DisplayNameFor(model => model.Introduced)
</th>
<th>
@Html.DisplayNameFor(model => model.Voices)
</th>
<th>
@Html.DisplayNameFor(model => model.Frequency)
</th>
<th>
@Html.DisplayNameFor(model => model.Depth)
</th>
<th>
@Html.DisplayNameFor(model => model.SquareWave)
</th>
<th>
@Html.DisplayNameFor(model => model.WhiteNoise)
</th>
<th>
@Html.DisplayNameFor(model => model.Type)
</th>
<th>
@Html.DisplayNameFor(model => model.Company)
</th>
<th></th>
</tr>
</thead>
<tbody>
@foreach (var item in Model) {
@foreach(SoundSynth item in Model)
{
<tr>
<td>
@Html.DisplayFor(modelItem => item.Name)
@@ -110,11 +115,23 @@
@Html.DisplayFor(modelItem => item.Company.Name)
</td>
<td>
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
<a asp-action="Details"
asp-route-id="@item.Id"
class="btn btn-primary">
Details
</a>
<a asp-action="Edit"
asp-route-id="@item.Id"
class="btn btn-secondary">
Edit
</a>
<a asp-action="Delete"
asp-route-id="@item.Id"
class="btn btn-danger">
Delete
</a>
</td>
</tr>
}
}
</tbody>
</table>
</table>

View File

@@ -29,6 +29,7 @@
// Copyright © 2003-2018 Natalia Portillo
*******************************************************************************/
}
@using Cicm.Database.Models
@model IEnumerable<Cicm.Database.Models.StorageByMachine>
@{
@@ -38,28 +39,32 @@
<h2>Index</h2>
<p>
<a asp-action="Create">Create New</a>
<a asp-action="Create"
class="btn btn-primary">
Create New
</a>
</p>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => model.Type)
</th>
<th>
@Html.DisplayNameFor(model => model.Interface)
</th>
<th>
@Html.DisplayNameFor(model => model.Capacity)
</th>
<th>
@Html.DisplayNameFor(model => model.Machine)
</th>
<th></th>
</tr>
<tr>
<th>
@Html.DisplayNameFor(model => model.Type)
</th>
<th>
@Html.DisplayNameFor(model => model.Interface)
</th>
<th>
@Html.DisplayNameFor(model => model.Capacity)
</th>
<th>
@Html.DisplayNameFor(model => model.Machine)
</th>
<th></th>
</tr>
</thead>
<tbody>
@foreach (var item in Model) {
@foreach(StorageByMachine item in Model)
{
<tr>
<td>
@Html.DisplayFor(modelItem => item.Type)
@@ -74,11 +79,23 @@
@Html.DisplayFor(modelItem => item.Machine.Name)
</td>
<td>
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
<a asp-action="Details"
asp-route-id="@item.Id"
class="btn btn-primary">
Details
</a>
<a asp-action="Edit"
asp-route-id="@item.Id"
class="btn btn-secondary">
Edit
</a>
<a asp-action="Delete"
asp-route-id="@item.Id"
class="btn btn-danger">
Delete
</a>
</td>
</tr>
}
}
</tbody>
</table>
</table>