no need for device labels
This commit is contained in:
@@ -117,18 +117,6 @@ body {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
/* right hand side device label */
|
||||
.device_label_right {
|
||||
float: right !important;
|
||||
margin-bottom: -7px !important;
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* take a block element and force it inline */
|
||||
.inline {
|
||||
display: inline !important;
|
||||
}
|
||||
|
||||
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
||||
/* style customization for many items which appear in the sidebar */
|
||||
|
||||
@@ -179,20 +167,6 @@ form .clearfix.success input {
|
||||
background-color: #A9DBA9;
|
||||
}
|
||||
|
||||
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
||||
/* device and ip label in sidebar */
|
||||
|
||||
/* pull the device label closer to the top of the sidebar
|
||||
to reduce the useless gap */
|
||||
h3.device_label {
|
||||
margin-top: -12px;
|
||||
}
|
||||
|
||||
/* colour for device name and ip in sidebar */
|
||||
.device_label {
|
||||
color: #660033;
|
||||
}
|
||||
|
||||
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
||||
/* sidebar collapser */
|
||||
|
||||
|
||||
@@ -138,7 +138,6 @@ $(document).ready(function() {
|
||||
function() {
|
||||
$('#sidebar_toggle_img_out').toggle();
|
||||
$('.content').animate({'margin-right': '10px !important'}, 50);
|
||||
$('.device_label_right').toggle();
|
||||
}
|
||||
);
|
||||
sidebar_hidden = 1;
|
||||
@@ -149,7 +148,6 @@ $(document).ready(function() {
|
||||
$('#sidebar_toggle_img_out').toggle();
|
||||
$('.content').animate({'margin-right': '220px !important'}, 100,
|
||||
function() {
|
||||
$('.device_label_right').toggle();
|
||||
$('.sidebar').toggle(200);
|
||||
$(window).scrollTop(0);
|
||||
}
|
||||
|
||||
@@ -33,12 +33,6 @@
|
||||
[% FOREACH tab IN vars.tabs %]
|
||||
<li[% ' class="active"' IF params.tab == tab.id %]><a id="[% tab.id %]_link" href="#[% tab.id %]_pane">[% tab.label %]</a></li>
|
||||
[% END %]
|
||||
<li class="device_label_right">
|
||||
<h3 class="inline device_label">[% d.ip %]</h3>
|
||||
[% IF d.dns %]
|
||||
<h5 class="inline device_label">([% d.dns.remove(settings.domain_suffix) %])</h5>
|
||||
[% END %]
|
||||
</li>
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
[% FOREACH tab IN vars.tabs %]
|
||||
|
||||
Reference in New Issue
Block a user