domain-list.html 1.27 KB
Newer Older
1
<div class="navbar">
2 3 4 5 6 7 8 9 10 11 12 13 14
  <div class="navbar-inner">
    <div class="pagination pull-left">
      <ul>
        <li ng-click="prevPage()" ng-class="{disabled: page == 1}">
          <a href>Előző</a>
        </li>
        <li ng-repeat="_page in pages" ng-click="setPage(_page)" ng-class="{active: _page == page}">
          <a href>{{_page}}</a>
        </li>
        <li ng-click="nextPage()" ng-class="{disabled: page == pages.length}">
          <a href>Next</a>
        </li>
      </ul>
15
    </div>
16
    <form class="navbar-search" style="margin: 20px">
17 18 19
      <input type="text" class="search-query" placeholder="Search" ng-model="query">
    </form>
    <a style="margin-top: 19px" href="#/domains/new" class="btn">New domain</a>
20
  </div>
21 22
</div>
<table class="table table-striped">
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
  <tr>
    <th>Név</th>
    <th>TTL</th>
    <th>Leírás</th>
    <th colspan="2">Tulajdonos</th>
  </tr>
  <tr ng-repeat="domain in getPage()">
    <td>
      <a href="#/domains/{{domain.id}}">{{domain.name}}</a>
    </td>
    <td>{{domain.ttl}}</td>
    <td>{{domain.description}}</td>
    <td>{{domain.owner.name}}</td>
    <td>
      <a class="btn" href="#/domains/{{domain.id}}/">Szerkesztés</a>
      <a class="btn btn-danger" href="#/domains/{{domain.id}}/delete/">Törlés</a>
    </td>
  </tr>
41
</table>