Sha256: b4e2f6272540185d1e11dde8707564e28617410a05e4bb2c83ec23f7af477af9

Contents?: true

Size: 1.88 KB

Versions: 3

Compression:

Stored size: 1.88 KB

Contents

%form#form.ts-form{ name: 'form', action: '', role: :form }
  .ts-form-group
    %label{ for: :count}
      = t('views.javascript.xhr.fields.count')
    %input#count.ts-field-count{ type: :number, name: :count, value: @count }
  .ts-form-group
    %label{ for: :timeout}
      = t('views.javascript.xhr.fields.timeout')
    %input#timeout.ts-field-timeout{ type: :number, name: :timeout, value: @timeout }
  .ts-form-group
    %label{ for: :url}
      = t('views.javascript.xhr.fields.url')
    %input#url.ts-field-url{ type: :url, name: :url, value: @url, placeholder: 'http://www.example.org' }
    %input#hidden_repeat{ type: :hidden, name: :hidden_repeat }
    .ts-field-repeat
      %label
        - if @repeat
          %input#repeat{ type: :checkbox, checked: 'checked', value: 'on', name: :repeat }
            = t('views.javascript.xhr.fields.repeat')
        - else
          %input#repeat{ type: :checkbox, name: :repeat }
            = t('views.javascript.xhr.fields.repeat')
  %button#start.ts-button-start{type: 'submit', name: 'start', value: t('views.application.buttons.start') }
    = t('views.application.buttons.start')
  %button#stop.ts-button-stop{type: 'submit', name: 'stop', value: t('views.application.buttons.stop') }
    = t('views.application.buttons.stop')
  %a#reset.ts-button-reset{href: '#', name: 'reset'}
    = t('views.application.buttons.reset')
  %a#clone.ts-button-clone{href: '#', name: 'clone'}
    = t('views.application.buttons.clone')
  %span.ts-inline#request-spinner
    %img{ src: '/assets/ajax-loader.gif', alt: t('views.javascript.xhr.spinner.text') }
    = t('views.javascript.xhr.spinner.text')

%table#result.ts-result-table
  %tr#result_table_header
    %th= t('views.javascript.xhr.result_table.url') 
    %th= t('views.javascript.xhr.result_table.timeout') 
    %th= t('views.javascript.xhr.result_table.runtime') 
    %th= t('views.javascript.xhr.result_table.status') 

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
test_server-0.2.4 app/views/xhr/show.haml
test_server-0.2.3 app/views/xhr/show.haml
test_server-0.2.2 app/views/xhr/show.haml