demo20230512/Areas/admin/Views/Home/Index.cshtml
2023-05-12 10:20:28 +08:00

92 lines
3.2 KiB
Plaintext

@using Resources
@model Weee.Areas.Admin.ViewModels.HomeViewModel
@{
ViewBag.Title = Resource.HomePage;
Layout = "~/Areas/admin/Views/Shared/_AdminLayout.cshtml";
}
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading">@Resource.NewApplicantCompany</div>
<div class="panel-body">
<table class="table table-bordered table-hover">
<thead>
<tr>
<th>@Resource.CompanyName</th>
<th>@Resource.CEOName</th>
<th>@Resource.CompanyRegisterDate</th>
<th>@Resource.EnabledStatus</th>
</tr>
</thead>
<tbody>
@foreach (var normalCompany in Model.NormalCompanies)
{
<tr>
<td>@normalCompany.Name</td>
<td>@normalCompany.CEOName</td>
<td>@normalCompany.RegisterDate.ToLongDateString()</td>
<td>@normalCompany.Status</td>
</tr>
}
</tbody>
</table>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">@Resource.NewApplicantCertificationUnit</div>
<div class="panel-body">
<table class="table table-bordered table-hover">
<thead>
<tr>
<th>@Resource.CompanyName</th>
<th>@Resource.CEOName</th>
<th>@Resource.CompanyRegisterDate</th>
<th>@Resource.EnabledStatus</th>
</tr>
</thead>
<tbody>
@foreach (var certificationCompany in Model.CertificationCompanies)
{
<tr>
<td>@certificationCompany.Name</td>
<td>@certificationCompany.CEOName</td>
<td>@certificationCompany.RegisterDate.ToLongDateString()</td>
<td>@certificationCompany.Status</td>
</tr>
}
</tbody>
</table>
</div>
</div>
<h2></h2>
<div class="panel panel-default">
<div class="panel-heading">@Resource.MyInterrogation</div>
<div class="panel-body">
<table class="table table-bordered table-hover">
<thead>
<tr>
<th>@Resource.LCAType</th>
<th>@Resource.Starter</th>
<th>@Resource.StarterPhone</th>
<th>@Resource.CompanyName</th>
</tr>
</thead>
<tbody>
@foreach (var lca in Model.Lcas)
{
<tr>
<td>@lca.LCATypeDisplayName</td>
<td>@lca.LCAStarter</td>
<td>@lca.LCAStarterPhone</td>
<td>@lca.Owner.Name</td>
</tr>
}
</tbody>
</table>
</div>
</div>
</div>