From 706a57a55373b68604acc9a54ddcf5fd8f47d9d2 Mon Sep 17 00:00:00 2001 From: Kenny Root Date: Fri, 7 Nov 2008 11:30:23 +0000 Subject: * Add port forward list activity so port forwards can be saved in database * Start saved port forwards when host is connected * Add titles to activities to distinguish where user is --- res/layout/act_portforwardlist.xml | 39 +++++++++++++++++ res/layout/dia_portforward.xml | 86 ++++++++++++++++++++++++++++++++++++++ res/layout/dia_tunnel.xml | 68 ------------------------------ res/layout/item_portforward.xml | 40 ++++++++++++++++++ res/values/strings.xml | 34 +++++++++------ 5 files changed, 186 insertions(+), 81 deletions(-) create mode 100644 res/layout/act_portforwardlist.xml create mode 100644 res/layout/dia_portforward.xml delete mode 100644 res/layout/dia_tunnel.xml create mode 100644 res/layout/item_portforward.xml (limited to 'res') diff --git a/res/layout/act_portforwardlist.xml b/res/layout/act_portforwardlist.xml new file mode 100644 index 0000000..f2fea38 --- /dev/null +++ b/res/layout/act_portforwardlist.xml @@ -0,0 +1,39 @@ + + + + + + + + + \ No newline at end of file diff --git a/res/layout/dia_portforward.xml b/res/layout/dia_portforward.xml new file mode 100644 index 0000000..e8743f9 --- /dev/null +++ b/res/layout/dia_portforward.xml @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/layout/dia_tunnel.xml b/res/layout/dia_tunnel.xml deleted file mode 100644 index dd1db3d..0000000 --- a/res/layout/dia_tunnel.xml +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/res/layout/item_portforward.xml b/res/layout/item_portforward.xml new file mode 100644 index 0000000..fd53d98 --- /dev/null +++ b/res/layout/item_portforward.xml @@ -0,0 +1,40 @@ + + + + + + + + + \ No newline at end of file diff --git a/res/values/strings.xml b/res/values/strings.xml index 5dfc9aa..261b7d5 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -3,9 +3,11 @@ ConnectBot Simple, powerful, open-source SSH client. - ConnectBot - Host - Secure Shell + Hosts + Public keys + Port forwards + Edit Host + Input Password Public Keys Gathering Entropy @@ -31,6 +33,12 @@ Unknown format Change Password + Tap "Menu" to create\nport forwards. + Edit Tunnel + + Nickname: + Source port: + Destination: Old password: Password: (again) @@ -39,9 +47,7 @@ Wrong password! Private key appears corrupt! - Ok Add - Cancel Change Generate Key Resize @@ -89,15 +95,18 @@ Disconnect Copy Paste - Tunnel + Port Forwards Force Size - Create tunnel - Cancel + Local + Remote + Create port forward + Cancel - Successfully created tunnel -L%d:%s:%d - Successfully created tunnel -R%d:%s:%d - Problem creating tunnel, maybe you're using ports under 1024? + Successfully created port forward + Problem creating port forward, maybe you're using ports under 1024? + + Add port forward Use the format 'username@hostname:port' Sort by color @@ -107,6 +116,7 @@ Disconnect Edit host + Edit port forwards Delete host Force landscape @@ -122,13 +132,11 @@ Yes, delete Cancel - Agree Cancel Next Back - The authenticity of host '%s' can't be established. RSA key fingerprint is %s Are you sure you want\nto continue connecting? -- cgit v1.2.3