mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Use bootstrap buttons in administrative pages.
This commit is contained in:
@@ -29,6 +29,7 @@
|
|||||||
// Copyright © 2003-2018 Natalia Portillo
|
// Copyright © 2003-2018 Natalia Portillo
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
}
|
}
|
||||||
|
@using Cicm.Database.Models
|
||||||
@model IEnumerable<Cicm.Database.Models.BrowserTest>
|
@model IEnumerable<Cicm.Database.Models.BrowserTest>
|
||||||
|
|
||||||
@{
|
@{
|
||||||
@@ -38,64 +39,68 @@
|
|||||||
<h2>Index</h2>
|
<h2>Index</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<a asp-action="Create">Create New</a>
|
<a asp-action="Create"
|
||||||
|
class="btn btn-primary">
|
||||||
|
Create New
|
||||||
|
</a>
|
||||||
</p>
|
</p>
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.UserAgent)
|
@Html.DisplayNameFor(model => model.UserAgent)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Browser)
|
@Html.DisplayNameFor(model => model.Browser)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Version)
|
@Html.DisplayNameFor(model => model.Version)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Os)
|
@Html.DisplayNameFor(model => model.Os)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Platform)
|
@Html.DisplayNameFor(model => model.Platform)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Gif87)
|
@Html.DisplayNameFor(model => model.Gif87)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Gif89)
|
@Html.DisplayNameFor(model => model.Gif89)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Jpeg)
|
@Html.DisplayNameFor(model => model.Jpeg)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Png)
|
@Html.DisplayNameFor(model => model.Png)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Pngt)
|
@Html.DisplayNameFor(model => model.Pngt)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Agif)
|
@Html.DisplayNameFor(model => model.Agif)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Table)
|
@Html.DisplayNameFor(model => model.Table)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Colors)
|
@Html.DisplayNameFor(model => model.Colors)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Js)
|
@Html.DisplayNameFor(model => model.Js)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Frames)
|
@Html.DisplayNameFor(model => model.Frames)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Flash)
|
@Html.DisplayNameFor(model => model.Flash)
|
||||||
</th>
|
</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach (var item in Model) {
|
@foreach(BrowserTest item in Model)
|
||||||
|
{
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
@Html.DisplayFor(modelItem => item.UserAgent)
|
@Html.DisplayFor(modelItem => item.UserAgent)
|
||||||
@@ -146,11 +151,23 @@
|
|||||||
@Html.DisplayFor(modelItem => item.Flash)
|
@Html.DisplayFor(modelItem => item.Flash)
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
|
<a asp-action="Details"
|
||||||
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
|
asp-route-id="@item.Id"
|
||||||
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
|
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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@@ -91,16 +91,16 @@
|
|||||||
@Html.DisplayFor(modelItem => item.SoldTo.Name)
|
@Html.DisplayFor(modelItem => item.SoldTo.Name)
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a asp-action="Edit"
|
|
||||||
asp-route-id="@item.Id"
|
|
||||||
class="btn btn-secondary">
|
|
||||||
Edit
|
|
||||||
</a>
|
|
||||||
<a asp-action="Details"
|
<a asp-action="Details"
|
||||||
asp-route-id="@item.Id"
|
asp-route-id="@item.Id"
|
||||||
class="btn btn-primary">
|
class="btn btn-primary">
|
||||||
Details
|
Details
|
||||||
</a>
|
</a>
|
||||||
|
<a asp-action="Edit"
|
||||||
|
asp-route-id="@item.Id"
|
||||||
|
class="btn btn-secondary">
|
||||||
|
Edit
|
||||||
|
</a>
|
||||||
<a asp-action="Delete"
|
<a asp-action="Delete"
|
||||||
asp-route-id="@item.Id"
|
asp-route-id="@item.Id"
|
||||||
class="btn btn-danger">
|
class="btn btn-danger">
|
||||||
|
|||||||
@@ -29,6 +29,7 @@
|
|||||||
// Copyright © 2003-2018 Natalia Portillo
|
// Copyright © 2003-2018 Natalia Portillo
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
}
|
}
|
||||||
|
@using Cicm.Database.Models
|
||||||
@model IEnumerable<Cicm.Database.Models.CompanyDescription>
|
@model IEnumerable<Cicm.Database.Models.CompanyDescription>
|
||||||
|
|
||||||
@{
|
@{
|
||||||
@@ -38,25 +39,29 @@
|
|||||||
<h2>Index</h2>
|
<h2>Index</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<a asp-action="Create">Create New</a>
|
<a asp-action="Create"
|
||||||
|
class="btn btn-primary">
|
||||||
|
Create New
|
||||||
|
</a>
|
||||||
</p>
|
</p>
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.CompanyId)
|
@Html.DisplayNameFor(model => model.CompanyId)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Text)
|
@Html.DisplayNameFor(model => model.Text)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Company)
|
@Html.DisplayNameFor(model => model.Company)
|
||||||
</th>
|
</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach (var item in Model) {
|
@foreach(CompanyDescription item in Model)
|
||||||
|
{
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
@Html.DisplayFor(modelItem => item.CompanyId)
|
@Html.DisplayFor(modelItem => item.CompanyId)
|
||||||
@@ -68,11 +73,23 @@
|
|||||||
@Html.DisplayFor(modelItem => item.Company.Name)
|
@Html.DisplayFor(modelItem => item.Company.Name)
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
|
<a asp-action="Details"
|
||||||
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
|
asp-route-id="@item.Id"
|
||||||
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
|
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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@@ -29,6 +29,7 @@
|
|||||||
// Copyright © 2003-2018 Natalia Portillo
|
// Copyright © 2003-2018 Natalia Portillo
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
}
|
}
|
||||||
|
@using Cicm.Database.Models
|
||||||
@model IEnumerable<Cicm.Database.Models.Gpu>
|
@model IEnumerable<Cicm.Database.Models.Gpu>
|
||||||
|
|
||||||
@{
|
@{
|
||||||
@@ -38,43 +39,47 @@
|
|||||||
<h2>Index</h2>
|
<h2>Index</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<a asp-action="Create">Create New</a>
|
<a asp-action="Create"
|
||||||
|
class="btn btn-primary">
|
||||||
|
Create New
|
||||||
|
</a>
|
||||||
</p>
|
</p>
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Name)
|
@Html.DisplayNameFor(model => model.Name)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.ModelCode)
|
@Html.DisplayNameFor(model => model.ModelCode)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Introduced)
|
@Html.DisplayNameFor(model => model.Introduced)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Package)
|
@Html.DisplayNameFor(model => model.Package)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Process)
|
@Html.DisplayNameFor(model => model.Process)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.ProcessNm)
|
@Html.DisplayNameFor(model => model.ProcessNm)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.DieSize)
|
@Html.DisplayNameFor(model => model.DieSize)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Transistors)
|
@Html.DisplayNameFor(model => model.Transistors)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Company)
|
@Html.DisplayNameFor(model => model.Company)
|
||||||
</th>
|
</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach (var item in Model) {
|
@foreach(Gpu item in Model)
|
||||||
|
{
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
@Html.DisplayFor(modelItem => item.Name)
|
@Html.DisplayFor(modelItem => item.Name)
|
||||||
@@ -104,11 +109,23 @@
|
|||||||
@Html.DisplayFor(modelItem => item.Company.Name)
|
@Html.DisplayFor(modelItem => item.Company.Name)
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
|
<a asp-action="Details"
|
||||||
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
|
asp-route-id="@item.Id"
|
||||||
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
|
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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@@ -29,6 +29,7 @@
|
|||||||
// Copyright © 2003-2018 Natalia Portillo
|
// Copyright © 2003-2018 Natalia Portillo
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
}
|
}
|
||||||
|
@using Cicm.Database.Models
|
||||||
@model IEnumerable<Cicm.Database.Models.InstructionSetExtension>
|
@model IEnumerable<Cicm.Database.Models.InstructionSetExtension>
|
||||||
|
|
||||||
@{
|
@{
|
||||||
@@ -38,29 +39,45 @@
|
|||||||
<h2>Index</h2>
|
<h2>Index</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<a asp-action="Create">Create New</a>
|
<a asp-action="Create"
|
||||||
|
class="btn btn-primary">
|
||||||
|
Create New
|
||||||
|
</a>
|
||||||
</p>
|
</p>
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Extension)
|
@Html.DisplayNameFor(model => model.Extension)
|
||||||
</th>
|
</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach (var item in Model) {
|
@foreach(InstructionSetExtension item in Model)
|
||||||
|
{
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
@Html.DisplayFor(modelItem => item.Extension)
|
@Html.DisplayFor(modelItem => item.Extension)
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
|
<a asp-action="Details"
|
||||||
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
|
asp-route-id="@item.Id"
|
||||||
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
|
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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@@ -29,6 +29,7 @@
|
|||||||
// Copyright © 2003-2018 Natalia Portillo
|
// Copyright © 2003-2018 Natalia Portillo
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
}
|
}
|
||||||
|
@using Cicm.Database.Models
|
||||||
@model IEnumerable<Cicm.Database.Models.InstructionSet>
|
@model IEnumerable<Cicm.Database.Models.InstructionSet>
|
||||||
|
|
||||||
@{
|
@{
|
||||||
@@ -38,29 +39,45 @@
|
|||||||
<h2>Index</h2>
|
<h2>Index</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<a asp-action="Create">Create New</a>
|
<a asp-action="Create"
|
||||||
|
class="btn btn-primary">
|
||||||
|
Create New
|
||||||
|
</a>
|
||||||
</p>
|
</p>
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Name)
|
@Html.DisplayNameFor(model => model.Name)
|
||||||
</th>
|
</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach (var item in Model) {
|
@foreach(InstructionSet item in Model)
|
||||||
|
{
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
@Html.DisplayFor(modelItem => item.Name)
|
@Html.DisplayFor(modelItem => item.Name)
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
|
<a asp-action="Details"
|
||||||
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
|
asp-route-id="@item.Id"
|
||||||
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
|
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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@@ -29,6 +29,7 @@
|
|||||||
// Copyright © 2003-2018 Natalia Portillo
|
// Copyright © 2003-2018 Natalia Portillo
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
}
|
}
|
||||||
|
@using Cicm.Database.Models
|
||||||
@model IEnumerable<Cicm.Database.Models.MachineFamily>
|
@model IEnumerable<Cicm.Database.Models.MachineFamily>
|
||||||
|
|
||||||
@{
|
@{
|
||||||
@@ -38,22 +39,26 @@
|
|||||||
<h2>Index</h2>
|
<h2>Index</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<a asp-action="Create">Create New</a>
|
<a asp-action="Create"
|
||||||
|
class="btn btn-primary">
|
||||||
|
Create New
|
||||||
|
</a>
|
||||||
</p>
|
</p>
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Name)
|
@Html.DisplayNameFor(model => model.Name)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Company)
|
@Html.DisplayNameFor(model => model.Company)
|
||||||
</th>
|
</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach (var item in Model) {
|
@foreach(MachineFamily item in Model)
|
||||||
|
{
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
@Html.DisplayFor(modelItem => item.Name)
|
@Html.DisplayFor(modelItem => item.Name)
|
||||||
@@ -62,11 +67,23 @@
|
|||||||
@Html.DisplayFor(modelItem => item.Company.Name)
|
@Html.DisplayFor(modelItem => item.Company.Name)
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
|
<a asp-action="Details"
|
||||||
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
|
asp-route-id="@item.Id"
|
||||||
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
|
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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@@ -29,6 +29,7 @@
|
|||||||
// Copyright © 2003-2018 Natalia Portillo
|
// Copyright © 2003-2018 Natalia Portillo
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
}
|
}
|
||||||
|
@using Cicm.Database.Models
|
||||||
@model IEnumerable<Cicm.Database.Models.Machine>
|
@model IEnumerable<Cicm.Database.Models.Machine>
|
||||||
|
|
||||||
@{
|
@{
|
||||||
@@ -38,34 +39,38 @@
|
|||||||
<h2>Index</h2>
|
<h2>Index</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<a asp-action="Create">Create New</a>
|
<a asp-action="Create"
|
||||||
|
class="btn btn-primary">
|
||||||
|
Create New
|
||||||
|
</a>
|
||||||
</p>
|
</p>
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Name)
|
@Html.DisplayNameFor(model => model.Name)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Type)
|
@Html.DisplayNameFor(model => model.Type)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Introduced)
|
@Html.DisplayNameFor(model => model.Introduced)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Model)
|
@Html.DisplayNameFor(model => model.Model)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Company)
|
@Html.DisplayNameFor(model => model.Company)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Family)
|
@Html.DisplayNameFor(model => model.Family)
|
||||||
</th>
|
</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach (var item in Model) {
|
@foreach(Machine item in Model)
|
||||||
|
{
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
@Html.DisplayFor(modelItem => item.Name)
|
@Html.DisplayFor(modelItem => item.Name)
|
||||||
@@ -86,11 +91,23 @@
|
|||||||
@Html.DisplayFor(modelItem => item.Family.Name)
|
@Html.DisplayFor(modelItem => item.Family.Name)
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
|
<a asp-action="Details"
|
||||||
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
|
asp-route-id="@item.Id"
|
||||||
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
|
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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@@ -29,6 +29,7 @@
|
|||||||
// Copyright © 2003-2018 Natalia Portillo
|
// Copyright © 2003-2018 Natalia Portillo
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
}
|
}
|
||||||
|
@using Cicm.Database.Models
|
||||||
@model IEnumerable<Cicm.Database.Models.MemoryByMachine>
|
@model IEnumerable<Cicm.Database.Models.MemoryByMachine>
|
||||||
|
|
||||||
@{
|
@{
|
||||||
@@ -38,31 +39,35 @@
|
|||||||
<h2>Index</h2>
|
<h2>Index</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<a asp-action="Create">Create New</a>
|
<a asp-action="Create"
|
||||||
|
class="btn btn-primary">
|
||||||
|
Create New
|
||||||
|
</a>
|
||||||
</p>
|
</p>
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Type)
|
@Html.DisplayNameFor(model => model.Type)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Usage)
|
@Html.DisplayNameFor(model => model.Usage)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Size)
|
@Html.DisplayNameFor(model => model.Size)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Speed)
|
@Html.DisplayNameFor(model => model.Speed)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Machine)
|
@Html.DisplayNameFor(model => model.Machine)
|
||||||
</th>
|
</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach (var item in Model) {
|
@foreach(MemoryByMachine item in Model)
|
||||||
|
{
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
@Html.DisplayFor(modelItem => item.Type)
|
@Html.DisplayFor(modelItem => item.Type)
|
||||||
@@ -80,11 +85,23 @@
|
|||||||
@Html.DisplayFor(modelItem => item.Machine.Name)
|
@Html.DisplayFor(modelItem => item.Machine.Name)
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
|
<a asp-action="Details"
|
||||||
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
|
asp-route-id="@item.Id"
|
||||||
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
|
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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@@ -29,6 +29,7 @@
|
|||||||
// Copyright © 2003-2018 Natalia Portillo
|
// Copyright © 2003-2018 Natalia Portillo
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
}
|
}
|
||||||
|
@using Cicm.Database.Models
|
||||||
@model IEnumerable<Cicm.Database.Models.News>
|
@model IEnumerable<Cicm.Database.Models.News>
|
||||||
|
|
||||||
@{
|
@{
|
||||||
@@ -38,25 +39,29 @@
|
|||||||
<h2>Index</h2>
|
<h2>Index</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<a asp-action="Create">Create New</a>
|
<a asp-action="Create"
|
||||||
|
class="btn btn-primary">
|
||||||
|
Create New
|
||||||
|
</a>
|
||||||
</p>
|
</p>
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Date)
|
@Html.DisplayNameFor(model => model.Date)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Type)
|
@Html.DisplayNameFor(model => model.Type)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.AddedId)
|
@Html.DisplayNameFor(model => model.AddedId)
|
||||||
</th>
|
</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach (var item in Model) {
|
@foreach(News item in Model)
|
||||||
|
{
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
@Html.DisplayFor(modelItem => item.Date)
|
@Html.DisplayFor(modelItem => item.Date)
|
||||||
@@ -68,11 +73,23 @@
|
|||||||
@Html.DisplayFor(modelItem => item.AddedId)
|
@Html.DisplayFor(modelItem => item.AddedId)
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
|
<a asp-action="Details"
|
||||||
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
|
asp-route-id="@item.Id"
|
||||||
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
|
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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@@ -29,6 +29,7 @@
|
|||||||
// Copyright © 2003-2018 Natalia Portillo
|
// Copyright © 2003-2018 Natalia Portillo
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
}
|
}
|
||||||
|
@using Cicm.Database.Models
|
||||||
@model IEnumerable<Cicm.Database.Models.Processor>
|
@model IEnumerable<Cicm.Database.Models.Processor>
|
||||||
|
|
||||||
@{
|
@{
|
||||||
@@ -38,91 +39,95 @@
|
|||||||
<h2>Index</h2>
|
<h2>Index</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<a asp-action="Create">Create New</a>
|
<a asp-action="Create"
|
||||||
|
class="btn btn-primary">
|
||||||
|
Create New
|
||||||
|
</a>
|
||||||
</p>
|
</p>
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Name)
|
@Html.DisplayNameFor(model => model.Name)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.ModelCode)
|
@Html.DisplayNameFor(model => model.ModelCode)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Introduced)
|
@Html.DisplayNameFor(model => model.Introduced)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Speed)
|
@Html.DisplayNameFor(model => model.Speed)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Package)
|
@Html.DisplayNameFor(model => model.Package)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Gprs)
|
@Html.DisplayNameFor(model => model.Gprs)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.GprSize)
|
@Html.DisplayNameFor(model => model.GprSize)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Fprs)
|
@Html.DisplayNameFor(model => model.Fprs)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.FprSize)
|
@Html.DisplayNameFor(model => model.FprSize)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Cores)
|
@Html.DisplayNameFor(model => model.Cores)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.ThreadsPerCore)
|
@Html.DisplayNameFor(model => model.ThreadsPerCore)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Process)
|
@Html.DisplayNameFor(model => model.Process)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.ProcessNm)
|
@Html.DisplayNameFor(model => model.ProcessNm)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.DieSize)
|
@Html.DisplayNameFor(model => model.DieSize)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Transistors)
|
@Html.DisplayNameFor(model => model.Transistors)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.DataBus)
|
@Html.DisplayNameFor(model => model.DataBus)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.AddrBus)
|
@Html.DisplayNameFor(model => model.AddrBus)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.SimdRegisters)
|
@Html.DisplayNameFor(model => model.SimdRegisters)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.SimdSize)
|
@Html.DisplayNameFor(model => model.SimdSize)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.L1Instruction)
|
@Html.DisplayNameFor(model => model.L1Instruction)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.L1Data)
|
@Html.DisplayNameFor(model => model.L1Data)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.L2)
|
@Html.DisplayNameFor(model => model.L2)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.L3)
|
@Html.DisplayNameFor(model => model.L3)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Company)
|
@Html.DisplayNameFor(model => model.Company)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.InstructionSet)
|
@Html.DisplayNameFor(model => model.InstructionSet)
|
||||||
</th>
|
</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach (var item in Model) {
|
@foreach(Processor item in Model)
|
||||||
|
{
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
@Html.DisplayFor(modelItem => item.Name)
|
@Html.DisplayFor(modelItem => item.Name)
|
||||||
@@ -200,11 +205,23 @@
|
|||||||
@Html.DisplayFor(modelItem => item.InstructionSet.Name)
|
@Html.DisplayFor(modelItem => item.InstructionSet.Name)
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
|
<a asp-action="Details"
|
||||||
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
|
asp-route-id="@item.Id"
|
||||||
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
|
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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@@ -29,6 +29,7 @@
|
|||||||
// Copyright © 2003-2018 Natalia Portillo
|
// Copyright © 2003-2018 Natalia Portillo
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
}
|
}
|
||||||
|
@using Cicm.Database.Models
|
||||||
@model IEnumerable<Cicm.Database.Models.ProcessorsByMachine>
|
@model IEnumerable<Cicm.Database.Models.ProcessorsByMachine>
|
||||||
|
|
||||||
@{
|
@{
|
||||||
@@ -38,25 +39,29 @@
|
|||||||
<h2>Index</h2>
|
<h2>Index</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<a asp-action="Create">Create New</a>
|
<a asp-action="Create"
|
||||||
|
class="btn btn-primary">
|
||||||
|
Create New
|
||||||
|
</a>
|
||||||
</p>
|
</p>
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Speed)
|
@Html.DisplayNameFor(model => model.Speed)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Machine)
|
@Html.DisplayNameFor(model => model.Machine)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Processor)
|
@Html.DisplayNameFor(model => model.Processor)
|
||||||
</th>
|
</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach (var item in Model) {
|
@foreach(ProcessorsByMachine item in Model)
|
||||||
|
{
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
@Html.DisplayFor(modelItem => item.Speed)
|
@Html.DisplayFor(modelItem => item.Speed)
|
||||||
@@ -68,11 +73,23 @@
|
|||||||
@Html.DisplayFor(modelItem => item.Processor.Name)
|
@Html.DisplayFor(modelItem => item.Processor.Name)
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
|
<a asp-action="Details"
|
||||||
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
|
asp-route-id="@item.Id"
|
||||||
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
|
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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@@ -29,6 +29,7 @@
|
|||||||
// Copyright © 2003-2018 Natalia Portillo
|
// Copyright © 2003-2018 Natalia Portillo
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
}
|
}
|
||||||
|
@using Cicm.Database.Models
|
||||||
@model IEnumerable<Cicm.Database.Models.Resolution>
|
@model IEnumerable<Cicm.Database.Models.Resolution>
|
||||||
|
|
||||||
@{
|
@{
|
||||||
@@ -38,31 +39,35 @@
|
|||||||
<h2>Index</h2>
|
<h2>Index</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<a asp-action="Create">Create New</a>
|
<a asp-action="Create"
|
||||||
|
class="btn btn-primary">
|
||||||
|
Create New
|
||||||
|
</a>
|
||||||
</p>
|
</p>
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Width)
|
@Html.DisplayNameFor(model => model.Width)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Height)
|
@Html.DisplayNameFor(model => model.Height)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Colors)
|
@Html.DisplayNameFor(model => model.Colors)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Palette)
|
@Html.DisplayNameFor(model => model.Palette)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Chars)
|
@Html.DisplayNameFor(model => model.Chars)
|
||||||
</th>
|
</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach (var item in Model) {
|
@foreach(Resolution item in Model)
|
||||||
|
{
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
@Html.DisplayFor(modelItem => item.Width)
|
@Html.DisplayFor(modelItem => item.Width)
|
||||||
@@ -80,11 +85,23 @@
|
|||||||
@Html.DisplayFor(modelItem => item.Chars)
|
@Html.DisplayFor(modelItem => item.Chars)
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
|
<a asp-action="Details"
|
||||||
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
|
asp-route-id="@item.Id"
|
||||||
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
|
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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@@ -29,6 +29,7 @@
|
|||||||
// Copyright © 2003-2018 Natalia Portillo
|
// Copyright © 2003-2018 Natalia Portillo
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
}
|
}
|
||||||
|
@using Cicm.Database.Models
|
||||||
@model IEnumerable<Cicm.Database.Models.SoundSynth>
|
@model IEnumerable<Cicm.Database.Models.SoundSynth>
|
||||||
|
|
||||||
@{
|
@{
|
||||||
@@ -38,46 +39,50 @@
|
|||||||
<h2>Index</h2>
|
<h2>Index</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<a asp-action="Create">Create New</a>
|
<a asp-action="Create"
|
||||||
|
class="btn btn-primary">
|
||||||
|
Create New
|
||||||
|
</a>
|
||||||
</p>
|
</p>
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Name)
|
@Html.DisplayNameFor(model => model.Name)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.ModelCode)
|
@Html.DisplayNameFor(model => model.ModelCode)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Introduced)
|
@Html.DisplayNameFor(model => model.Introduced)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Voices)
|
@Html.DisplayNameFor(model => model.Voices)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Frequency)
|
@Html.DisplayNameFor(model => model.Frequency)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Depth)
|
@Html.DisplayNameFor(model => model.Depth)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.SquareWave)
|
@Html.DisplayNameFor(model => model.SquareWave)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.WhiteNoise)
|
@Html.DisplayNameFor(model => model.WhiteNoise)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Type)
|
@Html.DisplayNameFor(model => model.Type)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Company)
|
@Html.DisplayNameFor(model => model.Company)
|
||||||
</th>
|
</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach (var item in Model) {
|
@foreach(SoundSynth item in Model)
|
||||||
|
{
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
@Html.DisplayFor(modelItem => item.Name)
|
@Html.DisplayFor(modelItem => item.Name)
|
||||||
@@ -110,11 +115,23 @@
|
|||||||
@Html.DisplayFor(modelItem => item.Company.Name)
|
@Html.DisplayFor(modelItem => item.Company.Name)
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
|
<a asp-action="Details"
|
||||||
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
|
asp-route-id="@item.Id"
|
||||||
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
|
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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@@ -29,6 +29,7 @@
|
|||||||
// Copyright © 2003-2018 Natalia Portillo
|
// Copyright © 2003-2018 Natalia Portillo
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
}
|
}
|
||||||
|
@using Cicm.Database.Models
|
||||||
@model IEnumerable<Cicm.Database.Models.StorageByMachine>
|
@model IEnumerable<Cicm.Database.Models.StorageByMachine>
|
||||||
|
|
||||||
@{
|
@{
|
||||||
@@ -38,28 +39,32 @@
|
|||||||
<h2>Index</h2>
|
<h2>Index</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<a asp-action="Create">Create New</a>
|
<a asp-action="Create"
|
||||||
|
class="btn btn-primary">
|
||||||
|
Create New
|
||||||
|
</a>
|
||||||
</p>
|
</p>
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Type)
|
@Html.DisplayNameFor(model => model.Type)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Interface)
|
@Html.DisplayNameFor(model => model.Interface)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Capacity)
|
@Html.DisplayNameFor(model => model.Capacity)
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@Html.DisplayNameFor(model => model.Machine)
|
@Html.DisplayNameFor(model => model.Machine)
|
||||||
</th>
|
</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach (var item in Model) {
|
@foreach(StorageByMachine item in Model)
|
||||||
|
{
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
@Html.DisplayFor(modelItem => item.Type)
|
@Html.DisplayFor(modelItem => item.Type)
|
||||||
@@ -74,11 +79,23 @@
|
|||||||
@Html.DisplayFor(modelItem => item.Machine.Name)
|
@Html.DisplayFor(modelItem => item.Machine.Name)
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
|
<a asp-action="Details"
|
||||||
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
|
asp-route-id="@item.Id"
|
||||||
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
|
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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
Reference in New Issue
Block a user