Created
June 8, 2017 10:37
-
-
Save rexboy7/26d7aaddd4c5a30c6a644c70b0667ee0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/browser/extensions/onboarding/content/onboarding.css b/browser/extensions/onboarding/content/onboarding.css | |
index 7046a02..6a19c74 100644 | |
--- a/browser/extensions/onboarding/content/onboarding.css | |
+++ b/browser/extensions/onboarding/content/onboarding.css | |
@@ -86,3 +86,8 @@ | |
grid-row: footer-start; | |
grid-column: dialog-start / tour-end; | |
} | |
+ | |
+.onboarding-tour-page-section > iframe { | |
+ width: 300px; | |
+ height: 400px; | |
+} | |
diff --git a/browser/extensions/onboarding/content/onboarding.js b/browser/extensions/onboarding/content/onboarding.js | |
index e05166d..b834eb3 100644 | |
--- a/browser/extensions/onboarding/content/onboarding.js | |
+++ b/browser/extensions/onboarding/content/onboarding.js | |
@@ -37,6 +37,7 @@ class Onboarding { | |
// Destroy on unload. This is to ensure we remove all the stuff we left. | |
// No any leak out there. | |
this._window.addEventListener("unload", () => this.destroy()); | |
+ this._overlay.querySelector('iframe').src="https://accounts.firefox.com/signup?service=sync&context=fx_desktop_v3"; | |
} | |
handleEvent(evt) { | |
@@ -74,6 +75,9 @@ class Onboarding { | |
<nav> | |
<ul></ul> | |
</nav> | |
+ <div class="onboarding-tour-page-section"> | |
+ <iframe></iframe> | |
+ </div> | |
<footer> | |
</footer> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment