Sha256: 9424a2387c9431af77892008178b027645a4afb64469b17e75f8f4f7231317f0

Contents?: true

Size: 1.33 KB

Versions: 12

Compression:

Stored size: 1.33 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="/public/style.css" type="text/css" media="screen">
  <script src="/public/jquery.js" type="text/javascript"></script>
  <script src="/comet.js" type="text/javascript"></script>
  <script src="/public/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');
    Comet.connect();
    
    Soapbox.init(Comet);
  </script>

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
Capcode-1.0.0 examples/soapbox/views/index.rhtml
Capcode-0.9.9 examples/soapbox/views/index.rhtml
Capcode-0.9.8 examples/soapbox/views/index.rhtml
Capcode-0.9.7 examples/soapbox/views/index.rhtml
Capcode-0.9.6 examples/soapbox/views/index.rhtml
Capcode-0.9.5 examples/soapbox/views/index.rhtml
Capcode-0.9.4 examples/soapbox/views/index.rhtml
Capcode-0.9.3 examples/soapbox/views/index.rhtml
Capcode-0.9.2 examples/soapbox/views/index.rhtml
Capcode-0.9.1 examples/soapbox/views/index.rhtml
Capcode-0.9.0 examples/soapbox/views/index.rhtml
Capcode-0.8.9 examples/soapbox/views/index.rhtml