View Issue Details

IDProjectCategoryView StatusLast Update
1387RackTablesdefaultpublic2015-01-12 17:01
Reporterhackmaster Assigned Toinfrastation  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
PlatformAll 
Product Version0.20.8 
Target Version0.20.9Fixed in Version0.20.9 
Summary1387: Increase width of "Local Name" field.
DescriptionMy "Local Name" field in the ports tab is too small for the data I have included. I would like to see in increased by about 150% (1.5x it's current size).

All the other fields are of sufficient size.
TagsNo tags attached.

Activities

hackmaster

hackmaster

2015-01-08 17:39

reporter  

infrastation

infrastation

2015-01-10 07:55

administrator   ~0002633

Does the change below make it better?

--- a/wwwroot/inc/interface.php
+++ b/wwwroot/inc/interface.php
@@ -1655,7 +1655,7 @@ function renderPortsForObject ($object_id)
                printOpFormIntro ('addPort');
                echo "<tr><td>";
                printImageHREF ('add', 'add a port', TRUE);
- echo "</td><td class='tdleft'><input type=text size=8 name=port_name></td>\n";
+ echo "</td><td class='tdleft'><input type=text size=16 name=port_name></td>\n";
                echo "<td><input type=text name=port_label></td><td>";
                printNiftySelect (getNewPortTypeOptions(), array ('name' => 'port_type_id'), $prefs['selected']);
                echo "<td><input type=text name=port_l2address size=18 maxlength=24></td>\n";
@@ -1723,7 +1723,7 @@ function renderPortsForObject ($object_id)
                printImageHREF ('delete', 'Unlink and Delete this port');
                echo "</a></td>\n";
                $a_class = isEthernetPort ($port) ? 'port-menu' : '';
- echo "<td class='tdleft $name_class' NOWRAP><input type=text name=name class='interactive-portname $a_class' value='${port['name']}' size=8></td>";
+ echo "<td class='tdleft $name_class' NOWRAP><input type=text name=name class='interactive-portname $a_class' value='${port['name']}' size=16></td>";
                echo "<td><input type=text name=label value='${port['label']}'></td>";
                echo '<td>';
                if ($port['iif_id'] != 1)
hackmaster

hackmaster

2015-01-12 16:07

reporter   ~0002641

This is perfect! . I was evidently barking up quite the wrong tree when I was trying to make the change myself.

Thanks so much!
infrastation

infrastation

2015-01-12 17:01

administrator   ~0002643

This change will be available in RackTables 0.20.9.

Issue History

Date Modified Username Field Change
2015-01-08 17:39 hackmaster New Issue
2015-01-08 17:39 hackmaster File Added: 2015-01-08 11_33_03-MDF-MultimodePunch-Middle.png
2015-01-10 07:55 infrastation Note Added: 0002633
2015-01-11 02:16 infrastation Assigned To => infrastation
2015-01-11 02:16 infrastation Status new => feedback
2015-01-12 16:07 hackmaster Note Added: 0002641
2015-01-12 16:07 hackmaster Status feedback => assigned
2015-01-12 17:01 infrastation Note Added: 0002643
2015-01-12 17:01 infrastation Status assigned => closed
2015-01-12 17:01 infrastation Resolution open => fixed
2015-01-12 17:01 infrastation Fixed in Version => 0.20.9
2015-01-12 17:01 infrastation Target Version => 0.20.9