Sha256: a7933b71856b9374cfecf95409cab5a75c5b8a3905df1ef11004943d77da2048

Contents?: true

Size: 1.1 KB

Versions: 1

Compression:

Stored size: 1.1 KB

Contents

<header>
  <h2>{{collectionName}} documents</h2>
</header>

<div class="tabbable">
  <div class="tab-pane" title="Documents">
    <pager page="page" total-pages="totalPages"></pager>

    <table class="table table-striped table-hover documents">
      <thead>
      <tr>
        <th>Data</th>
        <th class="actions">&nbsp;</th>
      </tr>
      </thead>
      <tbody>
      <tr ng-repeat="document in documents" class="document id-{{document.id}}">
        <td class="data" ng-bind-html="document.data | jsonDocument"></td>
        <td class="actions">
          <delete-button ng-click="delete(document)" />
        </td>
      </tr>
      </tbody>
    </table>

    <pager page="page" total-pages="totalPages"></pager>
  </div>

  <div class="tab-pane" title="Collection stats">
    <table class="table table-striped table-hover">
      <thead>
      <tr>
        <th>Property</th>
        <th>Value</th>
      </tr>
      </thead>
      <tbody>
      <tr ng-repeat="(property, value) in collectionStats">
        <td>{{property}}</td>
        <td>{{value}}</td>
      </tr>
      </tbody>
    </table>
  </div>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mongo_browser-0.2.0.rc2 app/assets/templates/documents.html