Permalink
Browse files

changed everything

  • Loading branch information...
1 parent 24ffc81 commit 726a7155ca47c2246c84a2922e21f4a892cc755f @andymboyle committed Oct 12, 2013
Showing with 95 additions and 0 deletions.
  1. BIN .DS_Store
  2. +95 −0 index.html
View
Binary file not shown.
View
@@ -0,0 +1,95 @@
+
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="description" content="">
+ <meta name="author" content="">
+ <link rel="shortcut icon" href="../../assets/ico/favicon.png">
+
+ <title>Cool Cats With Andy Boyle</title>
+
+ <!-- Bootstrap core CSS -->
+ <!-- Bootstrap core CSS -->
+ <link href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0-rc1/css/bootstrap.min.css" rel="stylesheet">
+
+ <!-- Custom styles for this template -->
+ <link rel="stylesheet" type="text/css" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.0.2/css/font-awesome.min.css" />
+
+ <!-- Custom styles for this template -->
+ <link href="http://getbootstrap.com/examples/jumbotron-narrow/jumbotron-narrow.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="http://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.2/html5shiv.js"></script>
+ <script src="http://cdnjs.cloudflare.com/ajax/libs/respond.js/1.3.0/respond.js></script>
+ <![endif]-->
+ </head>
+
+ <body>
+
+ <div class="container">
+ <div class="header">
+ <ul class="nav nav-pills pull-right">
+ <li class="active"><a href="#">Home</a></li>
+ <li><a href="#">About</a></li>
+ <li><a href="#">Contact</a></li>
+ </ul>
+ <h3 class="text-muted">Andy's Cats</h3>
+ </div>
+
+ <div class="jumbotron">
+ <h1>The Internet Is Cats</h1>
+ <p class="lead">You know it, I know it. Meow, meow, meow knows it.</p>
+ <p><a class="btn btn-lg btn-success" href="#">Sign up today</a></p>
+ </div>
+
+ <div class="row marketing">
+ <div class="col-lg-12">
+ <div id="cat-list">
+ </div>
+ </div>
+ </div>
+
+ <div class="footer">
+ <p>&copy; AndyBoyleCats Inc.</p>
+ </div>
+
+ </div> <!-- /container -->
+
+ <script id="cat-template" type="text/x-handlebars-template">
+ <h3>{{name}}</h4>
+ <img src="{{photo}}"><p style="cat">This {{gender}} cat is {{age}}-years-old, {{color}} and was born in {{city}}.</p><hr>
+ </script>
+
+ <!-- Bootstrap core JavaScript
+ ================================================== -->
+ <!-- Placed at the end of the document so the pages load faster -->
+ <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
+ <script src="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.0-rc1/js/bootstrap.min.js"></script>
+ <script src="http://cdnjs.cloudflare.com/ajax/libs/holder/2.0/holder.js"></script>
+ <script src="http://cdnjs.cloudflare.com/ajax/libs/tabletop.js/1.1.0/tabletop.min.js"></script>
+ <script src="http://cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.0.0/handlebars.min.js"></script>
+
+ <script type="text/javascript">
+ var public_spreadsheet_url = 'https://docs.google.com/spreadsheet/pub?key=0Ark-PJD-Ze_DdGw3RUQ0MnlPcEVmQ2VGR1hvRHIzTFE&output=html';
+
+ $(document).ready( function() {
+ Tabletop.init( { key: public_spreadsheet_url,
+ callback: showInfo,
+ parseNumbers: true } );
+ });
+ function showInfo(data, tabletop) {
+ var source = $("#cat-template").html();
+ var template = Handlebars.compile(source);
+
+ $.each( tabletop.sheets("cats").all(), function(i, cat) {
+ var html = template(cat);
+ $("#cat-list").append(html);
+ });
+ }
+ </script>
+ </body>
+</html>
+

0 comments on commit 726a715

Please sign in to comment.