]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Disable the customizer for rc1 for now
authorMark Otto <otto@github.com>
Fri, 26 Jul 2013 06:29:43 +0000 (23:29 -0700)
committerMark Otto <otto@github.com>
Fri, 26 Jul 2013 06:29:43 +0000 (23:29 -0700)
_layouts/customize.html [new file with mode: 0644]
_layouts/default.html
assets/css/docs.css
customize.html

diff --git a/_layouts/customize.html b/_layouts/customize.html
new file mode 100644 (file)
index 0000000..450cedc
--- /dev/null
@@ -0,0 +1,53 @@
+ <!DOCTYPE html>
+<html lang="en">
+  <head>
+    <!-- Meta, title, CSS, favicons, etc. -->
+    {% include header.html %}
+    <!-- Place anything custom after this. -->
+  </head>
+  <body data-spy="scroll" data-target=".bs-sidebar">
+
+    <!-- Docs master nav -->
+    {% include nav-main.html %}
+
+    <!-- Callout for the old docs link -->
+    {% include old-bs-docs.html %}
+
+    <!-- Docs page layout -->
+    <div class="bs-header">
+      <div class="container">
+        <h1>{{ page.title }}</h1>
+        <p>{{ page.lead }}</p>
+        {% unless site.port != "9001" %}
+          {% include ads.html %}
+        {% endunless %}
+      </div>
+    </div>
+
+    <div class="bs-customize-placeholder">
+      <div class="container bs-docs-container">
+        <p class="lead">Until RC2, the Bootstrap 3 customizer will be disabled. In the mean time, snag the <a href="https://github.com/twbs/bootstrap/releases">compiled CSS and JavaScript</a>. Hang tight!</p>
+      </div>
+    </div>
+
+    <!-- Footer
+    ================================================== -->
+    <footer class="bs-footer">
+      {% include social-buttons.html %}
+
+      <p>Designed and built with all the love in the world 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 <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>, documentation under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
+      <ul class="footer-links">
+        <li><a href="http://blog.getbootstrap.com">Blog</a></li>
+        <li class="muted">&middot;</li>
+        <li><a href="https://github.com/twbs/bootstrap/issues?state=open">Issues</a></li>
+        <li class="muted">&middot;</li>
+        <li><a href="https://github.com/twbs/bootstrap/releases">Releases</a></li>
+      </ul>
+    </footer>
+
+    <!-- JS and analytics only. -->
+    {% include footer.html %}
+
+  </body>
+</html>
index 19388fbf04a54986dd8135931180d1f71d068e5b..edd211665b64fa86243593aae715f6f2665f37fb 100644 (file)
           <div class="bs-sidebar">
             <ul class="nav bs-sidenav">
               {% if page.slug == "getting-started" %}
-                 {% include nav-getting-started.html %}
+                {% include nav-getting-started.html %}
               {% elsif page.slug == "css" %}
-                 {% include nav-css.html %}
+                {% include nav-css.html %}
               {% elsif page.slug == "components" %}
-                 {% include nav-components.html %}
+                {% include nav-components.html %}
               {% elsif page.slug == "js" %}
-                 {% include nav-javascript.html %}
+                {% include nav-javascript.html %}
               {% elsif page.slug == "customize" %}
-                 {% include nav-customize.html %}
+                {% include nav-customize.html %}
               {% endif %}
             </ul>
           </div>
@@ -67,7 +67,7 @@
         <li class="muted">&middot;</li>
         <li><a href="https://github.com/twbs/bootstrap/issues?state=open">Issues</a></li>
         <li class="muted">&middot;</li>
-        <li><a href="https://github.com/twbs/bootstrap/blob/master/CHANGELOG.md">Changelog</a></li>
+        <li><a href="https://github.com/twbs/bootstrap/releases">Releases</a></li>
       </ul>
     </footer>
 
index d1240bcb052fed4eab56802ceb8a6570a5d1d5bc..f1864a6c28b1774ebd464eb7b9839975538ee32b 100644 (file)
@@ -26,6 +26,13 @@ body {
   border-color: #b94a48;
 }
 
+/* Temp CSS until RC2 */
+.bs-customize-placeholder {
+  margin-bottom: -100px;
+  padding: 80px 30px;
+  text-align: center;
+  background-color: #f5f5f5;
+}
 
 
 /* Top nav and header
index 7bde928b8d44bd38bdbbca2d7ac5e0cd90a7f9ce..f38152f164b9811419f4656dbc38d1ebe195a2a4 100644 (file)
@@ -1,5 +1,5 @@
 ---
-layout: default
+layout: customize
 title: Customize and download
 slug: customize
 lead: Customize Bootstrap's components, LESS variables, and jQuery plugins to get your very own version.