diff --git a/Netdisco/Changes b/Netdisco/Changes index 3e664d27..6fe26ea4 100644 --- a/Netdisco/Changes +++ b/Netdisco/Changes @@ -14,6 +14,7 @@ * Port filter in device port display is now highlighted green * Navbar search is fuzzier * Phone node icon is a little phone handset + * User icon color indicates port_control/admin ability [BUG FIXES] diff --git a/Netdisco/lib/App/Netdisco/Web/Device.pm b/Netdisco/lib/App/Netdisco/Web/Device.pm index 7f2a5c66..b6368918 100644 --- a/Netdisco/lib/App/Netdisco/Web/Device.pm +++ b/Netdisco/lib/App/Netdisco/Web/Device.pm @@ -7,7 +7,7 @@ use Dancer::Plugin::DBIC; hook 'before' => sub { # list of port detail columns var('port_columns' => [ - { name => 'c_admin', label => 'Admin Controls', default => '' }, + { name => 'c_admin', label => 'Port Controls', default => '' }, { name => 'c_port', label => 'Port', default => 'on' }, { name => 'c_descr', label => 'Description', default => '' }, { name => 'c_type', label => 'Type', default => '' }, diff --git a/Netdisco/share/public/css/netdisco.css b/Netdisco/share/public/css/netdisco.css index dd486147..3e54494b 100644 --- a/Netdisco/share/public/css/netdisco.css +++ b/Netdisco/share/public/css/netdisco.css @@ -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 */ diff --git a/Netdisco/share/views/layouts/main.tt b/Netdisco/share/views/layouts/main.tt index 676a0ce2..c85f56b3 100644 --- a/Netdisco/share/views/layouts/main.tt +++ b/Netdisco/share/views/layouts/main.tt @@ -102,8 +102,10 @@
  • Logged in as