Sha256: 244d20562af0f0fb291695bb959f742a25be0c34fb96b6d3ac57f858bec17da1

Contents?: true

Size: 735 Bytes

Versions: 5

Compression:

Stored size: 735 Bytes

Contents

di  
ul.uk-list
  li <b>HTTP Method</b> : #{@method}
  li <b>URL</b> : #{@url}
h3 Result :
- unless @result == false
  table.uk_table
    tr
      td.uk-width-2-10
        i.uk-icon-dollar
        | &nbsp;<b>Return code :</b>
      td.uk-width-8-10 #{@result.code}
    tr
      td.uk-width-2-10
        i.uk-icon-file-o
        | &nbsp;<b>Body :</b>
      td.uk-width-8-10.uk-scrollable-text <pre><code>#{@result}</code></pre>
    tr
      td.uk-width-2-10
        i.uk-icon-header
        | &nbsp;<b>Headers :</b>
      td.uk-width-8-10
        ul
          - @result.headers.each do |hkey,value|
            li <i><b>#{hkey}:</b> &nbsp; &nbsp; #{value}</i>

- else
  div.uk-alert.uk-alert-danger
    | Can't excute this request

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
prometheus-splash-0.8.1 lib/splash/webadmin/portal/views/restclient_result.slim
prometheus-splash-0.8.0 lib/splash/webadmin/portal/views/restclient_result.slim
prometheus-splash-0.7.0 lib/splash/webadmin/portal/views/restclient_result.slim
prometheus-splash-0.6.1 lib/splash/webadmin/portal/views/restclient_result.slim
prometheus-splash-0.6.0 lib/splash/webadmin/portal/views/restclient_result.slim