Adding snippets, illustrator icon, updated index page.
[ReadingsJQM.git] / snippets / grids.html
diff --git a/snippets/grids.html b/snippets/grids.html
new file mode 100644 (file)
index 0000000..cda6361
--- /dev/null
@@ -0,0 +1,88 @@
+<!doctype html>
+<html>
+<head>
+       <meta charset="utf-8">
+       <meta name="viewport" content="width=device-width, initial-scale=1">
+       <title> jQuery Mobile Boilerplate </title>
+       <link rel="stylesheet"  href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css" />
+
+       <!-- if you have a custom theme, add it here -->
+       <link rel="stylesheet"  href="themes/jQuery-Mobile-Boilerplate.css" />
+
+       <link rel="stylesheet" href="css/custom.css" />
+
+       <script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
+       <script src="js/application.js"></script>
+       <script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>
+       
+</head> 
+<body> 
+       <div data-role="page">
+
+               <div data-role="header">
+                       <a href="../index.html" data-icon="home">Home</a>
+                       <h1>Grids</h1>
+               </div>
+
+               <div data-role="content">
+
+
+
+
+
+<h2>2 Column Grid</h2>
+
+<div class="ui-grid-a">
+       <div class="ui-block-a"><button type="submit" data-theme="c">Cancel</button></div>
+       <div class="ui-block-b"><button type="submit" data-theme="b">Submit</button></div>         
+</div>
+
+<h2>3 Column Grid</h2>
+
+<div class="ui-grid-b">
+       <div class="ui-block-a ui-bar-d" style="height:50px">Block A</div>
+       <div class="ui-block-b ui-bar-d" style="height:50px">Block B</div>
+       <div class="ui-block-c ui-bar-d" style="height:50px">Block C</div>
+</div>
+
+<h2>4 Column Grid</h2>
+
+<div class="ui-grid-c">
+       <div class="ui-block-a ui-bar-d" style="height:50px">Block A</div>
+       <div class="ui-block-b ui-bar-d" style="height:50px">Block B</div>
+       <div class="ui-block-c ui-bar-d" style="height:50px">Block C</div>
+       <div class="ui-block-d ui-bar-d" style="height:50px">Block D</div>
+</div>
+
+<h2>5 Column Grid</h2>
+
+<div class="ui-grid-d">
+       <div class="ui-block-a ui-bar-d" style="height:50px">A</div>
+       <div class="ui-block-b ui-bar-d" style="height:50px">B</div>
+       <div class="ui-block-c ui-bar-d" style="height:50px">C</div>
+       <div class="ui-block-d ui-bar-d" style="height:50px">D</div>
+       <div class="ui-block-e ui-bar-d" style="height:50px">E</div>
+</div>
+
+<h2>Multi-row grids</h2>
+
+<div class="ui-grid-a">
+       <div class="ui-block-a ui-bar-d" style="height:50px">A</div>
+       <div class="ui-block-b ui-bar-d" style="height:50px">B</div>
+       <div class="ui-block-a ui-bar-d" style="height:50px">A</div>
+       <div class="ui-block-b ui-bar-d" style="height:50px">B</div>
+</div>
+
+
+
+
+
+               </div>
+               
+               <div data-role="footer" data-theme="c">
+                       <p>&copy; 2012 - jQuery Mobile Boilerplate</p>
+               </div>  
+               
+       </div>
+</body>
+</html>
\ No newline at end of file