github.com/billybanfield/evergreen@v0.0.0-20170525200750-eeee692790f7/public/static/partials/hostevent.html (about)

     1  <div class="eventlog">
     2    <div class="timestamp col-lg-2 col-md-3 col-sm-4" style="min-width: 250px;">[[eventLogObj.timestamp | convertDateToUserTimezone:userTz:'MMM D, YYYY h:mm:ss a']]</div>
     3    <div class="event_details col-lg-9 col-md-8 col-sm-7" ng-switch="eventLogObj.event_type" ng-init="showlogs = false">
     4      <span ng-switch-when="HOST_CREATED">Host created</span>
     5      <span ng-switch-when="HOST_STATUS_CHANGED">Status changed from <b class="status">[[eventLogObj.data.old_status]]</b> to <b>[[eventLogObj.data.new_status]]</b> </span>
     6      <span ng-switch-when="HOST_DNS_NAME_SET">DNS Name set to <b>[[eventLogObj.data.hostname]]</b></span>
     7      <span ng-switch-when="HOST_PROVISIONED">Marked as <b>provisioned</b></span>
     8      <span ng-switch-when="HOST_RUNNING_TASK_SET">Assigned to run task <a href="/task/[[eventLogObj.data.task_id]]">[[eventLogObj.data.task_id | shortenString:false:50:' ...']]</a></span>
     9      <span ng-switch-when="HOST_RUNNING_TASK_CLEARED">Current running task cleared (was: <a href="/task/[[eventLogObj.data.task_id]]">[[eventLogObj.data.task_id | shortenString:false:50:' ...']]</a></span>
    10      <span ng-switch-when="HOST_TASK_PID_SET">PID of running task set to <b>[[eventLogObj.data.task_pid]]</b></span>
    11      <span ng-switch-when="HOST_MONITOR_FLAG">Flagged for termination because:
    12        <span ng-switch="eventLogObj.data.monitor">
    13          <strong ng-switch-when="decommissioned">host was decommissioned.</strong>
    14          <strong ng-switch-when="idle">host was idle.</strong>
    15          <strong ng-switch-when="excess">pool exceeded maximum hosts limit.</strong>
    16          <strong ng-switch-when="provision_timeout">host took too long for provisioning to complete.</strong>
    17          <strong ng-switch-when="provision_failed">provisioning failed.</strong>
    18          <strong ng-switch-when="expired">expiration time passed.</strong>
    19        </span>
    20      </span>
    21      <span ng-switch-when="HOST_PROVISION_FAILED">
    22        <div>Provisioning failed.</div>
    23        <div class="toggle pointer" ng-click="showlogs = !showlogs"><i class="fa" ng-class="showlogs | conditional:'fa-caret-down':'fa-caret-right'"></i> [[showlogs | conditional:'hide':'show']] provisioning logs</div>
    24        <div ng-show="showlogs">
    25          <pre>[[eventLogObj.data.logs]]</pre>
    26        </div>
    27      </span>
    28      <span ng-switch-when="HOST_TEARDOWN">
    29        <div> Teardown script
    30          <span ng-show="eventLogObj.data.successful">ran successfully</span>
    31          <span ng-show="!eventLogObj.data.successful"><strong>failed</strong></span>
    32          in [[eventLogObj.data.duration | stringifyNanoseconds:true:true]].
    33        </div>
    34        <div class="toggle pointer" ng-click="showlogs = !showlogs"><i class="fa" ng-class="showlogs | conditional:'fa-caret-down':'fa-caret-right'"></i> [[showlogs | conditional:'hide':'show']] teardown logs </div>
    35        <div ng-show="showlogs">
    36          <pre>[[eventLogObj.data.logs]]</pre>
    37        </div>
    38      </span>
    39      <span ng-switch-when="HOST_TASK_FINISHED">Task <a href="/task/[[eventLogObj.data.task_id]]">[[eventLogObj.data.task_id | shortenString:false:50:'...']]</a> completed with status: <b>[[eventLogObj.data.task_status]]</b></span>
    40    </div>
    41    <div class="clearfix"></div>
    42  </div>