Sha256: 06ab2d41fbd7e75c35819ffb5e9a6651f2ac05220c131ac752e23a125f8d1b38

Contents?: true

Size: 1.34 KB

Versions: 2

Compression:

Stored size: 1.34 KB

Contents

<nav class="navbar navbar-default">
  <div class="container-fluid">

    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse-desktop" aria-expanded="false">
        <span class="sr-only">切换导航条</span>
        <i class="fa fa-bars"></i>
      </button>
      <a class="navbar-brand" href="/">主页</a>
    </div>

    <div class="collapse navbar-collapse" id="navbar-collapse-desktop">
      <ul class="nav navbar-nav">
        <li role="presentation" class="active"><a href="#">Menu #1<span class="sr-only">当前</span></a></li>
        <li role="presentation"><a href="#">Menu #2</a></li>
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <i class="fa fa-caret-down"></i></a>
          <ul class="dropdown-menu">
            <li><a href="#">Action</a></li>
            <li><a href="#">Another action</a></li>
            <li><a href="#">Something else here</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="#">Separated link</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="#">One more separated link</a></li>
          </ul>
        </li>
      </ul>
    </div>

  </div>
</nav>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
repres-bootstrap-2.0 lib/generators/repres/bootstrap/platform/templates/app/views/shared/_navigation_bar.html.erb
repres-bootstrap-1.11 lib/generators/repres/bootstrap/platform/templates/app/views/shared/_navigation_bar.html.erb