131 lines
3.7 KiB
Plaintext
131 lines
3.7 KiB
Plaintext
@using X.PagedList.Mvc.Core;
|
|
@using X.PagedList.Web.Common;
|
|
@using X.PagedList;
|
|
@model IPagedList<VirtualTask.Models.Registrazione>
|
|
|
|
@{
|
|
ViewData["Title"] = "Index";
|
|
}
|
|
|
|
<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>
|