]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Counters example doesn't need to be a table 6634/head
authorVickash Mahabir <vickashmahabir@gmail.com>
Fri, 18 Jan 2013 22:03:43 +0000 (18:03 -0400)
committerVickash Mahabir <vickashmahabir@gmail.com>
Fri, 18 Jan 2013 22:03:43 +0000 (18:03 -0400)
docs/components.html
docs/templates/pages/components.mustache

index 2040029a3c19ddf5a11cc25b10804250b1bcd337..eeb104168caf858883e545e4ba4d70d51867bb41 100644 (file)
             <h1>Counters</h1>
           </div>
 
-          <table class="table table-bordered table-striped">
-            <thead>
-              <tr>
-                <th>Name</th>
-                <th>Example</th>
-                <th>Markup</th>
-              </tr>
-            </thead>
-            <tbody>
-              <tr>
-                <td>
-                  Default
-                </td>
-                <td>
-                  <strong>Inbox</strong> <span class="counter">42</span>
-                </td>
-                <td>
-                  <code>&lt;span class="counter"&gt;42&lt;/span&gt;</code>
-                </td>
-              </tr>
-            </tbody>
-          </table>
+          <div class="bs-docs-example">
+            <a href="#">Inbox</a> <span class="counter">42</span>
+          </div>
 
+<pre class="prettyprint linenums">
+&lt;a href="#"&gt;Inbox&lt;/a&gt; &lt;span class="counter"&gt;42&lt;/span&gt;
+</pre>
           <h3>Easily collapsible</h3>
           <p>For easy implementation, counters will simply collapse (via CSS's <code>:empty</code> selector) when no content exists within.</p>
 
index 0d326d02d57bae110c0ea1b74b68fc3cf7aa5e10..8bc15d88b69fc1a523222c59b7c71bce63965395 100644 (file)
             <h1>Counters</h1>
           </div>
 
-          <table class="table table-bordered table-striped">
-            <thead>
-              <tr>
-                <th>Name</th>
-                <th>Example</th>
-                <th>Markup</th>
-              </tr>
-            </thead>
-            <tbody>
-              <tr>
-                <td>
-                  Default
-                </td>
-                <td>
-                  <strong>Inbox</strong> <span class="counter">42</span>
-                </td>
-                <td>
-                  <code>&lt;span class="counter"&gt;42&lt;/span&gt;</code>
-                </td>
-              </tr>
-            </tbody>
-          </table>
+          <div class="bs-docs-example">
+            <a href="#">Inbox</a> <span class="counter">42</span>
+          </div>
 
+<pre class="prettyprint linenums">
+&lt;a href="#"&gt;Inbox&lt;/a&gt; &lt;span class="counter"&gt;42&lt;/span&gt;
+</pre>
           <h3>Easily collapsible</h3>
           <p>For easy implementation, counters will simply collapse (via CSS's <code>:empty</code> selector) when no content exists within.</p>