From 28971a38193106ede41090ace6cd854c8c7a5b7c Mon Sep 17 00:00:00 2001 From: Afzaal Ameer Date: Tue, 13 Dec 2016 01:21:14 +0530 Subject: [PATCH 01/23] Init --- .gitignore | 4 ++ README.md | 1 + _config.yml | 40 +++++++++++ _layouts/default.html | 43 +++++++++++ index.html | 77 ++++++++++++++++++++ scripts.js | 0 style.css | 194 ++++++++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 359 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 _config.yml create mode 100644 _layouts/default.html create mode 100644 index.html create mode 100644 scripts.js create mode 100644 style.css diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..ce9005b05 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +_site +node_modules +validation-report.json +validation-status.json diff --git a/README.md b/README.md new file mode 100644 index 000000000..eb48801cd --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +Downloads : https://afzaalace.github.io/synergy-stable-builds/ diff --git a/_config.yml b/_config.yml new file mode 100644 index 000000000..a793a0387 --- /dev/null +++ b/_config.yml @@ -0,0 +1,40 @@ +# Name of your blog (this will show up at the top of your page and in the RSS feed) +name: Synergy Releases + +# Short description (goes below the title; it will also be used in the RSS feed) +description: + +# Your name, as you want it to appear underneath each post and in the footer +author: Afzaal Ameer + +# Your email if you want it to be linked on the contact page +author_email: afzaal@afzaalace.com + +# The directory for category index pages. Change it to something else if +# for example you want links like /categories/category1 instead of /category1 +category_dir: / + +# Uncomment if you are planning to run the blog in a subdirectory +# Note - if you enable this, and attempt to view your site locally you have to use the baseurl in your local path. +# Example, you must use http://localhost:4000/path/to/blog +#baseurl: /path/to/blog +baseurl: + +# The URL of your actual domain. This will be used to make absolute links in the RSS feed. +#url: http://yourdomain.com/ + +#### Under the Hood Stuff ##### + +# Use rdiscount as the markdown engine because it generates html5 compliant code for stuff like footnotes +# If you use maroku (default engine) some of your generated pages may not validate or lint as html5 +# If you don't have it install it via gem install rdiscount +markdown: rdiscount + +# Makes pretty (descriptive) permalinks. See Jekyll docs for alternatives. +permalink: pretty + +# How many articles do you wish to appear on the front page: +paginate: 3 + +# Exclude metadata and development time dependencies (like Grunt plugins) +exclude: [README.markdown, package.json, grunt.js, Gruntfile.js, Gruntfile.coffee, node_modules] diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 000000000..e577d332d --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,43 @@ + + + + + + {% if page.title %} {{ page.title }} | {% endif %} {{ site.name }} + + + + + + + + +
+ + {{ content }} + +
+ + + + + diff --git a/index.html b/index.html new file mode 100644 index 000000000..3fb0cf0e8 --- /dev/null +++ b/index.html @@ -0,0 +1,77 @@ +--- +layout: default +title: Downloads [Free] +--- +

{% if page.title %} {{ page.title }} | {% endif %} {{ site.name }}

