demo20230512/Views/Partial/Report/Index.cshtml

87 lines
4.9 KiB
Plaintext
Raw Normal View History

2023-05-12 10:20:28 +08:00
<div class="survey_form" style="padding: 28px 16px">
<div class="survey_form_body">
<div class="tab_header">
<div class="active tab-toggle">
<div class="tab">@Resource.ReportList</div>
</div>
</div>
<div class="tab_content card content_bg">
<div style="margin: 20px">
@*<div class="body_content receive_tool_menu">
<form class="form-inline header_search" style="float: right">
<input class="form-control mr-sm-2" type="search" ng-model="searchText"
placeholder="@Resource.StaticLabelGlobal_Search" aria-label="Search">
</form>
</div>*@
<div class="body_content"
ng-model="currentPage"
ng-init="currentPage = 1">
<div class="table-responsive">
<div class="table_overflow">
<table class="table">
<!-- Table header -->
<thead>
<tr class="table-active" style="text-align:left">
<th>@Resource.LCAid</th>
<th>@Resource.LCAname</th>
<th>@Resource.SurveyProject</th>
<th>@Resource.LCAdataReport</th>
<th>@Resource.ProductCarbonFootprintInventory</th>
<th>@Resource.CarbonFootprintReport</th>
<th>@Resource.RiskAssessmentReport</th>
</tr>
</thead>
<!-- Table row -->
<tbody>
<tr ng-repeat="report in reportList | filter : searchText | orderBy : predicate : reverse | smarterLimitTo : 10 : (currentPage - 1) * 10">
<td ng-bind="report.ID"></td>
@*CFT-88*@
<td ng-bind="report.LCAname"></td>
@*CFT-88*@
<td ng-bind="report.Description"></td>
<td>
<a class="inline_link"
ng-show="report.LCAdataRptUrl"
ng-href="{{ report.LCAdataRptUrl }}">
@Resource.DownloadLink
</a>
<a class="inline_link"
ng-show="report.ProductInventoryResultUrl"
ng-href="{{ report.ProductInventoryResultUrl }}">
@Resource.DownloadLink
</a>
</td>
<td>
<a class="inline_link"
ng-show="report.InterrogationResultUrl"
ng-href="{{ report.InterrogationResultUrl }}">
@Resource.DownloadLink
</a>
</td>
<td>
<a class="inline_link"
ng-show="report.CarbonFootprintDocxUrl"
ng-href="{{ report.CarbonFootprintDocxUrl }}">
@Resource.DownloadLink
</a>
</td>
<td>
<a class="inline_link"
ng-show="report.LCAriskRptUrl"
ng-href="{{ report.LCAriskRptUrl }}">
@Resource.DownloadLink
</a>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<page passed-total-page="Math.ceil((reportList | filter : searchText).length / 10)" passed-current-page="currentPage"></page>
</div>
</div>
</div>
</div>