230 lines
8.1 KiB
Plaintext
230 lines
8.1 KiB
Plaintext
@using X.PagedList.Mvc.Core;
|
|
@using X.PagedList.Web.Common;
|
|
@using X.PagedList;
|
|
@model IPagedList<VirtualTask.Models.Registrazione>
|
|
|
|
@{
|
|
ViewData["Title"] = "Registrazione";
|
|
Layout = "~/Views/Shared/_LayoutAreaRiservata.cshtml";
|
|
}
|
|
|
|
|
|
<div class="agy-project-wrapper agy-project-page-wrapper">
|
|
<div class="container">
|
|
<div class="row">
|
|
|
|
<p>
|
|
<a asp-action="Create" class="info-data"><img src="~/assets/images/icons8-nuovo-50.png" alt="Crea un nuovo elemento" /></a>
|
|
</p>
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th>ID</th>
|
|
<th>NOME</th>
|
|
<th>COGNOME</th>
|
|
<th>TELEFONO</th>
|
|
<th>CELLULARE</th>
|
|
<th>EMAIL</th>
|
|
<th>EMAIL CONFERMA</th>
|
|
<th>AZIENDA</th>
|
|
<th>USERNAME</th>
|
|
<th>PASSWORD</th>
|
|
<th>CITTA'</th>
|
|
<th>PROVINCIA</th>
|
|
<th>NAZIONE</th>
|
|
<th>ATTIVATO</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach (var item in Model)
|
|
{
|
|
<tr>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.id)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.nome)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.cognome)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.telefono)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.cellulare)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.email)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.emailConf)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.azienda)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.username)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.passwd)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.citta)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.provincia)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.nazione)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.attivato)
|
|
</td>
|
|
|
|
<td>
|
|
<a href="@Url.Action("Edit", "Registrazioni", new { id=item.id })" title="Modifica" class="links">
|
|
<img alt="Modifica" src="@Url.Content("~/assets/images/icons8-modificare-64.png")" style="width:30px;height:30px;">
|
|
</a>
|
|
|
|
|
<a href="@Url.Action("Details", "Registrazioni", new { id=item.id })" title="Dettaglio" class="links">
|
|
<img alt="Dettaglio" src="@Url.Content("~/assets/images/icons8-visualizza-file-64.png")" style="width:30px;height:30px;">
|
|
</a>
|
|
|
|
|
<a href="@Url.Action("Delete", "Registrazioni", new { id=item.id })" title="Elimina" class="links">
|
|
<img alt="Elimina" src="@Url.Content("~/assets/images/icons8-elimina-50.png")" style="width:30px;height:30px;">
|
|
</a>
|
|
</td>
|
|
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@* <h1>Index</h1>
|
|
|
|
<p>
|
|
<a asp-action="Create">Nuovo</a>
|
|
</p>
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th> *@
|
|
@* @Html.DisplayNameFor(model => model.id) *@
|
|
@* ID
|
|
</th>
|
|
<th> *@
|
|
@* @Html.DisplayNameFor(model => model.nome) *@
|
|
@* NOME
|
|
</th>
|
|
<th> *@
|
|
@* @Html.DisplayNameFor(model => model.cognome) *@
|
|
@* COGNOME
|
|
</th>
|
|
<th> *@
|
|
@* @Html.DisplayNameFor(model => model.telefono) *@
|
|
@* TELEFONO
|
|
</th>
|
|
<th> *@
|
|
@* @Html.DisplayNameFor(model => model.cellulare) *@
|
|
@* CELLULARE
|
|
</th>
|
|
<th> *@
|
|
@* @Html.DisplayNameFor(model => model.email) *@
|
|
@* EMAIL
|
|
</th>
|
|
<th> *@
|
|
@* @Html.DisplayNameFor(model => model.emailConf) *@
|
|
@* EMAIL CONFERMA
|
|
</th>
|
|
<th> *@
|
|
@* @Html.DisplayNameFor(model => model.azienda) *@
|
|
@* AZIENDA
|
|
</th>
|
|
<th> *@
|
|
@* @Html.DisplayNameFor(model => model.username) *@
|
|
@* USERNAME
|
|
</th>
|
|
<th> *@
|
|
@* @Html.DisplayNameFor(model => model.passwd) *@
|
|
@* PASSWORD
|
|
</th>
|
|
<th> *@
|
|
@* @Html.DisplayNameFor(model => model.citta) *@
|
|
@* CITTA'
|
|
</th>
|
|
<th> *@
|
|
@* @Html.DisplayNameFor(model => model.provincia) *@
|
|
@* PROVINCIA
|
|
</th>
|
|
<th> *@
|
|
@* @Html.DisplayNameFor(model => model.nazione) *@
|
|
@* NAZIONE
|
|
</th>
|
|
<th> *@
|
|
@* @Html.DisplayNameFor(model => model.attivato) *@
|
|
@* ATTIVATO
|
|
</th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach (var item in Model) {
|
|
<tr>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.id)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.nome)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.cognome)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.telefono)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.cellulare)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.email)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.emailConf)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.azienda)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.username)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.passwd)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.citta)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.provincia)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.nazione)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.attivato)
|
|
</td>
|
|
<td>
|
|
@Html.ActionLink("Modifica", "Edit", new { id=item.id }) |
|
|
@Html.ActionLink("Dettaglio", "Details", new { id=item.id }) |
|
|
@Html.ActionLink("Elimina", "Delete", new { id=item.id })
|
|
</td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table> *@
|