css for configuration pane

This commit is contained in:
Oliver Gorwits
2014-06-24 22:42:45 +01:00
parent 62c53a5e49
commit e45fa89c44
4 changed files with 23 additions and 6 deletions

View File

@@ -598,7 +598,7 @@ token-ring-default,fddinet-default,trnet-default.
On some devices, per-VLAN macsuck will timeout with specific VLAN numbers. You
can put those numbers (or their names) into this list to have them skipped.
=head3 C<macsucl_no_devicevlan>
=head3 C<macsuck_no_devicevlan>
Value: List of "IP:vlan-number" or "IP:vlan-name". Default: Empty List.

View File

@@ -176,6 +176,11 @@ div.content > div.tab-content table.nd_floatinghead thead {
padding-left: 25px;
}
.table .nd_icon-right {
margin-right: 18px;
z-index: 1;
}
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* styles to position table cell content */
@@ -283,8 +288,8 @@ td > form.nd_inline-form {
color: black;
}
/* port power control */
.nd_power-icon {
/* port power control and help icon */
.nd_pointer-icon {
cursor: pointer;
}
@@ -345,6 +350,18 @@ td > form.nd_inline-form {
color: #555;
}
.nd_help-left {
float: left;
margin-top: -1px;
margin-left: -24px;
cursor: pointer;
color: #999;
}
.nd_text-icon-right {
padding-right: 30px !important;
}
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* styles for sidebar placement and sizing */

View File

@@ -118,7 +118,7 @@ $(document).ready(function() {
});
// activity for port up/down control, power enable/disable control
$('#ports_pane').on('click', '.icon-hand-up,.icon-hand-down,.nd_power-icon', function() {
$('#ports_pane').on('click', '.icon-hand-up,.icon-hand-down,.nd_pointer-icon', function() {
var clicked = this; // create a closure
$('#nd_portlog').one('hidden', function() {
port_control(clicked); // save

View File

@@ -204,7 +204,7 @@
data-field="c_power" data-for-device="[% device.ip | html_entity %]"
data-for-port="[% row.port | html_entity %]">
<i class="icon-off nd_power-icon nd_power-on"
<i class="icon-off nd_pointer-icon nd_power-on"
rel="tooltip" data-placement="top" data-offset="3"
data-animation="" data-title="Click to Disable"></i>
[% ELSE %]
@@ -224,7 +224,7 @@
data-field="c_power" data-for-device="[% device.ip | html_entity %]"
data-for-port="[% row.port | html_entity %]">
<i class="icon-off nd_power-icon"
<i class="icon-off nd_pointer-icon"
rel="tooltip" data-placement="top" data-offset="3"
data-animation="" data-title="Click to Enable"></i>
[% ELSE %]