bootstrap-source/bootstrap-3.0.3/_includes/nav-main.html
changeset 54 0ded9d7748b7
equal deleted inserted replaced
53:3416f82943ea 54:0ded9d7748b7
       
     1 <header class="navbar navbar-inverse navbar-fixed-top bs-docs-nav" role="banner">
       
     2   <div class="container">
       
     3     <div class="navbar-header">
       
     4       <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bs-navbar-collapse">
       
     5         <span class="sr-only">Toggle navigation</span>
       
     6         <span class="icon-bar"></span>
       
     7         <span class="icon-bar"></span>
       
     8         <span class="icon-bar"></span>
       
     9       </button>
       
    10       <a href="{{ page.base_url }}" class="navbar-brand">Bootstrap</a>
       
    11     </div>
       
    12     <nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
       
    13       <ul class="nav navbar-nav">
       
    14         <li{% if page.slug == "getting-started" %} class="active"{% endif %}>
       
    15           <a href="{{ page.base_url }}getting-started">Getting started</a>
       
    16         </li>
       
    17         <li{% if page.slug == "css" %} class="active"{% endif %}>
       
    18           <a href="{{ page.base_url }}css">CSS</a>
       
    19         </li>
       
    20         <li{% if page.slug == "components" %} class="active"{% endif %}>
       
    21           <a href="{{ page.base_url }}components">Components</a>
       
    22         </li>
       
    23         <li{% if page.slug == "js" %} class="active"{% endif %}>
       
    24           <a href="{{ page.base_url }}javascript">JavaScript</a>
       
    25         </li>
       
    26         <li{% if page.slug == "customize" %} class="active"{% endif %}>
       
    27           <a href="{{ page.base_url }}customize">Customize</a>
       
    28         </li>
       
    29       </ul>
       
    30       <ul class="nav navbar-nav navbar-right">
       
    31         <li{% if page.slug == "about" %} class="active"{% endif %}>
       
    32           <a href="{{ page.base_url }}about">About</a>
       
    33         </li>
       
    34       </ul>
       
    35     </nav>
       
    36   </div>
       
    37 </header>
Impressum Datenschutzerklärung