UI - DropDown

> User Interface (GUI)

2 - Example

2.1 - Login

The login element in Bootstrap:

<!-- An container element with the class dropdown is needed. 
Without it, the dropdown-menu elements are going all the way down -->
<div class="dropdown">
  <a href="#" data-toggle="dropdown" class="dropdown-toggle">
  <span class="glyphicon glyphicon-user"></span><b class="caret"></b></a>
  <ul class="dropdown-menu">
	<li>
	  <a href="/users/id" title="Profile">Profile</a>
	</li>
	<li>
	  <a href="/logout" title="Logout">Logout </a>
	</li>
  </ul>
</div>
where:

Advertising
ui/dropdown.txt · Last modified: 2017/05/20 16:32 by gerardnico