139 lines
6.1 KiB
Plaintext
139 lines
6.1 KiB
Plaintext
@using Weee.Models.ExtensionMethods
|
|
@using Weee.DAL
|
|
@using Weee.Models
|
|
|
|
@model Weee.ViewModels.WeeeCarbonFootprintViewModel
|
|
|
|
@{
|
|
Layout = "~/Views/Shared/_Layout.cshtml";
|
|
}
|
|
|
|
<div ng-app="CarbonFootprint" id="CarbonFootprint" class="clearfix">
|
|
<div ng-controller="MainCtrl" body-height>
|
|
<nav class="navbar navbar-expand-lg navbar-light subnav_bg" style="background-color: #EBEBEB;">
|
|
<div class="survey_form_order_wrap nav-item">
|
|
<a href="@ViewBag.baseUrl/app#LCA/LCA">
|
|
@*<div class="survey_form_order_img inventory_img">
|
|
<div class="inventory_img" ng-class="{ active : isActive('LCA') }"></div>
|
|
</div>*@
|
|
<div ng-class="{ 'nav-active' : isActive('LCA') }">@Resource.StaticLabelGlobal_Interrogation</div>
|
|
</a>
|
|
</div>
|
|
@*if (@User.Identity.GetUserAccountType(new WeeeDataContext()) == 2)
|
|
{
|
|
<div class="survey_form_order_wrap nav-item">
|
|
<a href="#Product/Index">
|
|
@ *<div class="survey_form_order_img">
|
|
<div class="product_img" ng-class="{ active : isActive('Product') }"></div>
|
|
</div>* @
|
|
<div ng-class="{ 'nav-active' : isActive('Product') }">@Resource.StaticLabelGlobal_Audit</div>
|
|
</a>
|
|
</div>
|
|
}*@
|
|
|
|
@if (@User.Identity.GetUserAccountType(new WeeeDataContext()) == ACCOUNT_TYPE.FULL_FUNCTION)
|
|
{
|
|
<div class="survey_form_order_wrap nav-item" style="display: inline-block;">
|
|
<a href="@ViewBag.baseUrl/app#Product/Index">
|
|
@*<div class="survey_form_order_img">
|
|
<div class="product_img" ng-class="{ active : isActive('Product') }"></div>
|
|
</div>*@
|
|
<div ng-class="{ 'nav-active' : isActive('Product') }">@Resource.StaticLabelGlobal_Product</div>
|
|
</a>
|
|
</div> }
|
|
<div class="survey_form_order_wrap nav-item">
|
|
<a href="@ViewBag.baseUrl/app#Fab/Index">
|
|
@*<div class="survey_form_order_img">
|
|
<div class="fab_img" ng-class="{ active : isActive('Fab') }"></div>
|
|
</div>*@
|
|
<div ng-class="{ 'nav-active' : isActive('Fab') }">@Resource.StaticLabelGlobal_Fab</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="survey_form_order_wrap nav-item">
|
|
<a href="@ViewBag.baseUrl/app#Report/Index">
|
|
@*<div class="survey_form_order_img">
|
|
<div class="report_img" ng-class="{ active : isActive('Report') }"></div>
|
|
</div>*@
|
|
<div ng-class="{ 'nav-active' : isActive('Report') }">@Resource.StaticLabelGlobal_ReportForm</div>
|
|
</a>
|
|
</div>
|
|
@if (User.Identity.IsCompanyAdmin(new WeeeDataContext()))
|
|
{
|
|
<div class="survey_form_order_wrap nav-item">
|
|
<a href="@ViewBag.baseUrl/app#Management/Index">
|
|
@*<div class="survey_form_order_img">
|
|
<div class="management_img" ng-class="{ active : isActive('Management') }"></div>
|
|
</div>*@
|
|
<div ng-class="{ 'nav-active' : isActive('Management') }">@Resource.StaticLabelManagement</div>
|
|
</a>
|
|
</div>
|
|
}
|
|
</nav>
|
|
<div class="survey_form_body_wrap clearfix">
|
|
<div class="body">
|
|
<div class="loading_wrap" id="loindCirclePNG">
|
|
<div class="loading">
|
|
<img src="~/Browser_Local/img/loadingcircle.png" />
|
|
</div>
|
|
</div>
|
|
<div ng-view>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<footer class="copyright_wrap" style="display:@(Model.ID > 0 ? "":"none")">
|
|
<div class="copyright">
|
|
@if (!string.IsNullOrWhiteSpace(Model.footerAddress))
|
|
{
|
|
<p>@Resource.StaticLabelAddress: @Model.footerAddress</p>
|
|
}
|
|
@if (!string.IsNullOrWhiteSpace(Model.footerPhone) || !string.IsNullOrWhiteSpace(Model.footerFax))
|
|
{
|
|
<p>
|
|
@(string.IsNullOrWhiteSpace(Model.footerPhone) ? "": (Resource.UserPhoneNumber + ": "+ Model.footerPhone))
|
|
@(string.IsNullOrWhiteSpace(Model.footerFax) ? "": (Resource.Fax + ": "+ Model.footerFax))
|
|
</p>
|
|
}
|
|
@if (!string.IsNullOrWhiteSpace(Model.footerEmail))
|
|
{
|
|
<p>E-mail: @Model.footerEmail</p>
|
|
}
|
|
@if (!string.IsNullOrWhiteSpace(Model.footerCopyright))
|
|
{
|
|
<p>Copyright © @Model.footerCopyright</p>
|
|
}
|
|
</div>
|
|
</footer>
|
|
|
|
@section PageStyles
|
|
{
|
|
@*Styles.Render("~/Browser_Local")*@
|
|
<link href="~/Content/angular-ui-notification.css" rel="stylesheet" />
|
|
<link href="~/Browser_Local/css/html5-doctor-reset-stylesheet.css" rel="stylesheet" />
|
|
<link href="~/Browser_Local/css/table_view.css" rel="stylesheet" />
|
|
<link href="~/Browser_Local/css/simapro.css" rel="stylesheet" />
|
|
<link href="~/Browser_Local/css/datepicker.css" rel="stylesheet" />
|
|
<link href="~/Browser_Local/css/normal_table.css" rel="stylesheet" />
|
|
<link href="~/Browser_Local/css/input.css" rel="stylesheet" />
|
|
<link href="~/Browser_Local/css/popout.css" rel="stylesheet" />
|
|
<link href="~/Browser_Local/css/table_edit.css" rel="stylesheet" />
|
|
<link href="~/Browser_Local/css/quality.css" rel="stylesheet" />
|
|
<link href="~/Browser_Local/css/reply_mode.css" rel="stylesheet" />
|
|
<link href="~/Browser_Local/css/loading.css" rel="stylesheet" />
|
|
<link href="~/Browser_Local/css/validate.css" rel="stylesheet" />
|
|
<link href="~/Browser_Local/css/tooltip.css" rel="stylesheet" />
|
|
<link href="~/Browser_Local/css/image.css" rel="stylesheet" />
|
|
}
|
|
|
|
@section PageScripts
|
|
{
|
|
@Scripts.Render(Url.Content( "~/chartjs"))
|
|
@Scripts.Render(Url.Content("~/linq"))
|
|
@Scripts.Render(Url.Content("~/moment"))
|
|
@Scripts.Render(Url.Content("~/survey"))
|
|
}
|