<div class="about-page system-page" ng-controller="SystemCtrl">
  <div class="container content">
    <div class="page-header">
      <h3 x-translate>System Information</h3>
    </div>
    <div class="row-fluid">
      <div class="span12">
        <dl class="dl-horizontal">
          <dt x-translate>Operating System</dt>
          <dd>{{info.osName}} {{info.osVersion}} [{{info.osArch}}]</dd>
          <dt x-translate>Java Runtime</dt>
          <dd>{{info.javaRuntime}}</dd>
          <dt x-translate>Java Version</dt>
          <dd>{{info.javaVersion}}</dd>
        </dl>
      </div>
    </div>
    <div class="page-header">
      <h3 x-translate>Memory Information</h3>
    </div>
    <div class="row-fluid">
      <div class="span12">
        <dl class="dl-horizontal">
          <dt x-translate>Total Memory</dt>
          <dd>{{info.memTotal}}</dd>
          <dt x-translate>Max Memory</dt>
          <dd>{{info.memMax}}</dd>
          <dt x-translate>Used Memory</dt>
          <dd>{{info.memUsed}}</dd>
          <dt x-translate>Free Memory</dt>
          <dd>{{info.memFree}}</dd>
        </dl>
      </div>
    </div>
    <div class="page-header" ng-show="info.users">
      <h3 x-translate>Active Users</h3>
    </div>
    <div class="row-fluid" ng-show="info.users">
      <div class="span12">
        <table class="table table-condensed">
          <thead>
            <tr>
              <th>#</th>
              <th x-translate>User</th>
              <th x-translate>Log in time</th>
              <th x-translate>Last access time</th>
            </tr>
          </thead>
          <tbody>
            <tr ng-repeat="login in info.users">
              <td>{{$index+1}}</td>
              <td>{{login.user}}</td>
              <td>{{login.loginTime}}</td>
              <td>{{login.accessTime}}</td>
            </tr>
          </tbody>
        </table>
      </div>
    </div>
    <br>
    <div class="row-fluid">
      <div class="span12">
        <a class="btn btn-default" href="" ng-click="onRefresh()" x-translate>Refresh</a>
        <a class="btn btn-default" href="" ng-click="onClose()" x-translate>Close</a>
      </div>
    </div>
  </div>
  <footer class="footer">
    <p class="credit">
      Copyright (c) 2005-{{$year}} <a href="http://www.axelor.com">Axelor</a>.
      All Rights Reserved.
    </p>
  </footer>
</div>
