]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
spec'ed out an examples overview page with links to current examples; examples still...
authorMark Otto <markdotto@gmail.com>
Wed, 25 Jan 2012 18:47:08 +0000 (10:47 -0800)
committerMark Otto <markdotto@gmail.com>
Wed, 25 Jan 2012 18:47:08 +0000 (10:47 -0800)
bootstrap.css
docs/examples.html [new file with mode: 0644]
docs/index.html
docs/templates/pages/examples.mustache [new file with mode: 0644]
docs/templates/pages/index.mustache

index d90ec918890fcc8ea1b2c4fab83243f662de496c..d028d2b3e7295c40cdd6608fd60f3cc6131edfdc 100644 (file)
@@ -6,7 +6,7 @@
  * http://www.apache.org/licenses/LICENSE-2.0
  *
  * Designed and built with all the love in the world @twitter by @mdo and @fat.
- * Date: Wed Jan 25 10:01:08 PST 2012
+ * Date: Wed Jan 25 10:46:38 PST 2012
  */
 article,
 aside,
diff --git a/docs/examples.html b/docs/examples.html
new file mode 100644 (file)
index 0000000..04ca7fd
--- /dev/null
@@ -0,0 +1,123 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+    <meta charset="utf-8">
+    <title>Bootstrap, from Twitter</title>
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <meta name="description" content="">
+    <meta name="author" content="">
+
+    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
+    <!--[if lt IE 9]>
+      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+    <![endif]-->
+
+    <!-- Le styles -->
+    <link href="../bootstrap.css" rel="stylesheet">
+    <link href="../bootstrap-responsive.css" rel="stylesheet">
+    <link href="assets/css/docs.css" rel="stylesheet">
+    <link href="assets/js/google-code-prettify/prettify.css" rel="stylesheet">
+
+    <!-- Le fav and touch icons -->
+    <link rel="shortcut icon" href="assets/ico/favicon.ico">
+    <link rel="apple-touch-icon" href="images/apple-touch-icon.png">
+    <link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
+    <link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
+  </head>
+
+  <body>
+  
+  <!-- Navbar
+    ================================================== -->
+    <div class="navbar navbar-fixed">
+      <div class="navbar-inner">
+        <div class="container">
+          <a class="brand" href="./index.html">Bootstrap</a>
+          <ul class="nav">
+            <li class="">
+              <a href="./index.html">Overview</a>
+            </li>
+            <li class="">
+              <a href="./scaffolding.html">Scaffolding</a>
+            </li>
+            <li class="">
+              <a href="./base-css.html">Base CSS</a>
+            </li>
+            <li class="">
+              <a href="./components.html">Components</a>
+            </li>
+            <li class="">
+              <a href="./javascript.html">Javascript plugins</a>
+            </li>
+            <li class="">
+              <a href="./less.html">Using LESS</a>
+            </li>
+            <li class="">
+              <a href="./download.html">Download</a>
+            </li>
+          </ul>
+        </div>
+      </div>
+    </div>
+
+    <div class="container">
+
+<div class="alert">
+  <strong>Heads up!</strong> This page is still under construction and is missing plenty of documentation. Hang tight!
+</div>
+
+<!-- Masthead
+================================================== -->
+<header class="jumbotron subhead" id="overview">
+  <h1>Bootstrap examples</h1>
+  <p class="lead">Use these examples as starting points for your work with Bootstrap. We encourage everyone to iterate on these examples and not simply use them as an end result.</p>
+</header>
+
+
+
+<!-- EXAMPLES
+================================================== -->
+<section id="examples">
+  <div class="page-header">
+    <h1>Examples from 1.x</h1>
+  </div>
+
+<p><a href="../examples/container-app.html">Container app</a></p>
+<p><a href="../examples/fluid.html">Fluid layout</a></p>
+<p><a href="../examples/fluid-reverse.html">Reversed fluid layout</a></p>
+<p><a href="../examples/hero.html">Hero marketing site</a></p>
+
+</section>
+
+     <!-- Footer
+      ================================================== -->
+      <footer class="footer">
+        <p class="pull-right"><a href="#">Back to top</a></p>
+        <p>Designed and built with all the love in the world <a href="http://twitter.com/twitter" target="_blank">@twitter</a> by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>.</p>
+        <p>Code licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>. Documentation licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
+        <p>Icons from <a href="http://glyphicons.com">Glyphicons Free</a>, licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
+      </footer>
+
+    </div><!-- /container -->
+
+
+    <!-- Le javascript -->
+    <!-- Placed at the end of the document so the pages load faster -->
+    <!-- <script src="http://code.jquery.com/jquery-1.7.min.js"></script> -->
+    <script src="../js/tests/vendor/jquery.js"></script>
+    <script src="assets/js/google-code-prettify/prettify.js"></script>
+    <script src="../js/bootstrap-transition.js"></script>
+    <script src="../js/bootstrap-alert.js"></script>
+    <script src="../js/bootstrap-modal.js"></script>
+    <script src="../js/bootstrap-dropdown.js"></script>
+    <script src="../js/bootstrap-scrollspy.js"></script>
+    <script src="../js/bootstrap-tab.js"></script>
+    <script src="../js/bootstrap-tooltip.js"></script>
+    <script src="../js/bootstrap-popover.js"></script>
+    <script src="../js/bootstrap-button.js"></script>
+    <script src="../js/bootstrap-collapse.js"></script>
+    <script src="../js/bootstrap-carousel.js"></script>
+    <script src="../js/bootstrap-typeahead.js"></script>
+    <script src="assets/js/application.js"></script>
+  </body>
+</html>
index 958f17bf8f75f0bbcce11af48cba5b45ee8f77dd..2a6078cbea47d05a9f7694f7597dc857677b70bb 100644 (file)
 
         <div class="marketing">
           <h1>Built with Bootstrap.</h1>
