mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
Make changes in page templates, rebuild
This commit is contained in:
parent
02a67ea59e
commit
2f06366399
Binary file not shown.
4
docs/assets/css/bootstrap-responsive.css
vendored
4
docs/assets/css/bootstrap-responsive.css
vendored
@ -169,9 +169,9 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
min-height: 28px;
|
min-height: 28px;
|
||||||
/* Make inputs at least the height of their button counterpart */
|
/* Make inputs at least the height of their button counterpart */
|
||||||
|
|
||||||
/* Makes inputs behave like true block-level elements */
|
/* Makes inputs behave like true block-level elements */
|
||||||
|
|
||||||
-webkit-box-sizing: border-box;
|
-webkit-box-sizing: border-box;
|
||||||
-moz-box-sizing: border-box;
|
-moz-box-sizing: border-box;
|
||||||
-ms-box-sizing: border-box;
|
-ms-box-sizing: border-box;
|
||||||
|
13
docs/templates/pages/javascript.mustache
vendored
13
docs/templates/pages/javascript.mustache
vendored
@ -562,8 +562,13 @@ $('#myModal').on('hidden', function () {
|
|||||||
<h2>{{_i}}Using bootstrap-tab.js{{/i}}</h2>
|
<h2>{{_i}}Using bootstrap-tab.js{{/i}}</h2>
|
||||||
<p>{{_i}}Enable tabbable tabs via javascript:{{/i}}</p>
|
<p>{{_i}}Enable tabbable tabs via javascript:{{/i}}</p>
|
||||||
<pre class="prettyprint linenums">$('#myTab').tab('show')</pre>
|
<pre class="prettyprint linenums">$('#myTab').tab('show')</pre>
|
||||||
|
<p>{{_i}}You can also activate a specific tab (or a pseudo-selected one) on init:{{/i}}</p>
|
||||||
|
<pre class="prettyprint linenums">
|
||||||
|
$('#myTab a[href="#profile"]').tab('show');
|
||||||
|
$('#myTab a:last').tab('show');
|
||||||
|
</pre>
|
||||||
<h3>{{_i}}Markup{{/i}}</h3>
|
<h3>{{_i}}Markup{{/i}}</h3>
|
||||||
<p>{{_i}}You can activate a tab or pill navigation without writing any javascript by simply specifying <code>data-toggle="tab"</code> or <code>data-toggle="pill"</code> on an element.{{/i}}</p>
|
<p>{{_i}}You can activate a tab or pill navigation without writing any javascript by simply specifying <code>data-toggle="tab"</code> or <code>data-toggle="pill"</code> on an element. Adding the <code>nav</code> and <code>nav-tabs</code> classes to the tab <code>ul</code> will apply the bootstrap tab styling.{{/i}}</p>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<ul class="nav nav-tabs">
|
<ul class="nav nav-tabs">
|
||||||
<li><a href="#home" data-toggle="tab">{{_i}}Home{{/i}}</a></li>
|
<li><a href="#home" data-toggle="tab">{{_i}}Home{{/i}}</a></li>
|
||||||
@ -577,7 +582,7 @@ $('#myModal').on('hidden', function () {
|
|||||||
{{_i}}Activates a tab element and content container. Tab should have either a `data-target` or an `href` targeting a container node in the dom.{{/i}}
|
{{_i}}Activates a tab element and content container. Tab should have either a `data-target` or an `href` targeting a container node in the dom.{{/i}}
|
||||||
</p>
|
</p>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<ul class="nav nav-tabs">
|
<ul class="nav nav-tabs" id="myTab">
|
||||||
<li class="active"><a href="#home">{{_i}}Home{{/i}}</a></li>
|
<li class="active"><a href="#home">{{_i}}Home{{/i}}</a></li>
|
||||||
<li><a href="#profile">{{_i}}Profile{{/i}}</a></li>
|
<li><a href="#profile">{{_i}}Profile{{/i}}</a></li>
|
||||||
<li><a href="#messages">{{_i}}Messages{{/i}}</a></li>
|
<li><a href="#messages">{{_i}}Messages{{/i}}</a></li>
|
||||||
@ -593,7 +598,7 @@ $('#myModal').on('hidden', function () {
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
$(function () {
|
$(function () {
|
||||||
$('.tabs a:last').tab('show')
|
$('#myTab a:last').tab('show')
|
||||||
})
|
})
|
||||||
</script></pre>
|
</script></pre>
|
||||||
<h3>{{_i}}Events{{/i}}</h3>
|
<h3>{{_i}}Events{{/i}}</h3>
|
||||||
@ -817,7 +822,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
|
|||||||
</div>
|
</div>
|
||||||
<h3>{{_i}}Markup{{/i}}</h3>
|
<h3>{{_i}}Markup{{/i}}</h3>
|
||||||
<p>
|
<p>
|
||||||
{{_i}}For performance reasons, the Tooltip and Popover data-apis are opt in. If you would like to use them just specify a the selector option.{{/i}}
|
{{_i}}For performance reasons, the Tooltip and Popover data-apis are opt in. If you would like to use them just specify a selector option.{{/i}}
|
||||||
</p>
|
</p>
|
||||||
<h3>{{_i}}Methods{{/i}}</h3>
|
<h3>{{_i}}Methods{{/i}}</h3>
|
||||||
<h4>$().popover({{_i}}options{{/i}})</h4>
|
<h4>$().popover({{_i}}options{{/i}})</h4>
|
||||||
|
Loading…
Reference in New Issue
Block a user