diff --git a/Netdisco/public/css/style.css b/Netdisco/public/css/style.css index da023bcb..29526c38 100644 --- a/Netdisco/public/css/style.css +++ b/Netdisco/public/css/style.css @@ -45,11 +45,23 @@ form .clearfix.success input { padding-top: 4px !important; } -/* icolour for device name and ip in sidebar */ +/* colour for device name and ip in sidebar */ .device_label { color: #660033; } +/* right hand side device label */ +.device_label_right { + float: right !important; + margin-top: -3px !important; + display: none; +} + +/* take a block element and force it inline */ +.inline { + display: inline !important; +} + /* nudge content in the sidebar closer to the left */ .nd_sidesearchform { padding-left: 0px; @@ -208,3 +220,4 @@ so that its tooltip takes prescedence over the field tooltip */ .field_clear_icon > img { padding: 6px; } + diff --git a/Netdisco/views/device.tt b/Netdisco/views/device.tt index 73942253..f771ea85 100644 --- a/Netdisco/views/device.tt +++ b/Netdisco/views/device.tt @@ -7,7 +7,9 @@ src="[% uri_base %]/images/application_side_contract.png" rel="twipsy" data-placement="below" data-offset="5" title="Hide Sidebar"/>

[% d.ip %]

+ [% IF d.dns %]

[% d.dns.remove(settings.domain_suffix) %]

+ [% END %]
[% FOREACH tab IN vars.tabs %]