index.html 4.2 KB
Newer Older
1
2
3
4
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
5
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
Zlatan Vasović's avatar
Zlatan Vasović committed
6
    <meta name="viewport" content="width=device-width, initial-scale=1">
7
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
8
9
    <meta name="description" content="">
    <meta name="author" content="">
10
    <link rel="icon" href="../../favicon.ico">
11

Nicole's avatar
Nicole committed
12
    <title>Navbar Template for Bootstrap</title>
13
14

    <!-- Bootstrap core CSS -->
wangsai's avatar
wangsai committed
15
    <link href="../../dist/css/bootstrap.min.css" rel="stylesheet">
16
17

    <!-- Custom styles for this template -->
Nicole's avatar
Nicole committed
18
    <link href="navbar.css" rel="stylesheet">
19

20
    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
wangsai's avatar
wangsai committed
21
    <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
22
    <script src="../../assets/js/ie-emulation-modes-warning.js"></script>
23

XhmikosR's avatar
XhmikosR committed
24
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
25
    <!--[if lt IE 9]>
XhmikosR's avatar
XhmikosR committed
26
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
XhmikosR's avatar
XhmikosR committed
27
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
28
    <![endif]-->
29
30
31
32
33
34
35
  </head>

  <body>

    <div class="container">

      <!-- Static navbar -->
36
      <nav class="navbar navbar-default">
37
38
        <div class="container-fluid">
          <div class="navbar-header">
Patrick H. Lauke's avatar
Patrick H. Lauke committed
39
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
40
41
42
43
44
45
46
              <span class="sr-only">Toggle navigation</span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">Project name</a>
          </div>
Patrick H. Lauke's avatar
Patrick H. Lauke committed
47
          <div id="navbar" class="navbar-collapse collapse">
48
            <ul class="nav navbar-nav">
49
50
51
              <li class="active"><a href="#">Home</a></li>
              <li><a href="#">About</a></li>
              <li><a href="#">Contact</a></li>
52
              <li class="dropdown">
53
54
                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
                <ul class="dropdown-menu">
55
56
57
                  <li><a href="#">Action</a></li>
                  <li><a href="#">Another action</a></li>
                  <li><a href="#">Something else here</a></li>
58
                  <li role="separator" class="divider"></li>
59
60
61
62
63
64
65
                  <li class="dropdown-header">Nav header</li>
                  <li><a href="#">Separated link</a></li>
                  <li><a href="#">One more separated link</a></li>
                </ul>
              </li>
            </ul>
            <ul class="nav navbar-nav navbar-right">
66
              <li class="active"><a href="./">Default <span class="sr-only">(current)</span></a></li>
67
68
69
70
71
              <li><a href="../navbar-static-top/">Static top</a></li>
              <li><a href="../navbar-fixed-top/">Fixed top</a></li>
            </ul>
          </div><!--/.nav-collapse -->
        </div><!--/.container-fluid -->
72
      </nav>
73
74
75
76
77
78

      <!-- Main component for a primary marketing message or call to action -->
      <div class="jumbotron">
        <h1>Navbar example</h1>
        <p>This example is a quick exercise to illustrate how the default, static navbar and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device.</p>
        <p>
79
          <a class="btn btn-lg btn-primary" href="../../components/#navbar" role="button">View navbar docs &raquo;</a>
80
81
82
83
84
        </p>
      </div>

    </div> <!-- /container -->

85

86
87
88
    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
XhmikosR's avatar
XhmikosR committed
89
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
90
    <script src="../../dist/js/bootstrap.min.js"></script>
91
92
    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
93
  </body>
94
</html>