Sha256: 932c171dc10209be9d7abf4ace685456df9b5f86be919148c7afc48a00466dee

Contents?: true

Size: 986 Bytes

Versions: 4

Compression:

Stored size: 986 Bytes

Contents

!!! XHTML
%html
  %head
    %meta{'http-equiv' => 'Content-Type', :content => 'text/html', :charset => 'UTF-8'}
    %title comet chat
    %link{:rel => 'stylesheet', :href => "/main.css", :type => 'text/css'}
    %script{:type => 'text/javascript', :src => "//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"}
    - ## load cometio.js
    %script{:type => 'text/javascript', :src => cometio_js}
    %script{:type => 'text/javascript', :src => "/js/index.js"}

  %body
    %div#content
      %div#header
        %h1 comet chat
      %div#main
        %div#chat
          %input{:id => 'name', :value => 'name', :size => 20}
          %input{:id => 'message', :value => 'hello!!', :size => 80}
          %input{:id => 'btn_send', :type => 'button', :value => 'post'}
          %ul#timeline

      %hr
      %div#footer
        sinatra-cometio v#{Sinatra::CometIO::VERSION} -
        - src_url = 'https://github.com/shokai/sinatra-cometio'
        %a{:href => src_url} #{src_url}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sinatra-cometio-0.1.9 sample/views/index.haml
sinatra-cometio-0.1.8 sample/views/index.haml
sinatra-cometio-0.1.7 sample/views/index.haml
sinatra-cometio-0.1.6 sample/views/index.haml