Sha256: ec25edd9d8a5afd6e083791cf4626e4a0864a1de1c214a15c5a407dbfa9f5186

Contents?: true

Size: 903 Bytes

Versions: 7

Compression:

Stored size: 903 Bytes

Contents

div  
ul.uk-list
  li <b>HTTP Method</b> : #{@method}
  li <b>URL</b> : #{@url}
h3 Result :
- unless @result == false
  div.uk-grid.uk-text-small
    div.uk-width-1-2
      table.uk-table
        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>
    div.uk-width-1-2
      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-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

7 entries across 7 versions & 1 rubygems

Version Path
prometheus-splash-0.9.1 lib/splash/webadmin/portal/views/restclient_result.slim
prometheus-splash-0.9.0 lib/splash/webadmin/portal/views/restclient_result.slim
prometheus-splash-0.8.6 lib/splash/webadmin/portal/views/restclient_result.slim
prometheus-splash-0.8.5 lib/splash/webadmin/portal/views/restclient_result.slim
prometheus-splash-0.8.4 lib/splash/webadmin/portal/views/restclient_result.slim
prometheus-splash-0.8.3 lib/splash/webadmin/portal/views/restclient_result.slim
prometheus-splash-0.8.2 lib/splash/webadmin/portal/views/restclient_result.slim