User icon color indicates port_control/admin ability

This commit is contained in:
Oliver Gorwits
2013-05-05 13:02:45 +01:00
parent 2cdcb9db7e
commit d9a6a1882a
4 changed files with 14 additions and 3 deletions

View File

@@ -27,6 +27,14 @@ body {
width: 100%;
}
.nd_user_port_control {
color: rgba(255,255,0,0.8) !important;
}
.nd_user_admin {
color: rgba(255,0,0,0.8) !important;
}
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* various styles to adjust the hero box used for homepage + login */

View File

@@ -102,8 +102,10 @@
<li class="nd_navbartext">Logged in as &nbsp;</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
[% IF vars.user.port_control %]
<i class="icon-user-md"></i>
[% IF vars.user.admin %]
<i class="icon-user nd_user_admin"></i>
[% ELSIF vars.user.port_control %]
<i class="icon-user nd_user_port_control"></i>
[% ELSE %]
<i class="icon-user"></i>
[% END %]