| Index: Source/devtools/front_end/SettingsScreen.js
|
| diff --git a/Source/devtools/front_end/SettingsScreen.js b/Source/devtools/front_end/SettingsScreen.js
|
| index 77a285b58857dc017668725035b606c4c1fa2351..5f253f02dc4509efe624c3ddeca7976fa3b7ab9f 100644
|
| --- a/Source/devtools/front_end/SettingsScreen.js
|
| +++ b/Source/devtools/front_end/SettingsScreen.js
|
| @@ -714,8 +714,17 @@ WebInspector.TetheringSettingsTab.prototype = {
|
| if (this._paragraphElement)
|
| return;
|
|
|
| - this._paragraphElement = this._appendSection(WebInspector.UIString("Mappings"));
|
| WebInspector.SettingsTab.prototype.wasShown.call(this);
|
| +
|
| + var labelElement = this._appendSection();
|
| + labelElement.addStyleClass("tethering-help-info");
|
| + labelElement.textContent =
|
| + WebInspector.UIString("Creates a listen TCP port on your device that maps to a particular TCP port accessible from the host machine.");
|
| + labelElement.createChild("br");
|
| + labelElement.createChild("div", "tethering-help-title-left").textContent = WebInspector.UIString("Device port");
|
| + labelElement.createChild("div", "tethering-help-title-right").textContent = WebInspector.UIString("Target");
|
| +
|
| + this._paragraphElement = this._appendSection();
|
| var mappingEntries = WebInspector.settings.portForwardings.get();
|
| for (var i = 0; i < mappingEntries.length; ++i)
|
| this._addMappingRow(mappingEntries[i].port, mappingEntries[i].location, false);
|
| @@ -733,7 +742,7 @@ WebInspector.TetheringSettingsTab.prototype = {
|
| _addMappingRow: function(port, location, focus)
|
| {
|
| var mappingRow = this._paragraphElement.createChild("div", "workspace-settings-row");
|
| - var portElement = mappingRow.createChild("input");
|
| + var portElement = mappingRow.createChild("input", "tethering-port-input");
|
| portElement.type = "text";
|
| portElement.value = port || "";
|
| if (!port)
|
|
|