Sha256: 79c324b505b6d63922d093a9c54b92d84bae9f0539e25300e229ff7c3eb1ee63

Contents?: true

Size: 847 Bytes

Versions: 3

Compression:

Stored size: 847 Bytes

Contents

<div class="panel panel-primary" ng-controller="NodesController as nodes">
  <!-- Default panel contents -->
  <div class="panel-heading">Nodes <span class="badge">{{ nodes.all.length }}</span></div>

  <!-- Table -->
  <table class="table table-striped table-hover">
    <thead>
      <tr>
        <th>#</th>
        <th>Node</th>
        <th>Status</th>
        <th># of reports</th>
        <th>Last run</th>
      </tr>
    </thead>
    <tbody>
      <tr ng-repeat="node in nodes.all | orderBy:'last_run'">
        <td>{{ $index + 1 }}</td>
        <td>{{ node.name }}</td>
        <td><ng-status-button
          status="node.status"
          id="node.id"
          route="'/node/:id'"></ng-status-button></td>
        <td>{{ node.no_of_reports }}</td>
        <td am-time-ago="node.last_run"></td>
      </tr>
    </tbody>
  </table>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
puppet-herald-0.2.0 lib/puppet-herald/public/nodes/nodes.html
puppet-herald-0.1.1 lib/puppet-herald/public/nodes/nodes.html
puppet-herald-0.1.0 lib/puppet-herald/public/nodes/nodes.html