|
1 | | -<nav class="navbar navbar-inverse navbar-embossed col-md-12" role="navigation"> |
| 1 | + |
| 2 | +<nav class="navbar navbar-inverse col-md-12" role="navigation"> |
2 | 3 | <div class="navbar-header"> |
3 | 4 | <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse-01"> |
4 | 5 | <span class="sr-only">Toggle navigation</span> |
|
11 | 12 | <!-- If User is logged in --> |
12 | 13 | {% if auth.check %} |
13 | 14 | <li class="dropdown"> |
14 | | - <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ auth.user.first_name }} {{ auth.user.last_name }} <b class="caret"></b></a> |
| 15 | + <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-user-o" aria-hidden="true"></i> {{ auth.user.first_name }} {{ auth.user.last_name }} <b class="caret"></b></a> |
15 | 16 | <span class="dropdown-arrow"></span> |
16 | 17 | <ul class="dropdown-menu"> |
17 | | - <li><a href="{{ path_for('users.view', { 'id': auth.user.id }) }}">My Profile</a></li> |
| 18 | + <li><a href="{{ path_for('users.view', { 'id': auth.user.id }) }}"><i class="fa fa-user" aria-hidden="true"></i> My Profile</a></li> |
18 | 19 |
|
19 | | - <li><a href="{{ path_for('posts.index', {'user_id': auth.user.id }) }}">My Posts</a></li> |
20 | | - <li><a href="{{ path_for('auth.password.change') }}">Change Password</a></li> |
| 20 | + <li><a href="{{ path_for('posts.index', {'user_id': auth.user.id }) }}"><i class="fa fa-pencil-square-o" aria-hidden="true"></i> My Posts</a></li> |
| 21 | + <li><a href="{{ path_for('auth.password.change') }}"><i class="fa fa-key" aria-hidden="true"></i> Change Password</a></li> |
21 | 22 |
|
22 | 23 | <li class="divider"></li> |
23 | | - <li><a href="{{ path_for('auth.signout')}}">Logout</a></li> |
| 24 | + <li><a href="{{ path_for('auth.signout')}}"><i class="fa fa-power-off" aria-hidden="true"></i> Logout</a></li> |
24 | 25 | </ul> |
25 | 26 | </li> |
26 | 27 |
|
|
38 | 39 | {% endif %} |
39 | 40 |
|
40 | 41 | {% else %} |
41 | | - <li><a href="{{ path_for('auth.signup')}}">Signup</a></li> |
42 | | - <li><a href="{{ path_for('auth.signin')}}">Signin</a></li> |
| 42 | + <li><a href="{{ path_for('auth.signup')}}"><i class="fa fa-sign-in" aria-hidden="true"></i> Signup</a></li> |
| 43 | + <li><a href="{{ path_for('auth.signin')}}"><i class="fa fa-unlock" aria-hidden="true"></i> Signin</a></li> |
43 | 44 |
|
44 | 45 | {% endif %} |
45 | | - <li><a href="{{ path_for('about')}}">About Us</a></li> |
| 46 | + <li><a href="{{ path_for('about')}}"><i class="fa fa-address-book-o" aria-hidden="true"></i> About Us</a></li> |
46 | 47 | </ul> |
47 | 48 | <form class="navbar-form navbar-right" action="#" role="search"> |
48 | 49 | <div class="form-group"> |
49 | 50 | <div class="input-group"> |
50 | 51 | <input class="form-control" id="navbarInput-01" type="search" placeholder="Search"> |
51 | 52 | <span class="input-group-btn"> |
52 | | - <button type="submit" class="btn"><span class="fui-search"></span> Search</button> |
| 53 | + <button type="submit" class="btn btn-primary"><span class="fui-search"></span> Search</button> |
53 | 54 | </span> |
54 | 55 | </div> |
55 | 56 | </div> |
|
0 commit comments