From a54bcba22cd9fb089a557bd95e2552aa54bca02d Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Wed, 22 Feb 2012 22:47:18 +0000 Subject: [PATCH] remove href from port name link to discourage bookmarking --- Netdisco/public/css/netdisco.css | 5 +++++ Netdisco/views/ajax/device/ports.tt | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Netdisco/public/css/netdisco.css b/Netdisco/public/css/netdisco.css index 9e74d7eb..5de2e253 100644 --- a/Netdisco/public/css/netdisco.css +++ b/Netdisco/public/css/netdisco.css @@ -164,6 +164,11 @@ so that its tooltip takes prescedence over the field tooltip */ padding: 6px; } +/* link port name to restricted search */ +.this_port_only { + cursor: pointer; +} + /* change highlighting for form fields which are being used in a search */ form .clearfix.success select { background-color: #A9DBA9; diff --git a/Netdisco/views/ajax/device/ports.tt b/Netdisco/views/ajax/device/ports.tt index 9ad71ebe..8e1e97b6 100644 --- a/Netdisco/views/ajax/device/ports.tt +++ b/Netdisco/views/ajax/device/ports.tt @@ -23,7 +23,7 @@ [% END %] [% IF params.c_port %] - [% row.port | html_entity %] + [% row.port | html_entity %] [% END %] [% IF params.c_descr %] [% row.descr | html_entity %]