<header class="main-header">

    <!-- Logo -->
    <a href="{% url 'index' %}" class="logo">
      <!-- mini logo for sidebar mini 50x50 pixels -->
      <span class="logo-mini"><img src="/static/images/m3.png" height="32px"></span>
      <!-- logo for regular state and mobile devices -->
      <span class="logo-lg"><b>GeoInt:</b>M³</span>
    </a>

    <!-- Header Navbar: style can be found in header.less -->
    <nav class="navbar navbar-static-top">
      <!-- Sidebar toggle button-->
      <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
        <span class="sr-only">Toggle navigation</span>
      </a>
      <!-- Navbar Right Menu -->
      <div class="navbar-custom-menu">
        <ul class="nav navbar-nav">
          <!-- Control Sidebar Toggle Button -->
	<li class="dropdown user user-menu">
   <a class="dropdown-toggle" data-toggle="dropdown" href="#" aria-expanded="false">
                	<i class="fa fa-user fa-fw"></i> <i class="fa fa-caret-down"></i>
                    </a>
            <ul class="dropdown-menu">
              <!-- User image -->
              <li class="user-header">
		<i class="fa fa-user fa-4x" style="color:white"></i> 
                <p>
                  {{user.username}}
                </p>
              </li>
              <!-- Menu Body -->
              <!-- Menu Footer-->
              <li class="user-footer">
                <div class="pull-left">
                  <a href="{% url 'settings-profile' %}" class="btn btn-default btn-flat">Settings</a>
                </div>
                <div class="pull-right">
                  <a href="{% url 'logout'%}?next={{request.path}}" class="btn btn-default btn-flat">Sign out</a>
                </div>
              </li>
            </ul>
          </li>

        </ul>
      </div>

    </nav>
</header>