+
+ + +{% assign sorted_releases = (site.github.releases | sort: 'tag_name') %} +{% for release in sorted_releases reversed %} + + + + +{% endfor %} + +
{{ release.tag_name }} + {% for asset in release.assets %} + {% if asset.name contains "Windows-x86.msi" %} + Windows - x86 + {% endif %} + {% endfor %} + {% for asset in release.assets %} + {% if asset.name contains "Windows-x64.msi" %} + Windows - x64 + {% endif %} + {% endfor %} + {% for asset in release.assets %} + {% if asset.name contains "MacOSX109-x86_64.dmg" %} + OS X Mavericks + {% endif %} + {% endfor %} + {% for asset in release.assets %} + {% if asset.name contains "MacOSX1010-x86_64.dmg" %} + OS X Yosemite + {% endif %} + {% endfor %} + {% for asset in release.assets %} + {% if asset.name contains "MacOSX1011-x86_64.dmg" %} + OS X El Capitan + {% endif %} + {% endfor %} + {% for asset in release.assets %} + {% if asset.name contains "MacOSX1012-x86_64.dmg" %} + macOS Sierra + {% endif %} + {% endfor %} + {% for asset in release.assets %} + {% if asset.name contains "Linux-x86_64.deb" %} + Ubuntu/Debian - x86_64 + {% endif %} + {% endfor %} + {% for asset in release.assets %} + {% if asset.name contains "Linux-i686.deb" %} + Ubuntu/Debian - i686 + {% endif %} + {% endfor %} + {% for asset in release.assets %} + {% if asset.name contains "Linux-x86_64.rpm" %} + RPM - x86_64 + {% endif %} + {% endfor %} + {% for asset in release.assets %} + {% if asset.name contains "Linux-i686.rpm" %} + RPM - i686 + {% endif %} + {% endfor %} + {% for asset in release.assets %} + {% if asset.name contains "Linux-armv6l.deb" %} + Debian - armv6l + {% endif %} + {% endfor %} +
+
+Star + + diff --git a/scripts.js b/scripts.js new file mode 100644 index 000000000..e69de29bb diff --git a/style.css b/style.css new file mode 100644 index 000000000..9126318a6 --- /dev/null +++ b/style.css @@ -0,0 +1,194 @@ +/* -- import Roboto Font ---------------------------- */ +@import "https://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic,900,900italic&subset=latin,cyrillic"; +/* -- Box model ------------------------------- */ +*, +*:after, +*:before { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +/* -- Demo style ------------------------------- */ +html, +body { + position: relative; + min-height: 100%; + height: 100%; +} +html { + position: relative; + margin: 16px; + padding: 0; + min-height: 100%; + font-size: 62.5%; +} +body { + font-family: 'RobotoDraft', 'Roboto', 'Helvetica Neue, Helvetica, Arial', sans-serif; + font-style: normal; + font-weight: 300; + font-size: 1.4rem; + line-height: 2rem; + letter-spacing: 0.01rem; + color: #212121; + background-color: #f5f5f5; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + text-rendering: optimizeLegibility; +} +main { + margin: 10px auto; +} +.shadow-z-1 { + -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.24); + -moz-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.24); + box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.24); +} +/* -- Material Design Table style -------------- */ +.table { + width: 100%; + max-width: 100%; + margin-bottom: 2rem; + background-color: #ffffff; +} +.table > thead > tr, +.table > tbody > tr, +.table > tfoot > tr { + -webkit-transition: all 0.3s ease; + -o-transition: all 0.3s ease; + transition: all 0.3s ease; +} +.table > thead > tr > th, +.table > tbody > tr > th, +.table > tfoot > tr > th, +.table > thead > tr > td, +.table > tbody > tr > td, +.table > tfoot > tr > td { + text-align: left; + padding: 1.6rem; + vertical-align: top; + border-top: 0; + -webkit-transition: all 0.3s ease; + -o-transition: all 0.3s ease; + transition: all 0.3s ease; + border: thin solid #EAEAEA; +} +.table > thead > tr > th { + font-weight: 400; + color: #757575; + vertical-align: bottom; + border-bottom: 1px solid rgba(0, 0, 0, 0.12); +} +.table > caption + thead > tr:first-child > th, +.table > colgroup + thead > tr:first-child > th, +.table > thead:first-child > tr:first-child > th, +.table > caption + thead > tr:first-child > td, +.table > colgroup + thead > tr:first-child > td, +.table > thead:first-child > tr:first-child > td { + border-top: 0; +} +.table > tbody + tbody { + border-top: 1px solid rgba(0, 0, 0, 0.12); +} +.table .table { + background-color: #ffffff; +} +.table .no-border { + border: 0; +} +.table a { + display: inline-block; + padding: 0.5em 0.8em; + margin: 0.2em; + background: #ededed; + color: #777777; + border: 1px solid #dcdcdc; + -moz-box-shadow: inset 0px 1px 0px 0px #ffffff; + -webkit-box-shadow: inset 0px 1px 0px 0px #ffffff; + box-shadow: inset 0px 1px 0px 0px #ffffff; + background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf)); + background: -moz-linear-gradient(top, #ededed 5%, #dfdfdf 100%); + background: -webkit-linear-gradient(top, #ededed 5%, #dfdfdf 100%); + background: -o-linear-gradient(top, #ededed 5%, #dfdfdf 100%); + background: -ms-linear-gradient(top, #ededed 5%, #dfdfdf 100%); + background: linear-gradient(to bottom, #ededed 5%, #dfdfdf 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf',GradientType=0); + text-decoration: none; + font-weight: bolder; +} +.table a:hover { + background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed)); + background: -moz-linear-gradient(top, #dfdfdf 5%, #ededed 100%); + background: -webkit-linear-gradient(top, #dfdfdf 5%, #ededed 100%); + background: -o-linear-gradient(top, #dfdfdf 5%, #ededed 100%); + background: -ms-linear-gradient(top, #dfdfdf 5%, #ededed 100%); + background: linear-gradient(to bottom, #dfdfdf 5%, #ededed 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed',GradientType=0); + background-color: #dfdfdf; +} +@media screen and (max-width: 768px) { + .table-responsive-vertical > .table { + margin-bottom: 0; + background-color: transparent; + } + .table-responsive-vertical > .table > thead, + .table-responsive-vertical > .table > tfoot { + display: none; + } + .table-responsive-vertical > .table > tbody { + display: block; + } + .table-responsive-vertical > .table > tbody > tr { + display: block; + border: 1px solid #e0e0e0; + border-radius: 2px; + margin-bottom: 1.6rem; + } + .table-responsive-vertical > .table > tbody > tr > td { + background-color: #ffffff; + display: block; + vertical-align: middle; + text-align: right; + } + .table-responsive-vertical > .table > tbody > tr > td[data-title]:before { + content: attr(data-title); + float: left; + font-size: inherit; + font-weight: 400; + color: #757575; + } + .table-responsive-vertical.shadow-z-1 { + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; + } + .table-responsive-vertical.shadow-z-1 > .table > tbody > tr { + border: none; + -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.24); + -moz-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.24); + box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.24); + } + .table-responsive-vertical > .table-bordered { + border: 0; + } + .table-responsive-vertical > .table-bordered > tbody > tr > td { + border: 0; + border-bottom: 1px solid #e0e0e0; + } + .table-responsive-vertical > .table-bordered > tbody > tr > td:last-child { + border-bottom: 0; + } + .table-responsive-vertical > .table-striped > tbody > tr > td, + .table-responsive-vertical > .table-striped > tbody > tr:nth-child(odd) { + background-color: #ffffff; + } + .table-responsive-vertical > .table-striped > tbody > tr > td:nth-child(odd) { + background-color: #f5f5f5; + } + .table-responsive-vertical > .table-hover > tbody > tr:hover > td, + .table-responsive-vertical > .table-hover > tbody > tr:hover { + background-color: #ffffff; + } + .table-responsive-vertical > .table-hover > tbody > tr > td:hover { + background-color: rgba(0, 0, 0, 0.12); + } +} From ef26dc0deeaaf86c41d7b9ce01fda05fdff3a75a Mon Sep 17 00:00:00 2001 From: Afzaal Ameer Date: Tue, 13 Dec 2016 01:31:10 +0530 Subject: [PATCH 02/23] Fix --- index.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/index.html b/index.html index 3fb0cf0e8..08736fd7e 100644 --- a/index.html +++ b/index.html @@ -21,6 +21,11 @@

{% if page.title %} {{ page.title }} | {% endif %} {{ site.name }}

Windows - x64 {% endif %} {% endfor %} + {% for asset in release.assets %} + {% if asset.name contains "MacOSX-x86_64.dmg" %} + OS X + {% endif %} + {% endfor %} {% for asset in release.assets %} {% if asset.name contains "MacOSX109-x86_64.dmg" %} OS X Mavericks From 706ebde54474f91ef3165e0125a518c5dcd85e2b Mon Sep 17 00:00:00 2001 From: Afzaal Ameer Date: Tue, 13 Dec 2016 02:31:42 +0530 Subject: [PATCH 03/23] EOL --- style.css | 1 + 1 file changed, 1 insertion(+) diff --git a/style.css b/style.css index 9126318a6..5b0fc040b 100644 --- a/style.css +++ b/style.css @@ -192,3 +192,4 @@ main { background-color: rgba(0, 0, 0, 0.12); } } + From bc92a8826f7bb97e0cae8eb35c14a5011fb347b3 Mon Sep 17 00:00:00 2001 From: Afzaal Ameer Date: Thu, 15 Dec 2016 20:39:53 +0530 Subject: [PATCH 06/23] Added meta tags --- _config.yml | 2 +- _layouts/default.html | 4 ++-- index.html | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/_config.yml b/_config.yml index a793a0387..afb1b3a66 100644 --- a/_config.yml +++ b/_config.yml @@ -1,5 +1,5 @@ # Name of your blog (this will show up at the top of your page and in the RSS feed) -name: Synergy Releases +name: Synergy # Short description (goes below the title; it will also be used in the RSS feed) description: diff --git a/_layouts/default.html b/_layouts/default.html index e577d332d..3c7816790 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -3,9 +3,9 @@ - {% if page.title %} {{ page.title }} | {% endif %} {{ site.name }} + {% if page.title %} {{ page.title }} | {% endif %}{{ site.name }} - + diff --git a/index.html b/index.html index 08736fd7e..294151862 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,7 @@ --- layout: default title: Downloads [Free] +description: Synergy lets you easily share a single mouse and keyboard between multiple computers with different operating systems, each with its own display, without special hardware. ---

{% if page.title %} {{ page.title }} | {% endif %} {{ site.name }}

From 71afd9d69a24bcd05598240898e20bad5a9e8554 Mon Sep 17 00:00:00 2001 From: Afzaal Ameer Date: Sun, 19 Feb 2017 17:12:02 +0100 Subject: [PATCH 08/23] Updated script to get releases from API --- index.html | 1 + scripts.js | 104 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 105 insertions(+) diff --git a/index.html b/index.html index 294151862..57dea9ac8 100644 --- a/index.html +++ b/index.html @@ -81,3 +81,4 @@

{% if page.title %} {{ page.title }} | {% endif %} {{ site.name }}

Star + diff --git a/scripts.js b/scripts.js index e69de29bb..cfe9f0eb6 100644 --- a/scripts.js +++ b/scripts.js @@ -0,0 +1,104 @@ +(function () { + var data_file = "https://api.github.com/repos/afzaalace/synergy-stable-builds/releases"; + var http_request = new XMLHttpRequest(); + try { + // Opera 8.0+, Firefox, Chrome, Safari + http_request = new XMLHttpRequest(); + } catch (e) { + // Internet Explorer Browsers + try { + http_request = new ActiveXObject("Msxml2.XMLHTTP"); + + } catch (e) { + + try { + http_request = new ActiveXObject("Microsoft.XMLHTTP"); + } catch (e) { + // Something went wrong + alert("Your browser broke!"); + return false; + } + + } + } + + http_request.onreadystatechange = function () { + + if (http_request.readyState == 4) { + // Javascript function JSON.parse to parse JSON data + var jsonObj = JSON.parse(http_request.responseText); + jsonObj.sort(function (a, b) { + return a.tag_name < b.tag_name + }); + var str = ""; + for (var x in jsonObj) { + str = str + "" + jsonObj[x].tag_name + ""; + for (var y in jsonObj[x].assets) { + if (jsonObj[x].assets[y].name.indexOf("Windows-x86.msi") >= 0) { + str = str + "Windows - x86"; + } + } + for (y in jsonObj[x].assets) { + if (jsonObj[x].assets[y].name.indexOf("Windows-x64.msi") >= 0) { + str = str + "Windows - x64"; + } + } + for (y in jsonObj[x].assets) { + if (jsonObj[x].assets[y].name.indexOf("MacOSX-x86_64.dmg") >= 0) { + str = str + "OSX"; + } + } + for (y in jsonObj[x].assets) { + if (jsonObj[x].assets[y].name.indexOf("MacOSX109-x86_64.dmg") >= 0) { + str = str + "OS X Mavericks"; + } + } + for (y in jsonObj[x].assets) { + if (jsonObj[x].assets[y].name.indexOf("MacOSX1010-x86_64.dmg") >= 0) { + str = str + "OS X Yosemite"; + } + } + for (y in jsonObj[x].assets) { + if (jsonObj[x].assets[y].name.indexOf("MacOSX1011-x86_64.dmg") >= 0) { + str = str + "OS X El Capitan"; + } + } + for (y in jsonObj[x].assets) { + if (jsonObj[x].assets[y].name.indexOf("MacOSX1012-x86_64.dmg") >= 0) { + str = str + "macOS Sierra"; + } + } + for (y in jsonObj[x].assets) { + if (jsonObj[x].assets[y].name.indexOf("Linux-x86_64.deb") >= 0) { + str = str + "Ubuntu/Debian - x86_64"; + } + } + for (y in jsonObj[x].assets) { + if (jsonObj[x].assets[y].name.indexOf("Linux-i686.deb") >= 0) { + str = str + "Ubuntu/Debian - i686"; + } + } + for (y in jsonObj[x].assets) { + if (jsonObj[x].assets[y].name.indexOf("Linux-x86_64.rpm") >= 0) { + str = str + "RPM - x86_64"; + } + } + for (y in jsonObj[x].assets) { + if (jsonObj[x].assets[y].name.indexOf("Linux-i686.rpm") >= 0) { + str = str + "RPM - i686"; + } + } + for (y in jsonObj[x].assets) { + if (jsonObj[x].assets[y].name.indexOf("Linux-armv6l.deb") >= 0) { + str = str + "Debian - armv6l"; + } + } + str = str + ""; + } + document.querySelector("#table>tbody").innerHTML = str; + } + } + + http_request.open("GET", data_file, true); + http_request.send(); +})(); From 95b8aa534a5d2ad38c515f4352275e1bde5c5b88 Mon Sep 17 00:00:00 2001 From: Afzaal Ameer Date: Wed, 1 Mar 2017 01:21:34 +0100 Subject: [PATCH 09/23] Update index.html --- index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/index.html b/index.html index 57dea9ac8..283845b44 100644 --- a/index.html +++ b/index.html @@ -4,6 +4,7 @@ description: Synergy lets you easily share a single mouse and keyboard between multiple computers with different operating systems, each with its own display, without special hardware. ---

{% if page.title %} {{ page.title }} | {% endif %} {{ site.name }}

+Download Mirror - SourceForge
From a06007d524fa92429aed0e973ca9b4dfb5a256e7 Mon Sep 17 00:00:00 2001 From: Afzaal Ameer Date: Wed, 1 Mar 2017 01:23:55 +0100 Subject: [PATCH 10/23] Update style.css --- style.css | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/style.css b/style.css index 5b0fc040b..f9fe33ef6 100644 --- a/style.css +++ b/style.css @@ -12,14 +12,10 @@ html, body { position: relative; - min-height: 100%; - height: 100%; } html { position: relative; - margin: 16px; padding: 0; - min-height: 100%; font-size: 62.5%; } body { @@ -29,11 +25,13 @@ body { font-size: 1.4rem; line-height: 2rem; letter-spacing: 0.01rem; + margin: 16px; color: #212121; background-color: #f5f5f5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; + min-height: 100%; } main { margin: 10px auto; From 9fc1aa00243f858b8bc5a318a0ca23a164d63106 Mon Sep 17 00:00:00 2001 From: Afzaal Ameer Date: Wed, 1 Mar 2017 01:36:23 +0100 Subject: [PATCH 11/23] Update style.css --- style.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/style.css b/style.css index f9fe33ef6..af4c34401 100644 --- a/style.css +++ b/style.css @@ -36,6 +36,14 @@ body { main { margin: 10px auto; } +h1 { + display:inline-block; +} +a.mirror { + display: block; + background: #FFF; + float: right; +} .shadow-z-1 { -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.24); -moz-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.24); From 4a2798ff3428d2c05ce1c2f5e1156af97268f61e Mon Sep 17 00:00:00 2001 From: Afzaal Ameer Date: Wed, 1 Mar 2017 01:37:17 +0100 Subject: [PATCH 12/23] Update index.html --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 283845b44..8442f9980 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ description: Synergy lets you easily share a single mouse and keyboard between multiple computers with different operating systems, each with its own display, without special hardware. ---

{% if page.title %} {{ page.title }} | {% endif %} {{ site.name }}

-Download Mirror - SourceForge +Download synergy-stable-builds
From 0b08703bf5738302ebf895a5d6dbfa2b18ecdd54 Mon Sep 17 00:00:00 2001 From: Afzaal Ameer Date: Fri, 10 Mar 2017 21:55:56 +0100 Subject: [PATCH 13/23] Update index.html --- index.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.html b/index.html index 8442f9980..497b2a408 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,6 @@ description: Synergy lets you easily share a single mouse and keyboard between multiple computers with different operating systems, each with its own display, without special hardware. ---

{% if page.title %} {{ page.title }} | {% endif %} {{ site.name }}

-Download synergy-stable-builds
@@ -80,6 +79,6 @@

{% if page.title %} {{ page.title }} | {% endif %} {{ site.name }}

Star - +Download synergy-stable-builds From cd7d32bcd0fc0a35d0b17a1c4cd0911310c51cc5 Mon Sep 17 00:00:00 2001 From: Afzaal Ameer Date: Fri, 10 Mar 2017 21:56:57 +0100 Subject: [PATCH 14/23] Update style.css --- style.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/style.css b/style.css index af4c34401..976cb2902 100644 --- a/style.css +++ b/style.css @@ -41,8 +41,9 @@ h1 { } a.mirror { display: block; - background: #FFF; float: right; + -webkit-filter: brightness(0.96); + filter: brightness(0.96); } .shadow-z-1 { -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.24); From dd47f662349b22bf55883feaf5e0bc1da190a90b Mon Sep 17 00:00:00 2001 From: Afzaal Ameer Date: Mon, 27 Mar 2017 21:21:47 +0200 Subject: [PATCH 15/23] Added amp.html --- _layouts/amp.html | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++ _layouts/default.html | 49 ++++++++++++++++------------------- amp.html | 32 +++++++++++++++++++++++ 3 files changed, 126 insertions(+), 27 deletions(-) create mode 100644 _layouts/amp.html create mode 100644 amp.html diff --git a/_layouts/amp.html b/_layouts/amp.html new file mode 100644 index 000000000..159f117e1 --- /dev/null +++ b/_layouts/amp.html @@ -0,0 +1,72 @@ + + + + + {% if page.title %} {{ page.title }} | {% endif %}{{ site.name }} + + + + + + + + + +
+ {{ content }} +
+ + \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index 3c7816790..c10973ae5 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,5 +1,4 @@ - @@ -7,37 +6,33 @@ - + + - -
- {{ content }} -
- - + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); + + ga('create', 'UA-4366652-5', 'auto'); + ga('send', 'pageview'); + var trackOutboundLink = function(url) { + ga('send', 'event', 'outbound', 'click', url, { + 'transport': 'beacon', + 'hitCallback': function(){document.location = url;} + }); + }; + [].forEach.call(document.querySelectorAll("a"), function(el) { + el.addEventListener("click", function() { + trackOutboundLink(el.href); + }); + }); + + diff --git a/amp.html b/amp.html new file mode 100644 index 000000000..e46b6bf70 --- /dev/null +++ b/amp.html @@ -0,0 +1,32 @@ +--- +layout: amp +title: Downloads [Free] +description: Synergy lets you easily share a single mouse and keyboard between multiple computers with different operating systems, each with its own display, without special hardware. +--- +

{% if page.title %} {{ page.title }} | {% endif %} {{ site.name }}

+
+ + +{% assign sorted_releases = (site.github.releases | sort: 'tag_name') %} {% for release in sorted_releases reversed %} + + + + +{% endfor %} + +
{{ release.tag_name }} + {% for asset in release.assets %} {% if asset.name contains "Windows-x86.msi" %} + Windows - x86 {% endif %} {% endfor %} {% for asset in release.assets %} {% if asset.name contains "Windows-x64.msi" %} + Windows - x64 {% endif %} {% endfor %} {% for asset in release.assets %} {% if asset.name contains "MacOSX-x86_64.dmg" %} + OS X {% endif %} {% endfor %} {% for asset in release.assets %} {% if asset.name contains "MacOSX109-x86_64.dmg" %} + OS X Mavericks {% endif %} {% endfor %} {% for asset in release.assets %} {% if asset.name contains "MacOSX1010-x86_64.dmg" %} + OS X Yosemite {% endif %} {% endfor %} {% for asset in release.assets %} {% if asset.name contains "MacOSX1011-x86_64.dmg" %} + OS X El Capitan {% endif %} {% endfor %} {% for asset in release.assets %} {% if asset.name contains "MacOSX1012-x86_64.dmg" %} + macOS Sierra {% endif %} {% endfor %} {% for asset in release.assets %} {% if asset.name contains "Linux-x86_64.deb" %} + Ubuntu/Debian - x86_64 {% endif %} {% endfor %} {% for asset in release.assets %} {% if asset.name contains "Linux-i686.deb" %} + Ubuntu/Debian - i686 {% endif %} {% endfor %} {% for asset in release.assets %} {% if asset.name contains "Linux-x86_64.rpm" %} + RPM - x86_64 {% endif %} {% endfor %} {% for asset in release.assets %} {% if asset.name contains "Linux-i686.rpm" %} + RPM - i686 {% endif %} {% endfor %} {% for asset in release.assets %} {% if asset.name contains "Linux-armv6l.deb" %} + Debian - armv6l {% endif %} {% endfor %} +
+
\ No newline at end of file From 9d492f1f7ee96ab040e466620e82c64130e2e6d4 Mon Sep 17 00:00:00 2001 From: Afzaal Ameer Date: Mon, 27 Mar 2017 21:23:48 +0200 Subject: [PATCH 16/23] Bugfix --- _layouts/amp.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_layouts/amp.html b/_layouts/amp.html index 159f117e1..2d7ca6d65 100644 --- a/_layouts/amp.html +++ b/_layouts/amp.html @@ -60,7 +60,8 @@ } - + + From 91bd14de733953fa2ec005f9c9260c4f4db134af Mon Sep 17 00:00:00 2001 From: Afzaal Ameer Date: Mon, 27 Mar 2017 21:27:48 +0200 Subject: [PATCH 17/23] Cleanup --- _layouts/amp.html | 85 +++++++++++-------------------------------------------- 1 file changed, 16 insertions(+), 69 deletions(-) diff --git a/_layouts/amp.html b/_layouts/amp.html index 2d7ca6d65..bb10fa515 100644 --- a/_layouts/amp.html +++ b/_layouts/amp.html @@ -1,73 +1,20 @@ - - - {% if page.title %} {{ page.title }} | {% endif %}{{ site.name }} - - + + + {% if page.title %} {{ page.title }} | {% endif %}{{ site.name }} + + - - - - - - - -
- {{ content }} -
- + + + + + + + +
+ {{ content }} +
+ \ No newline at end of file From 139c2a7b2d8c28d37bca8849e4efe2d8744a3c67 Mon Sep 17 00:00:00 2001 From: Afzaal Ameer Date: Mon, 27 Mar 2017 21:29:44 +0200 Subject: [PATCH 18/23] Cleanup --- index.html | 90 +++++++++++++++----------------------------------------------- 1 file changed, 21 insertions(+), 69 deletions(-) diff --git a/index.html b/index.html index 497b2a408..b40a306e6 100644 --- a/index.html +++ b/index.html @@ -6,76 +6,28 @@

{% if page.title %} {{ page.title }} | {% endif %} {{ site.name }}

- -{% assign sorted_releases = (site.github.releases | sort: 'tag_name') %} -{% for release in sorted_releases reversed %} - - - - + +{% assign sorted_releases = (site.github.releases | sort: 'tag_name') %} {% for release in sorted_releases reversed %} + + + + {% endfor %} - +
{{ release.tag_name }} - {% for asset in release.assets %} - {% if asset.name contains "Windows-x86.msi" %} - Windows - x86 - {% endif %} - {% endfor %} - {% for asset in release.assets %} - {% if asset.name contains "Windows-x64.msi" %} - Windows - x64 - {% endif %} - {% endfor %} - {% for asset in release.assets %} - {% if asset.name contains "MacOSX-x86_64.dmg" %} - OS X - {% endif %} - {% endfor %} - {% for asset in release.assets %} - {% if asset.name contains "MacOSX109-x86_64.dmg" %} - OS X Mavericks - {% endif %} - {% endfor %} - {% for asset in release.assets %} - {% if asset.name contains "MacOSX1010-x86_64.dmg" %} - OS X Yosemite - {% endif %} - {% endfor %} - {% for asset in release.assets %} - {% if asset.name contains "MacOSX1011-x86_64.dmg" %} - OS X El Capitan - {% endif %} - {% endfor %} - {% for asset in release.assets %} - {% if asset.name contains "MacOSX1012-x86_64.dmg" %} - macOS Sierra - {% endif %} - {% endfor %} - {% for asset in release.assets %} - {% if asset.name contains "Linux-x86_64.deb" %} - Ubuntu/Debian - x86_64 - {% endif %} - {% endfor %} - {% for asset in release.assets %} - {% if asset.name contains "Linux-i686.deb" %} - Ubuntu/Debian - i686 - {% endif %} - {% endfor %} - {% for asset in release.assets %} - {% if asset.name contains "Linux-x86_64.rpm" %} - RPM - x86_64 - {% endif %} - {% endfor %} - {% for asset in release.assets %} - {% if asset.name contains "Linux-i686.rpm" %} - RPM - i686 - {% endif %} - {% endfor %} - {% for asset in release.assets %} - {% if asset.name contains "Linux-armv6l.deb" %} - Debian - armv6l - {% endif %} - {% endfor %} -
{{ release.tag_name }} + {% for asset in release.assets %} {% if asset.name contains "Windows-x86.msi" %} + Windows - x86 {% endif %} {% endfor %} {% for asset in release.assets %} {% if asset.name contains "Windows-x64.msi" %} + Windows - x64 {% endif %} {% endfor %} {% for asset in release.assets %} {% if asset.name contains "MacOSX-x86_64.dmg" %} + OS X {% endif %} {% endfor %} {% for asset in release.assets %} {% if asset.name contains "MacOSX109-x86_64.dmg" %} + OS X Mavericks {% endif %} {% endfor %} {% for asset in release.assets %} {% if asset.name contains "MacOSX1010-x86_64.dmg" %} + OS X Yosemite {% endif %} {% endfor %} {% for asset in release.assets %} {% if asset.name contains "MacOSX1011-x86_64.dmg" %} + OS X El Capitan {% endif %} {% endfor %} {% for asset in release.assets %} {% if asset.name contains "MacOSX1012-x86_64.dmg" %} + macOS Sierra {% endif %} {% endfor %} {% for asset in release.assets %} {% if asset.name contains "Linux-x86_64.deb" %} + Ubuntu/Debian - x86_64 {% endif %} {% endfor %} {% for asset in release.assets %} {% if asset.name contains "Linux-i686.deb" %} + Ubuntu/Debian - i686 {% endif %} {% endfor %} {% for asset in release.assets %} {% if asset.name contains "Linux-x86_64.rpm" %} + RPM - x86_64 {% endif %} {% endfor %} {% for asset in release.assets %} {% if asset.name contains "Linux-i686.rpm" %} + RPM - i686 {% endif %} {% endfor %} {% for asset in release.assets %} {% if asset.name contains "Linux-armv6l.deb" %} + Debian - armv6l {% endif %} {% endfor %} +
Star From 28c325214decbdfb4c9e7c28c4d1f165cf5f852b Mon Sep 17 00:00:00 2001 From: Afzaal Ameer Date: Mon, 27 Mar 2017 21:35:50 +0200 Subject: [PATCH 19/23] Added analytics --- _layouts/amp.html | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/_layouts/amp.html b/_layouts/amp.html index bb10fa515..f07e698ce 100644 --- a/_layouts/amp.html +++ b/_layouts/amp.html @@ -11,10 +11,36 @@ +
{{ content }}
+ + + \ No newline at end of file From 03b5c4a1f0451d96a4facc1edcfb6e399a1b3279 Mon Sep 17 00:00:00 2001 From: Afzaal Ameer Date: Mon, 29 May 2017 14:43:55 +0200 Subject: [PATCH 20/23] Update default.html --- _layouts/default.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/_layouts/default.html b/_layouts/default.html index c10973ae5..0abc87430 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -23,13 +23,15 @@ ga('create', 'UA-4366652-5', 'auto'); ga('send', 'pageview'); var trackOutboundLink = function(url) { + _gaq.push(['_trackEvent', 'Control', 'Bounce Rate', '']); ga('send', 'event', 'outbound', 'click', url, { 'transport': 'beacon', 'hitCallback': function(){document.location = url;} }); }; [].forEach.call(document.querySelectorAll("a"), function(el) { - el.addEventListener("click", function() { + el.addEventListener("click", function(event) { + event.preventDefault(); trackOutboundLink(el.href); }); }); From c706904fcea1a886271fb7641ccd897a48cfa2ea Mon Sep 17 00:00:00 2001 From: Afzaal Ameer Date: Mon, 29 May 2017 14:46:33 +0200 Subject: [PATCH 21/23] Update default.html --- _layouts/default.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_layouts/default.html b/_layouts/default.html index 0abc87430..dc4d1975b 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -23,7 +23,7 @@ ga('create', 'UA-4366652-5', 'auto'); ga('send', 'pageview'); var trackOutboundLink = function(url) { - _gaq.push(['_trackEvent', 'Control', 'Bounce Rate', '']); + ga('send', 'event', 'Control', 'Bounce Rate', '']); ga('send', 'event', 'outbound', 'click', url, { 'transport': 'beacon', 'hitCallback': function(){document.location = url;} From 2944767e733f72bf92be691e9d045002bb5c0dcd Mon Sep 17 00:00:00 2001 From: Afzaal Ameer Date: Mon, 29 May 2017 14:47:15 +0200 Subject: [PATCH 22/23] Update default.html --- _layouts/default.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_layouts/default.html b/_layouts/default.html index dc4d1975b..75c34dd6b 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -23,7 +23,7 @@ ga('create', 'UA-4366652-5', 'auto'); ga('send', 'pageview'); var trackOutboundLink = function(url) { - ga('send', 'event', 'Control', 'Bounce Rate', '']); + ga('send', 'event', 'Control', 'Bounce Rate', ''); ga('send', 'event', 'outbound', 'click', url, { 'transport': 'beacon', 'hitCallback': function(){document.location = url;} From fdd809ed2b1fc5df9af3f5b425c07133086f6183 Mon Sep 17 00:00:00 2001 From: Afzaal Ameer Date: Mon, 29 May 2017 14:50:12 +0200 Subject: [PATCH 23/23] Fix deprecated GitHub Button --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index b40a306e6..fdc1c92ed 100644 --- a/index.html +++ b/index.html @@ -30,7 +30,7 @@

{% if page.title %} {{ page.title }} | {% endif %} {{ site.name }}

-Star +Star Download synergy-stable-builds