0
0
mirror of https://github.com/Doodle3D/doodle3d-connect.git synced 2024-12-27 11:03:49 +01:00
doodle3d-connect/js/libs/.jquery.mobile/demos/backbone-requirejs/backbone-require.html
2014-05-08 14:59:07 +02:00

84 lines
2.3 KiB
HTML

<!doctype html>
<html class="no-js ui-mobile-rendering" lang="en">
<head>
<title>Backbone.js, Require.js, and jQuery Mobile</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../css/themes/default/jquery.mobile-1.4.2.min.css">
<script src="//rawgithub.com/jrburke/requirejs/2.1.8/require.js"></script>
<script src="js/main.js"></script>
</head>
<body>
<div id="categories" data-role="page" data-title="Categories">
<div data-role="header">
<h1>Categories</h1>
</div><!-- /header -->
<div role="main" class="ui-content">
<h2>Select a Category Below:</h2>
<ul data-role="listview" data-inset="true">
<li><a href="#category?animals" class="animals">Animals</a></li>
<li><a href="#category?colors" class="colors">Colors</a></li>
<li><a href="#category?vehicles" class="vehicles">Vehicles</a></li>
</ul>
</div><!-- /content -->
</div>
<div id="animals" data-role="page" data-title="Animals">
<div data-role="header">
<h1>Animals</h1>
</div><!-- /header -->
<div role="main" class="ui-content">
<ul data-role="listview" data-inset="true">
</ul>
</div><!-- /content -->
</div>
<div id="colors" data-role="page" data-title="Colors">
<div data-role="header">
<h1>Colors</h1>
</div><!-- /header -->
<div role="main" class="ui-content">
<ul data-role="listview" data-inset="true">
</ul>
</div><!-- /content -->
</div>
<div id="vehicles" data-role="page" data-title="Vehicles">
<div data-role="header">
<h1>Vehicles</h1>
</div><!-- /header -->
<div role="main" class="ui-content">
<ul data-role="listview" data-inset="true">
</ul>
</div><!-- /content -->
</div>
<!-- Underscore Template that is used to display all of the Category Models -->
<script id="categoryItems" type="text/template">
<% _.each( collection.toJSON(), function( category, id ) { %>
<li class="ui-li-static">
<%= category.type %>
</li>
<% }); %>
</script>
</body>
</html>