-          <p class="marketing-byline">For even more sites built with Bootstrap, <a href="http://builtwithbootstrap.tumblr.com/" target="_blank">visit the unofficial Tumblr</a>.</p>
+          <p class="marketing-byline">For even more sites built with Bootstrap, <a href="http://builtwithbootstrap.tumblr.com/" target="_blank">visit the unofficial Tumblr</a> or <a href="./examples.html">browse the examples</a>.</p>
           <ul class="thumbnails example-sites">
             <li class="span4">
               <a class="thumbnail" href="http://kippt.com/" target="_blank">
diff --git a/docs/templates/pages/examples.mustache b/docs/templates/pages/examples.mustache
new file mode 100644 (file)
index 0000000..3c102be
--- /dev/null
@@ -0,0 +1,26 @@
+<div class="alert">
+  <strong>Heads up!</strong> This page is still under construction and is missing plenty of documentation. Hang tight!
+</div>
+
+<!-- Masthead
+================================================== -->
+<header class="jumbotron subhead" id="overview">
+  <h1>{{_i}}Bootstrap examples{{/i}}</h1>
+  <p class="lead">{{_i}}Use these examples as starting points for your work with Bootstrap. We encourage everyone to iterate on these examples and not simply use them as an end result.{{/i}}</p>
+</header>
+
+
+
+<!-- EXAMPLES
+================================================== -->
+<section id="examples">
+  <div class="page-header">
+    <h1>{{_i}}Examples from 1.x{{/i}}</h1>
+  </div>
+
+<p><a href="../examples/container-app.html">Container app</a></p>
+<p><a href="../examples/fluid.html">Fluid layout</a></p>
+<p><a href="../examples/fluid-reverse.html">Reversed fluid layout</a></p>
+<p><a href="../examples/hero.html">Hero marketing site</a></p>
+
+</section>
index 82307eec70fbf25e7c9a01cecf1ff6b5164c0b74..c3f725a05d31f5544d4ed86085725d96ec194a9e 100644 (file)
@@ -51,7 +51,7 @@
 
         <div class="marketing">
           <h1>{{_i}}Built with Bootstrap.{{/i}}</h1>
-          <p class="marketing-byline">{{_i}}For even more sites built with Bootstrap, <a href="http://builtwithbootstrap.tumblr.com/" target="_blank">visit the unofficial Tumblr</a>.{{/i}}</p>
+          <p class="marketing-byline">{{_i}}For even more sites built with Bootstrap, <a href="http://builtwithbootstrap.tumblr.com/" target="_blank">visit the unofficial Tumblr</a> or <a href="./examples.html">browse the examples</a>.{{/i}}</p>
           <ul class="thumbnails example-sites">
             <li class="span4">
               <a class="thumbnail" href="http://kippt.com/" target="_blank">