Sha256: c44116c193764b057b9dedb09eb03064cc77973a0ba13190ab479e7117929b25

Contents?: true

Size: 843 Bytes

Versions: 5

Compression:

Stored size: 843 Bytes

Contents

<!DOCTYPE html>
<html>
  <head>
    <title>Generated CouchApp</title>
    <link rel="stylesheet" href="screen.css" type="text/css">
  </head>
  <body>
    <h1>Generated CouchApp</h1>
    <ul id="view"></ul>
  </body>
  <script src="/_utils/script/json2.js"></script>
  <script src="/_utils/script/jquery.js?1.2.6"></script>
  <script src="/_utils/script/jquery.couch.js?0.8.0"></script>
  <script type="text/javascript" charset="utf-8">
    $(function() {
      var dbname = document.location.href.split('/')[3];
      var design = unescape(document.location.href.split('/')[4]).split('/')[1];
      var DB = $.couch.db(dbname);
      DB.view(design+"/example",{success: function(json) {
        $("#view").html(json.rows.map(function(row) {
          return '<li>'+row.key+'</li>';
        }).join(''));
      }});
    });
  </script>
</html>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
jchris-couchrest-0.9.10 lib/couchrest/helper/templates/index.html
jchris-couchrest-0.9.11 lib/couchrest/helper/templates/index.html
jchris-couchrest-0.9.12 lib/couchrest/helper/templates/index.html
jchris-couchrest-0.9.8 lib/couchrest/helper/templates/index.html
jchris-couchrest-0.9.9 lib/couchrest/helper/templates/index.html