chap2->Creating templates: define templates in index.html
This commit is contained in:
parent
ee6c23d6d3
commit
61c3776031
@ -25,6 +25,15 @@
|
|||||||
<div data-bind="template: {name:'finish-order-modal'}"></div>
|
<div data-bind="template: {name:'finish-order-modal'}"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- templates -->
|
||||||
|
<script type="text/html" id="header"></script>
|
||||||
|
<script type="text/html" id="catalog"></script>
|
||||||
|
<script type="text/html" id="add-to-catalog-modal"></script>
|
||||||
|
<script type="text/html" id="cart-widget"></script>
|
||||||
|
<script type="text/html" id="cart-item"></script>
|
||||||
|
<script type="text/html" id="cart"></script>
|
||||||
|
<script type="text/html" id="order"></script>
|
||||||
|
<script type="text/html" id="finish-order-modal"></script>
|
||||||
<!-- vendor library -->
|
<!-- vendor library -->
|
||||||
<script type="text/javascript" src="js/jquery-2.1.1.min.js"></script>
|
<script type="text/javascript" src="js/jquery-2.1.1.min.js"></script>
|
||||||
<script type="text/javascript" src="js/bootstrap.js"></script>
|
<script type="text/javascript" src="js/bootstrap.js"></script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user