Adding user menu update

revert-70aa11f8
Imesh Chandrasiri 8 years ago
parent 00bf595cb2
commit e02264099b

@ -16,22 +16,29 @@
under the License. under the License.
}} }}
{{#zone "userMenu"}} {{#zone "userMenu"}}
<a href="#" class="dropdown" data-toggle="dropdown"> <ul class="nav navbar-right float-remove-xs text-center-xs">
<span class="hidden-xs add-padding-left-3x"> <li class="visible-inline-block">
{{@user.username}}<span class="caret"></span> <a href="#" class="dropdown" data-toggle="dropdown">
</span> <span class="icon fw-stack fw-lg">
<span class="icon fw-stack fw-lg"><i class="fw fw-user fw-stack-1x"></i></span> <i class="fw fw-circle fw-stack-2x"></i>
</a> <i class="fw fw-user fw-stack-1x fw-inverse"></i>
<ul class="dropdown-menu float-remove-xs position-static-xs text-center-xs remove-margin-xs slideInDown" </span>
role="menu"> <span class="hidden-xs add-padding-left-1x">
<li class="dropdown-header visible-xs"> {{@user.username}}<span class="caret"></span>
{{@user.username}}<span class="caret"></span> </span>
</a>
<ul class="dropdown-menu dropdown-menu-right float-remove-xs position-static-xs text-center-xs remove-margin-xs slideInDown"
role="menu">
<li class="dropdown-header visible-xs">
{{@user.username}}<span class="caret"></span>
</li>
<li class="divider visible-xs"></li>
{{#defineZone "userMenu-items"}}
<li>
<a href="{{@app.context}}/signout">Sign Out</a>
</li>
{{/defineZone}}
</ul>
</li> </li>
<li class="divider visible-xs"></li>
{{#defineZone "userMenu-items"}}
<li>
<a href="{{@app.context}}/signout">Sign Out</a>
</li>
{{/defineZone}}
</ul> </ul>
{{/zone}} {{/zone}}
Loading…
Cancel
Save