76 lines
2.9 KiB
Plaintext
76 lines
2.9 KiB
Plaintext
@page
|
|
@model EveryThing.Pages.AdministrationUsers.IndexModel
|
|
@{
|
|
ViewData["Title"] = "Index";
|
|
Layout = "~/Pages/Layouts/_Layout.cshtml";
|
|
}
|
|
|
|
<div class="card">
|
|
<div class="card-header">
|
|
<h5 class="d-flex justify-content-between align-items-center w-100 font-weight-bold py-0 mb-0">
|
|
Pregled podjetij
|
|
<a asp-page="Create" class="btn btn-sm btn-primary"><span class="ion ion-md-add"></span> Vnos novega podjetja</a>
|
|
</h5>
|
|
</div>
|
|
test
|
|
@*<table class="table card-table">
|
|
<thead>
|
|
<tr>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.Company[0].Title)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.Company[0].City)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.Company[0].Street)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.Company[0].Post)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.Company[0].TaxNumber)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.Company[0].Email)
|
|
</th>
|
|
<th style="width: 80px;"></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach (var item in Model.Company)
|
|
{
|
|
<tr>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.Title)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.City)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.Street) @Html.DisplayFor(modelItem => item.HouseNumber)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.PostNumber) @Html.DisplayFor(modelItem => item.Post)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.RegistrationNumber)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.Email)
|
|
</td>
|
|
<td>
|
|
<a class="btn btn-xs icon-btn btn-outline-primary borderless" asp-page="./Details" asp-route-id="@item.IdCompany" data-toggle="tooltip" data-placement="top" title="Podrobnosti" data-state="primary"><i class="fas fa-info"></i></a>
|
|
<a class="btn btn-xs icon-btn btn-outline-secondary borderless" asp-page="./Edit" asp-route-id="@item.IdCompany" data-toggle="tooltip" data-placement="top" title="Urejanje" data-state="secondary"><i class="fas fa-pencil-alt"></i></a>
|
|
</td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>*@
|
|
</div>
|
|
|
|
@section Scripts {
|
|
<script>
|
|
$('[data-toggle="tooltip"]').tooltip({container: 'table'});
|
|
</script>
|
|
} |