updated top bar to work better on mobile touch browsers (I hope)

pull/618/head
Justin Richer 2014-06-11 14:10:06 -04:00
parent 5b1f9c1aeb
commit ed0dc9acde
1 changed files with 9 additions and 12 deletions

View File

@ -70,25 +70,22 @@
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</ul>
<security:authorize access="hasRole('ROLE_USER')"> <security:authorize access="hasRole('ROLE_USER')">
<li class="dropdown hidden-desktop"><a href="#" <ul class="nav hidden-desktop">
class="dropdown-toggle" data-toggle="dropdown">Action <b <o:actionmenu />
class="caret"></b></a> </ul>
<ul class="dropdown-menu">
<o:actionmenu />
</ul></li>
</security:authorize> </security:authorize>
</ul> <div class="nav pull-right">
<ul class="nav pull-right">
<security:authorize access="hasRole('ROLE_USER')"> <security:authorize access="hasRole('ROLE_USER')">
<div class="btn-group"> <div class="btn-group">
<a class="btn btn-primary btn-small dropdown-toggle" data-toggle="dropdown" href=""><i class="icon-user icon-white"></i> ${ shortName } <span class="caret"></span></a> <a class="btn btn-primary btn-small dropdown-toggle" data-toggle="dropdown" href=""><i class="icon-user icon-white"></i> ${ shortName } <span class="caret"></span></a>
<ul class="dropdown-menu"> <ul class="dropdown-menu pull-right">
<li><a>${ longName }</a></li> <li><a href="manage/#user/profile">${ longName }</a></li>
<li class="divider"></li> <li class="divider"></li>
<li><a href="logout"><i class="icon-remove"></i> Log out</a></li> <li><a href="logout"><i class="icon-remove"></i> Log out</a></li>
</ul> </ul>
@ -97,7 +94,7 @@
<security:authorize access="!hasRole('ROLE_USER')"> <security:authorize access="!hasRole('ROLE_USER')">
<a class="btn btn-primary btn-small" href="login"><i class="icon-user icon-white"></i> Log in</a> <a class="btn btn-primary btn-small" href="login"><i class="icon-user icon-white"></i> Log in</a>
</security:authorize> </security:authorize>
</ul> </div>
</div><!--/.nav-collapse --> </div><!--/.nav-collapse -->
</c:if> </c:if>