From aad7c51834f25ce6a4a23b1faef36cf1f44e3a33 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 13 Aug 2018 16:22:08 +0000 Subject: [PATCH 1/3] [style] update width to show full examples --- lib/extensions/admin/index.html | 47 ++++++++++++------- .../admin/static-site-assets/styles/main.css | 32 ++++++++++--- 2 files changed, 57 insertions(+), 22 deletions(-) diff --git a/lib/extensions/admin/index.html b/lib/extensions/admin/index.html index 28f628b..7cf8ac9 100644 --- a/lib/extensions/admin/index.html +++ b/lib/extensions/admin/index.html @@ -54,14 +54,13 @@
-
- Serving localhost:3000 as https://test-app.telebit.cloud +
+ ~/telebit http 3000
-
- Go forth and share! +
 
-
- ex: curl https://test-app.telebit.cloud +
+ Forwarding https://jondoe.telebit.io => localhost:3000
@@ -92,26 +91,42 @@
2
Claim your device via Email
-
You've installed Telebit on 'Jon's Macbook Pro'.
+          
You're running Telebit on 'Jon's Macbook Pro'.
 
-Authenticate your account and claim your device:
-
-    https://www.telebit.cloud/login/?magic=xxxxxxxxxxxxxx
+ Click Trust Device to pair with Telebit
3
Enjoy Anytime, Anywhere Access
-
HTTPS
+          
For Local Development
 
-  https://lucky-duck-42.telebit.cloud
+  ~/telebit http 3000
+  Forwarding https://jondoe.telebit.io => localhost:3000
 
-SSH
+  curl -fsSL https://jondoe.telebit.io/
 
-  ssh ssh.telebit.cloud -p 22222
+For Sharing Files
 
-TCP
+  ~/telebit http ./project.zip
+  Serving ./project.zip as https://jondoe.telebit.io
 
-  netcat tcp.telebit.cloud 22222
+ curl -fsSL https://jondoe.telebit.io/ + +For Access with SSH + + ~/telebit ssh auto + Forwarding jondoe.telebit.io -p 5050 => localhost:22 + Forwarding ssh+https (openssl proxy) => localhost:22 + + ssh -p 5050 jondoe.telebit.io + ssh -o ProxyCommand="sclient %h:443" jondoe.telebit.io + +For Debugging with TCP + + ~/telebit tcp 9000 + Forwarding jondoe.telebit.io -p 5050 => localhost:9000 + + netcat jondoe.telebit.io 5050
diff --git a/lib/extensions/admin/static-site-assets/styles/main.css b/lib/extensions/admin/static-site-assets/styles/main.css index b1e2b34..2b2737d 100644 --- a/lib/extensions/admin/static-site-assets/styles/main.css +++ b/lib/extensions/admin/static-site-assets/styles/main.css @@ -5,7 +5,7 @@ body{ margin: 0; } -a, u { +a { text-decoration: none; color: inherit; } @@ -30,7 +30,7 @@ a:hover, u:hover { } .container { - width: 788px; + width: 840px; margin: auto; } @@ -96,7 +96,7 @@ a.link-button.wide { margin: 1em 9.4444em 0; position: relative; height: 236px; - width: 560px; + width: 644px; overflow: hidden; } @@ -104,7 +104,7 @@ a.link-button.wide { position: absolute; bottom: 0; right: 0; - width: 488px; + width: 544px; height: 236px; background-color: #ffffff; border-radius: 4px 4px 0 0; @@ -161,7 +161,8 @@ a.link-button.wide { } .demo-terminal { - width: 418px; + /*width: 418px;*/ + width: 512px; position: absolute; font-size: 15px; background-color: #f7f7f7; @@ -177,6 +178,16 @@ a.link-button.wide { } .demo-terminal-line:before { + content: " "; +} +.demo-terminal-input:before { + content: "$"; +} +.demo-terminal-output { + padding-left: 1em; + text-indent: -1em; +} +.demo-terminal-output:before { content: ">"; } @@ -234,6 +245,15 @@ body {} margin: 0; padding: 0.8em 0 0.8em 2em; } +.quickstart-line:before { + content: " "; +} +.quickstart-input:before { + content: "$ "; +} +.quickstart-output:before { + content: "> "; +} h3 { text-align: center; @@ -389,4 +409,4 @@ a {} .install-badge:hover path { fill: #ababab; -} \ No newline at end of file +} From d2df0d6ab373e76dd4cbc41af192fec2bbee82fd Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 14 Aug 2018 04:16:03 +0000 Subject: [PATCH 2/3] [admin] update copy --- lib/extensions/admin/index.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/extensions/admin/index.html b/lib/extensions/admin/index.html index 7cf8ac9..4e52488 100644 --- a/lib/extensions/admin/index.html +++ b/lib/extensions/admin/index.html @@ -91,9 +91,12 @@
2
Claim your device via Email
-
You're running Telebit on 'Jon's Macbook Pro'.
+          
Hello!
 
-    Click Trust Device to pair with Telebit
+Want to use 'Jon's Macbook Pro' with Telebit? +Just confirm your email address: + + Confirm Email Address
3
From 222848cdd1a62be598e983bf8d8e80547e38ccd9 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 14 Aug 2018 04:22:11 +0000 Subject: [PATCH 3/3] update copy --- lib/extensions/admin/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/extensions/admin/index.html b/lib/extensions/admin/index.html index 4e52488..ea5cdc5 100644 --- a/lib/extensions/admin/index.html +++ b/lib/extensions/admin/index.html @@ -86,7 +86,7 @@
1
Install Telebit
-
curl -fsSL https://get.telebit.cloud/ | bash
+
curl https://get.telebit.io | bash
2