Updated text checkpoint.

This commit is contained in:
Elf M. Sternberg 2011-08-07 17:08:39 -07:00
parent 7678aa3e16
commit e7625991a1
2 changed files with 419 additions and 526 deletions

File diff suppressed because it is too large Load Diff

View File

@ -3,6 +3,7 @@
<head> <head>
<title>The Backbone Store</title> <title>The Backbone Store</title>
<link charset="utf-8" href="jsonstore.css" rel="stylesheet" type="text/css" /> <link charset="utf-8" href="jsonstore.css" rel="stylesheet" type="text/css" />
<script id="store_index_template" type="text/x-underscore-tmplate"> <script id="store_index_template" type="text/x-underscore-tmplate">
<h1>Product Catalog</h1> <h1>Product Catalog</h1>
<ul> <ul>
@ -20,6 +21,7 @@
<% } %> <% } %>
</ul> </ul>
</script> </script>
<script id="store_item_template" type="text/x-underscore-template"> <script id="store_item_template" type="text/x-underscore-template">
<div class="item-detail"></div> <div class="item-detail"></div>
<div class="item-image"> <div class="item-image">
@ -46,10 +48,13 @@
<a href="#">&laquo; Back to Items</a> <a href="#">&laquo; Back to Items</a>
</div> </div>
</script> </script>
<script id="store_cart_template" type="text/x-underscore-template"> <script id="store_cart_template" type="text/x-underscore-template">
<p>Items: <%= count %> ($<%= cost %>)</p> <p>Items: <%= count %> ($<%= cost %>)</p>
</script> </script>
</head> </head>
<body> <body>
<div id="container"> <div id="container">
<div id="header"> <div id="header">