demo20230512/Views/Partial/templates/header_content.cshtml
2023-05-12 10:20:28 +08:00

105 lines
8.0 KiB
Plaintext

<div class="body_content" style="margin-top: 10px;">
<div ng-hide="LCA_Status_Now == 2">
<div ng-show="!selectPCRforHighLevelCalculate">
<div class="header_image_button" ng-style="{backgroundImage: header_image1}"
ng-click="Add()" ng-show="!Table_Edit_State && !Schedule_Table && enableAdd()"
ng-mouseover="headerImageChange(1, 2)" ng-mouseleave="headerImageChange(1, 1)">
<div class="tooltip" ng-show="show1"><div ng-style="{width: tooltipWidth(1)}">{{HeaderContent[0]}}</div><div></div></div>
</div>
<div class="header_image_button" ng-style="{backgroundImage: header_image2}"
ng-click="AddChild()" ng-show="!Table_Edit_State && !Schedule_Table && LCA_Status_Now != 0 && Enable_Add_Child"
ng-mouseover="headerImageChange(2, 2)" ng-mouseleave="headerImageChange(2, 1)">
<div class="tooltip" ng-show="show2"><div ng-style="{width: tooltipWidth(2)}">{{HeaderContent[1]}}</div><div></div></div>
</div>
<div class="header_image_button" ng-style="{backgroundImage: header_image4}"
ng-click="Edit()" ng-show="!Table_Edit_State && !parentCantEdit() && (targetRow != -1 || targetChildRow != -1)"
ng-mouseover="headerImageChange(4, 2)" ng-mouseleave="headerImageChange(4, 1)">
<div class="tooltip" ng-show="show4"><div ng-style="{width: tooltipWidth(4)}">{{HeaderContent[3]}}</div><div></div></div>
</div>
<div class="header_image_button" ng-style="{backgroundImage: header_image5}"
ng-click="Done()" ng-hide="!Table_Edit_State || !Schedule_Table"
ng-mouseover="headerImageChange(5, 2)" ng-mouseleave="headerImageChange(5, 1)">
<div class="tooltip" ng-show="show5"><div ng-style="{width: tooltipWidth(5)}">{{HeaderContent[4]}}</div><div></div></div>
</div>
<div class="header_image_button" ng-style="{backgroundImage: header_image6}"
ng-click="Delete()" ng-show="!Table_Edit_State && !Schedule_Table && undelete() && (targetRow != -1 || targetChildRow != -1)"
ng-mouseover="headerImageChange(6, 2)" ng-mouseleave="headerImageChange(6, 1)">
<div class="tooltip" ng-show="show6"><div ng-style="{width: tooltipWidth(6)}">{{HeaderContent[5]}}</div><div></div></div>
</div>
<div class="header_image_button" ng-style="{backgroundImage: header_image7}"
ng-click="Cancel()" ng-hide="!Table_Edit_State || !Schedule_Table"
ng-mouseover="headerImageChange(7, 2)" ng-mouseleave="headerImageChange(7, 1)">
<div class="tooltip" ng-show="show7"><div ng-style="{width: tooltipWidth(7)}">{{HeaderContent[6]}}</div><div></div></div>
</div>
<div class="header_image_button" ng-style="{backgroundImage: header_image8}"
ng-click="UploadCSV()" ng-show="!Table_Edit_State && showUpload()" id="uploadcsv"
ng-mouseover="headerImageChange(8, 2)" ng-mouseleave="headerImageChange(8, 1)">
<div class="tooltip" ng-show="show8"><div ng-style="{width: tooltipWidth(8)}">{{HeaderContent[7]}}</div><div></div></div>
</div>
<div class="header_image_button" ng-style="{backgroundImage: header_image9}"
ng-click="DownloadCSV()" ng-show="!Table_Edit_State"
ng-mouseover="headerImageChange(9, 2)" ng-mouseleave="headerImageChange(9, 1)">
<div class="tooltip" ng-show="show9"><div ng-style="{width: tooltipWidth(9)}">{{HeaderContent[8]}}</div><div></div></div>
</div>
<div class="header_image_button" ng-style="{backgroundImage: header_image3}"
ng-click="simapro = true" ng-show="showSimapro()"
ng-mouseover="headerImageChange(3, 2)" ng-mouseleave="headerImageChange(3, 1)">
<div class="tooltip" ng-show="show3"><div ng-style="{width: tooltipWidth(3)}">{{HeaderContent[2]}}</div><div></div></div>
</div>
<div class="header_image_button" ng-style="{backgroundImage: header_image12}"
ng-click="CollapseAllChild()" ng-show="isMaterial() && LCA_Status_Now != 0 && !Table_Child_Edit_State && !show_table_edit"
ng-mouseover="headerImageChange(12, 2)" ng-mouseleave="headerImageChange(12, 1)">
<div class="tooltip" ng-show="show12"><div ng-style="{width: tooltipWidth(12)}">{{HeaderContent[11]}}</div><div></div></div>
</div>
<div class="header_image_button" ng-style="{backgroundImage: header_image17}"
ng-mouseover="headerImageChange(17, 2)" ng-mouseleave="headerImageChange(17, 1)"
ng-click="quoteCurrentTableData()" ng-show="!Table_Edit_State && showUpload()">
<div class="tooltip" ng-show="show17"><div ng-style="{width: tooltipWidth(17)}">{{HeaderContent[16]}}</div><div></div></div>
</div>
<div class="header_image_button" ng-style="{backgroundImage: header_image11}"
ng-mouseover="headerImageChange(11, 2)" ng-mouseleave="headerImageChange(11, 1)"
ng-click="search_box = !search_box" ng-show="!Table_Edit_State && notMonthlyTable()">
<div class="tooltip" ng-show="show11"><div ng-style="{width: tooltipWidth(11)}">{{HeaderContent[10]}}</div><div></div></div>
</div>
<div class="header_search" ng-show="!Table_Edit_State">
<input type="text" ng-model="searchText" ng-class="{expand: search_box}" class="transition" />
</div>
</div>
<div ng-hide="!selectPCRforHighLevelCalculate">
<div class="header_image_button" ng-style="{backgroundImage: header_image13}"
ng-click="HighLevelCalculateDone()" ng-mouseover="headerImageChange(13, 2)" ng-mouseleave="headerImageChange(13, 1)">
<div class="tooltip" ng-show="show13"><div ng-style="{width: tooltipWidth(13)}">{{HeaderContent[12]}}</div><div></div></div>
</div>
<div class="header_image_button" ng-style="{backgroundImage: header_image14}"
ng-click="PCRforHighLevelCalculate()" ng-mouseover="headerImageChange(14, 2)" ng-mouseleave="headerImageChange(14, 1)">
<div class="tooltip" ng-show="show14"><div ng-style="{width: tooltipWidth(14)}">{{HeaderContent[13]}}</div><div></div></div>
</div>
<div class="PCR_percentage">
{{KgCO2e_select_count}} / {{KgCO2e_total_count}} {{percentage_compare}} {{PCR_percentage}}%
</div>
</div>
</div>
<br /><br /><br />
<div class="header_title" style="line-height: 36px;">
@Resource.ProductName : {{ product_survey.Product_Selected.Name }}
<div class="survey_order_btn" ng-click="toNextLCAStatus(5)" ng-show="!Table_Edit_State && (LCA_Status_Now == 0 || LCA_Status_Now == 4) && !selectPCRforHighLevelCalculate">
{{HeaderContent[15]}}
</div>
<div class="survey_order_btn" ng-click="PCRforHighLevelCalculate()" ng-show="!Table_Edit_State && LCA_Status_Now == 0 && !selectPCRforHighLevelCalculate">
{{HeaderContent[9]}}
</div>
<div class="survey_order_btn" ng-click="toNextLCAStatus(1)" ng-show="(LCA_Status_Now == 1 || LCA_Status_Now == 3) && !Table_Edit_State && !Table_Child_Edit_State && !selectPCRforHighLevelCalculate">
{{HeaderContent[14]}}
</div>
</div>
<div class="header_title" ng-show="usage_table">
<div style="float: left; margin-right: 4px;">@Resource.Area : </div>
<div style="float: left; width: 89px; overflow: hidden; line-height: 20px; border: 1px solid rgb(214, 214, 214);">
<select ng-model="Usage_Area_Selected" ng-options="ua for ua in Usage_Area"
ng-change="UsageTableAreaSelect()"
style="width: 106px; background-position: 69px 2px;">
<option value="">-- @Resource.StaticLabelGlobal_Select --</option>
</select>
</div>
</div>
</div>