From 47bdae4b051b242add6013812241bd622a3a527a Mon Sep 17 00:00:00 2001 From: Daricus_Duncan Date: Sat, 14 Oct 2017 03:01:56 -0500 Subject: [PATCH 1/7] [WIP] -- Adding Language menu for en 00-01 html Adding drop down menu option to change languages --- en/00-01.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/en/00-01.html b/en/00-01.html index fd39066..7aa9424 100644 --- a/en/00-01.html +++ b/en/00-01.html @@ -17,3 +17,21 @@ You can always go back and forth between the steps of the tutorial using the circles on the top of the page.

+ + + + + From 49cb9484e0cc2dab56b9edfdfb3927e8d6f14d9d Mon Sep 17 00:00:00 2001 From: Daricus_Duncan Date: Sat, 14 Oct 2017 03:14:30 -0500 Subject: [PATCH 2/7] Modified select menu errors Changed variable naming and href references to change directories and make code more readable. --- en/00-01.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/en/00-01.html b/en/00-01.html index 7aa9424..62b5f28 100644 --- a/en/00-01.html +++ b/en/00-01.html @@ -21,17 +21,17 @@ From 927c58cbd110fdb4232d8a01c5e864e9af55fdbb Mon Sep 17 00:00:00 2001 From: Daricus_Duncan Date: Sat, 14 Oct 2017 03:23:54 -0500 Subject: [PATCH 3/7] Removed console.log removed console.log line of code --- en/00-01.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/00-01.html b/en/00-01.html index 62b5f28..0ef4bca 100644 --- a/en/00-01.html +++ b/en/00-01.html @@ -32,6 +32,6 @@ var getLanguageMenu = document.getElementById('languageMenu'); var getLanguageHref = getLanguageMenu.options[getLanguageMenu.selectedIndex].getAttribute('href'); window.location.assign(getLanguageHref); - //console.log(getLanguageHref) + } From 3515cf30754cf16411476c2d70b82e4ca35e488a Mon Sep 17 00:00:00 2001 From: Daricus_Duncan Date: Sun, 15 Oct 2017 22:52:52 -0500 Subject: [PATCH 4/7] Back button action resets language menu option to [Selected] option. Implemented JQuery to reset the position of the drop-down language menu to the selected option. The back button action will now revert back to the previous page while keeping the selected option as default value. --- en/00-01.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/en/00-01.html b/en/00-01.html index 0ef4bca..597c49f 100644 --- a/en/00-01.html +++ b/en/00-01.html @@ -35,3 +35,11 @@ } + + From bf0a7e9062d5753db2f91cb6e3f423f19b46bd61 Mon Sep 17 00:00:00 2001 From: Daricus_Duncan Date: Thu, 26 Oct 2017 00:53:54 -0500 Subject: [PATCH 5/7] Moved languageMenu Code from the en/00-01.html file Removed the code implemented in the en/00-01.html file to the footer section of _layouts for Jekyll usage across all pages. --- en/00-01.html | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/en/00-01.html b/en/00-01.html index 597c49f..fd39066 100644 --- a/en/00-01.html +++ b/en/00-01.html @@ -17,29 +17,3 @@ You can always go back and forth between the steps of the tutorial using the circles on the top of the page.

- - - - - - - From ac9579b649a7b379a515ebeacb468d82d393b56c Mon Sep 17 00:00:00 2001 From: Daricus_Duncan Date: Thu, 26 Oct 2017 00:55:23 -0500 Subject: [PATCH 6/7] Updated tutorial.html footer section to hold languageMenu code Modified tutorial.html footer section to contain the languagemenu div for all pages. --- _layouts/tutorial.html | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/_layouts/tutorial.html b/_layouts/tutorial.html index 1e87518..95b82f7 100644 --- a/_layouts/tutorial.html +++ b/_layouts/tutorial.html @@ -116,6 +116,41 @@

{{ page.title | escape }}

{% endif %}