Advertisement
tatdat171

IMporterListKPI

Mar 19th, 2015
307
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 7.51 KB | None | 0 0
  1. <div ng-controller="ImporterKPIsCtrl">
  2.     <div class="row m-b-sm">
  3.         <div class="col-md-12 no-padder-left no-padder-right">
  4.             <div class="input-group">
  5.                 <span class="input-group-addon no-radius"><i class="faa-tada animated fa fa-search"></i></span>
  6.                 <input class="form-control no-radius" ng-model="Search.Search" placeholder="Tìm kiếm chỉ số" />
  7.             </div>
  8.         </div>
  9.     </div>
  10.     <div class="row">
  11.         <div class="col-md-12 no-padder-left no-padder-right">
  12.             <div class="table-responsive">
  13.                 <script type="text/ng-template" id="ModalAddImporterKPI.html">
  14.                     <div ng-include="'app/Components/Importer/Generate/Components/KPIs/ModalUpdateImporterKPI.html'">
  15.                     </div>
  16.                 </script>
  17.                 <table class="table table-responsive table-hover table-wordwrap bg-light no-bottom">
  18.                     <thead class="thead-report2">
  19.                         <tr>
  20.                             <th class="w-xs-p"><i class="fa fa-tags"></i> MÃ CS</th>
  21.                             <th class=""><i class="fa fa-info-circle"></i>&nbsp;CHỈ SỐ</th>
  22.                             <th class="hidden-panel-sm-hide" ng-class="{'tbl-chiso3':IsQuarter === true,'tbl-chiso2':IsQuarter === false}"><i class="fa fa-rss"></i>&nbsp;KH KỲ</th>
  23.                             <th ng-class="{'tbl-chiso3':IsQuarter === true,'tbl-chiso2':IsQuarter === false}"><i class="fa fa-rss"></i>&nbsp;KQ KỲ</th>
  24.                             <th class="tbl-chiso3 hidden-panel-sm-hide" ng-if="IsQuarter === true"><i class="fa fa-external-link-square"></i>&nbsp;KH QUÝ</th>
  25.                             <th class="tbl-chiso3" ng-if="IsQuarter === true"><i class="fa fa-external-link-square"></i>&nbsp;KQ QUÝ</th>
  26.                             <th class="hidden-panel-sm-hide" ng-class="{'tbl-chiso3':IsQuarter === true,'tbl-chiso2':IsQuarter === false}"><i class="fa fa-signal"></i>&nbsp;KH LKẾ</th>
  27.                             <th ng-class="{'tbl-chiso3':IsQuarter === true,'tbl-chiso2':IsQuarter === false}"><i class="fa fa-signal"></i>&nbsp;KQ LKẾ</th>
  28.                         </tr>
  29.                     </thead>
  30.                     <tbody>
  31.                         <tr ng-repeat="KPI in KPIs  | filter:Search">
  32.                             <td class="v-top w-xs-p">
  33.                                 <button class="btn btn-addon btn-sm m-t-xs button-gray {{KPI.SummaryInPutColor}} text-white w-full text-left">
  34.                                     <i class="fa fa-credit-card icon-Con"></i>{{KPI.KPIByYear.KPICode}}
  35.                                 </button>
  36.                             </td>
  37.                             <td class="v-top tbl-chiso-name">
  38.                                 <div class="panel pos-rlt b-a w-full h-full no-shadow no-bottom no-radius m-n">
  39.                                     <div class="panel-body no-padder font-bold">
  40.                                         <div class="wrapper-sm w-extend tbl-row no-padder-right" style="width:90%;" tooltip="{{KPI.KPI.KPIName}}&nbsp;&raquo;&nbsp;{{KPI.KPIMeasurementAtCompany}}">
  41.                                             <span class="h-line text-xs v-middle no-padder item-name" style="max-width:90%;">
  42.                                                 <span class="w-full" style="overflow: hidden; text-overflow: ellipsis; display:inline-block; white-space:nowrap;">{{KPI.KPI.KPIName}}&nbsp;&raquo;&nbsp;{{KPI.KPIMeasurementAtCompany | limitTo:4}}</span>
  43.                                             </span>
  44.                                         </div>
  45.                                     </div>
  46.                                 </div>
  47.                             </td>
  48.                             <td class="tbl-chiso2 hidden-panel-sm-hide">
  49.                                 <div class="panel pos-rlt b-a w-full h-full no-bottom no-shadow">
  50.                                     <div class="panel-body wrapper-sm b-info text-info font-bold padding-xxs-h tbl-row">
  51.                                         <span class="badge bg-lg bg-info text-right pull-right">{{KPI.KPIInPeriodTargetInMonth | numFormat:2}}</span>
  52.                                     </div>
  53.                                 </div>
  54.                             </td>
  55.                             <td class="tbl-chiso2">
  56.                                 <div class="panel pos-rlt b-a w-full h-full no-bottom no-shadow pointer-cur" ng-click="AddImporterKPI(KPI)">
  57.                                     <div class="panel-body wrapper-sm b-info text-info font-bold padding-xxs-h tbl-row button-{{KPI.KPIInPeriodColorInMonth}}">
  58.                                         <span class="badge bg-white bg-lg text-{{KPI.KPIInPeriodColorInMonth}} text-right pull-right">{{KPI.KPIInPeriodResultInMonth | numFormat:2}}</span>
  59.                                     </div>
  60.                                 </div>
  61.                             </td>
  62.                             <td class="tbl-chiso2 hidden-panel-sm-hide" ng-if="IsQuarter == true">
  63.                                 <div class="panel pos-rlt b-a w-full h-full no-bottom no-shadow">
  64.                                     <div class="panel-body wrapper-sm b-info text-info font-bold padding-xxs-h tbl-row">
  65.                                         <span class="badge bg-lg bg-info text-right pull-right">{{KPI.KPIInPeriodTargetInQuarter | numFormat:2}}</span>
  66.                                     </div>
  67.                                 </div>
  68.                             </td>
  69.                             <td class="tbl-chiso2" ng-if="IsQuarter === true">
  70.                                 <div class="panel pos-rlt b-a w-full h-full no-bottom no-shadow pointer-cur" ng-click="AddImporterKPI(KPI)">
  71.                                     <div class="panel-body wrapper-sm b-info text-info font-bold padding-xxs-h tbl-row button-{{KPI.KPIInPeriodColorInQuarter}}">
  72.                                         <span class="badge bg-white bg-lg text-{{KPI.KPIInPeriodColorInQuarter}} text-right pull-right">{{KPI.KPIInPeriodResultInQuarter | numFormat:2}}</span>
  73.                                     </div>
  74.                                 </div>
  75.                             </td>
  76.                             <td class="tbl-chiso2 hidden-panel-sm-hide">
  77.                                 <div class="panel pos-rlt b-a w-full h-full no-bottom no-shadow">
  78.                                     <div class="panel-body wrapper-sm b-info text-info font-bold padding-xxs-h tbl-row">
  79.                                         <span class="badge bg-lg bg-info text-right pull-right">{{KPI.KPIAccumulatedTargetInMonth | numFormat:2}}</span>
  80.                                     </div>
  81.                                 </div>
  82.                             </td>
  83.                             <td class="tbl-chiso2">
  84.                                 <div class="panel pos-rlt b-a w-full h-full no-bottom no-shadow pointer-cur" ng-click="AddImporterKPI(KPI)">
  85.                                     <div class="panel-body wrapper-sm b-info text-info font-bold padding-xxs-h tbl-row button-{{KPI.KPIAccumulatedColorInMonth}}">
  86.                                         <span class="badge bg-white bg-lg text-{{KPI.KPIAccumulatedColorInMonth}} text-right pull-right">{{KPI.KPIAccumulatedResultInMonth | numFormat:2}}</span>
  87.                                     </div>
  88.                                 </div>
  89.                             </td>
  90.                         </tr>
  91.                     </tbody>
  92.                 </table>
  93.             </div>
  94.         </div>
  95.     </div>
  96. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement