navigation.html.ep 1.27 KB
Newer Older
Francesc Guasch's avatar
Francesc Guasch committed
1
2
3
4
5
6
7
8
9
10
11
12
13
<nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <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="/">Ravada</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
          <ul class="nav navbar-nav">
14
            <li><a href="/">Quick Start</a></li>
Francesc Guasch's avatar
Francesc Guasch committed
15
16
            <li class="dropdown">
            </li>
Francesc Guasch's avatar
Francesc Guasch committed
17
18
19
20
21
22
23
24
25
26
%           if (! $_logged_in ) {
                <li><a href="/login.html">Login</a></li>
%           } else {
                <li class="dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><%= $_logged_in %> <span class="caret"></span></a>
              <ul class="dropdown-menu">
                <li><a href="/logout">Logout</a></li>
              </ul>
              </li>
%           }
Francesc Guasch's avatar
Francesc Guasch committed
27
28
29
30
          </ul>
        </div><!--/.nav-collapse -->
    </div>
</nav>