Sha256: 46aa0aaa3debd1769855286b48f6a767d17f1ba2ca564c61019a69596a15febd

Contents?: true

Size: 979 Bytes

Versions: 4

Compression:

Stored size: 979 Bytes

Contents

h2.uk-text-success <i class="uk-icon-#{@menu_icons[@current_item]} uk-icon-medium "></i>&nbsp;&nbsp;History for command #{@command} executions and monitoring


-
div.uk-width-medium-1-1
  div.uk-panel.uk-panel-box
    span.uk-text-large.uk-text-bold List of records
    br
    table#logrecords.uk-table.uk-table-hover.uk-table-striped
      thead
        tr
          th Start Date
          th End Date
          th Execution time (sec)
          th Status
          th STDOUT empty ?
          th STDERR empty ?

      tbody
        - @data.reverse.each do |key|
          tr class="#{(key[key.keys.first][:status].to_s.split.last == "0")? 'uk-text-success' : 'uk-text-danger'}"
            td  #{key.keys.first}
            td  #{key[key.keys.first][:end_date]}
            td  #{key[key.keys.first][:exec_time]}
            td  #{key[key.keys.first][:status].to_s}
            td  #{key[key.keys.first][:stdout].empty?}
            td  #{key[key.keys.first][:stderr].empty?}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
prometheus-splash-0.9.1 lib/splash/webadmin/portal/views/command_history.slim
prometheus-splash-0.9.0 lib/splash/webadmin/portal/views/command_history.slim
prometheus-splash-0.8.6 lib/splash/webadmin/portal/views/command_history.slim
prometheus-splash-0.8.5 lib/splash/webadmin/portal/views/command_history.slim