Advertisement
Guest User

Untitled

a guest
Feb 21st, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.35 KB | None | 0 0
  1. <!-- XS table -->
  2.     <ul class="bb-xs-table visible-xs">
  3.         <li ng-repeat="user in vm.users | limitTo: vm.pagination.perPage : (vm.pagination.currentPage - 1) * vm.pagination.perPage  track by user.Id">
  4.             <div class="xs-table-item-content" ng-click="user.isExpanded = !user.isExpanded">
  5.                 <span class="main-header-item">
  6.                     {{user.Username}}
  7.                 </span>
  8.                 <div class="right-side">
  9.                     <span class="expand-arrow">
  10.                         <i class="fa {{user.isExpanded ? 'fa-angle-down' : 'fa-angle-right'}}"></i>
  11.                     </span>
  12.                 </div>
  13.             </div>
  14.            
  15.             <ul class="xs-subtable" ng-show="user.isExpanded">
  16.                 <!-- Id -->
  17.                 <li>
  18.                     <div class="xs-subtable-item-content">
  19.                         <span>{{'LABEL.ID' | translate}}</span>
  20.                         <span class="pull-right">
  21.                             {{user.Id}}
  22.                         </span>
  23.                     </div>
  24.                 </li>
  25.                
  26.                 <!-- FirstName -->
  27.                 <li>
  28.                     <div class="xs-subtable-item-content">
  29.                         <span>{{'LABEL.FIRST_NAME' | translate}}</span>
  30.                         <span class="pull-right">
  31.                             {{user.FirstName}}
  32.                         </span>
  33.                     </div>
  34.                 </li>
  35.                
  36.                 <!-- LastName -->
  37.                 <li>
  38.                     <div class="xs-subtable-item-content">
  39.                         <span>{{'LABEL.LAST_NAME' | translate}}</span>
  40.                         <span class="pull-right">
  41.                             {{user.LastName}}
  42.                         </span>
  43.                     </div>
  44.                 </li>
  45.                
  46.                 <!-- Active -->
  47.                 <li>
  48.                     <div class="xs-subtable-item-content">
  49.                         <span>{{'LABEL.ACTIVE' | translate}}</span>
  50.                         <span class="pull-right">
  51.                             <i data-ng-class="(user.Active == true) ? 'fa fa-check color-green' : 'fa fa-ban color-red'"></i>
  52.                         </span>
  53.                     </div>
  54.                 </li>
  55.             </ul>
  56.         </li>
  57.     </ul>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement