Sha256: ce4bf4f0941d4c1164ecd77635ae7662abd510ba91cc7e0ad65c18fd9b5141ef

Contents?: true

Size: 930 Bytes

Versions: 12

Compression:

Stored size: 930 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
        - src_url = 'https://github.com/shokai/sinatra-cometio'
        %a{:href => src_url} #{src_url}

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
sinatra-cometio-0.1.4 sample/views/index.haml
sinatra-cometio-0.1.3 sample/views/index.haml
sinatra-cometio-0.1.2 sample/views/index.haml
sinatra-cometio-0.1.1 sample/views/index.haml
sinatra-cometio-0.1.0 sample/views/index.haml
sinatra-cometio-0.0.9 sample/views/index.haml
sinatra-cometio-0.0.8 sample/views/index.haml
sinatra-cometio-0.0.7 sample/views/index.haml
sinatra-cometio-0.0.6 sample/views/index.haml
sinatra-cometio-0.0.5 sample/views/index.haml
sinatra-cometio-0.0.4 sample/views/index.haml
sinatra-cometio-0.0.3 sample/views/index.haml