Sha256: 1db1a8743eda32f844a3a5d41eb41ae2a6e9116312bf0ba596b28bc7431157ae

Contents?: true

Size: 1.29 KB

Versions: 2

Compression:

Stored size: 1.29 KB

Contents

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
  <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
  <title>Faye demo: chat client</title>
  <link rel="stylesheet" href="/style.css" type="text/css" media="screen">
  <script src="/jquery.js" type="text/javascript"></script>
  <script src="/comet.js" type="text/javascript"></script>
  <script src="/soapbox.js" type="text/javascript"></script>
</head>
<body>
<div class="container">
  
  <h1><em>Soapbox</em> | a Twitter-style chat app</h1>
  
  <form id="enterUsername">
    <label for="username">Pick a username</label>
    <input type="text" name="username" id="username">
    <input type="submit" value="Go">
  </form>
  
  <div id="app">
    <form id="addFollowee">
      <label for="followee">Follow</label>
      <input type="text" name="followee" id="followee">
      <input type="submit" value="Go">
    </form>
    
    <form id="postMessage">
      <label for="message">Post a message</label><br>
      <textarea name="message" id="message" rows="3" cols="40"></textarea>
      <input type="submit" value="Go">
    </form>
    
    <ul id="stream">
    </ul>
  </div>
  
  <script type="text/javascript">
    Comet = new Faye.Client('/comet');
    Soapbox.init(Comet);
  </script>

</div>  
</body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
faye-0.3.1 examples/shared/public/index.html
faye-0.3.0 examples/shared/public/index.html