iegorov
11/20/2014 - 5:12 AM

Simple table

Simple table

<!-- BEGIN: USERS LIST -->
<table class="table table-striped voffset5">
  <thead>
    <th>ID</th>
    <th>ФИО, логин, email, тел.</th>
    <th>ЛС и адреса</th>
    <th>Дата рег.</th>
    <th>Статус</th>
    <th></th>
  </thead>
  <tbody>
    <tr ng-repeat='user in users | orderBy:predicate:reverse'>
      <td>{{user.id}}</td>
      <td>
        {{user.fullName}}<br />
        <small>{{user.nickname}}</small><br />
        <small>{{user.email}}</small><br />
        <small>{{user.phone}}</small>
      </td>
      <td>
        <div ng-repeat="(key, address) in user.addressList">
          <strong>{{address.personalAccount}}</strong><br />
          <nobr>{{address.address}}</nobr><br />
          <small>{{address.place}}</small>
          <hr />
        </div>
      </td>
      <td>{{user.dateOfReg}}</td>
      <td>{{user.status}}</td>
      <td>
        <nobr>
        <a class="btn-link" ng-click="editAdmin()">
        <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span></a>
        <a class="btn-link"><span class="glyphicon glyphicon-remove" aria-hidden="true"></span></a>
        </nobr>
      </td>
    </tr>
  </tbody>
</table>
<!-- END: USERS LIST -->