demo20230512/Areas/Lca/Views/Shared/_RiskSideBar.cshtml
2023-05-12 10:20:28 +08:00

37 lines
1.2 KiB
Plaintext

@using Resources
@{
var LCAID = ViewBag.LCAID;
var activeRisk = ViewBag.activeRisk;
var materialTransportClass = "Item";
if (activeRisk == "materialTransport") {
materialTransportClass = "Item_Active";
}
}
<div class="side_bar_right_vertical_line" style="height: 812px;"><div></div></div>
<div class="side_bar" lca-detail>
<div style="clear: both; width: 100%; height: 28px; position: relative;">
<a href="@ViewBag.baseUrl/app#/LCA/Detail/@LCAID" class="Item">
<div>@Resource.StaticLabelLCAInfo</div>
<div class="sidebar_triangle"></div>
</a>
</div>
<div style="clear: both; width: 100%; height: 28px; position: relative;">
<a href="@ViewBag.baseUrl/app#/LCA/RiskAssmtLayout/@LCAID" class="Item">
<div>@Resource.RiskAssmt</div>
<div class="sidebar_triangle"></div>
</a>
</div>
<div style="clear: both; width: 100%; height: 28px; position: relative;">
<a href="/LCA/RiskMaterialTransport/Index?LCAID=@LCAID" class="@materialTransportClass">
<div>@Resource.MaterialTransport</div>
<div class="sidebar_triangle"></div>
</a>
</div>
</div>