Skip to content

Instantly share code, notes, and snippets.

@tranepura
Last active August 16, 2016 06:24
Show Gist options
  • Select an option

  • Save tranepura/3d4a23847dbcffa1247079891902f30f to your computer and use it in GitHub Desktop.

Select an option

Save tranepura/3d4a23847dbcffa1247079891902f30f to your computer and use it in GitHub Desktop.
header template
<header id = "navbar" role = "banner" class = "navbar navbar-static-top navbar-default">
<div class = "container">
<div class = "navbar-header">
<!---->
<!--<a class = "name navbar-brand" href = "/" title = "Home">ma-drupal.dev</a>
-->
<a href = "/" title = "Home">
<div id = "navbarhome" class = "name navbar-brand glyphicon glyphicon-home"></div> </a>
<!--.btn-navbar is used as the toggle for collapsed navbar content -->
<button type = "button" class = "navbar-toggle" data-toggle = "collapse" data-target = ".navbar-collapse">
<span class = "sr-only">Toggle navigation</span>
<span class = "icon-bar"></span>
<span class = "icon-bar"></span>
<span class = "icon-bar"></span>
</button>
</div>
<div class = "navbar-collapse collapse">
<nav role = "navigation">
<div class = "user-profile-pic pull-right"><div class = "pure-menu-item">
<img class = "mug" src = "http://drupal.dev:8888/sites/all/themes/bootstrap/images/default_person.png">
</div></div><div class = "dropdown pull-right">
<button class = "btn btn-primary dropdown-toggle" type = "button" data-toggle = "dropdown"><div id = "greeting">Welcome</div><div id = "greetname">Admindssqs
</div><span class = "caret"></span></button>
<ul class = "dropdown-menu"><li class = "first leaf"><a href = "/node/add" title = "Add content to CMS">Add Content to CMS</a></li>
<li class = "leaf"><a href = "/profile-contact_preferences" title = "Contact PreferencesContact Preferences
">Contact Preferences</a></li>
<li class = "leaf"><a href = "/mydetails" title = "">My Details</a></li>
<li class = "last leaf"><a href = "/user/logout?current=user/1">Log out</a></li>
</ul>
</div> <ul class = "menu nav navbar-nav pull-right"><li class = "first leaf"><a href = "http://google.com" title = "">Link 1</a></li>
<li class = "last leaf"><a href = "http://google.com" title = "">Link 2</a></li>
</ul>
</nav>
</div>
</div>
</header>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment