This repository has been archived by the owner on Mar 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a download page to the website, move test plan to the website. Si…
…mplify intro page a bit.
- Loading branch information
Showing
4 changed files
with
162 additions
and
111 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<html> | ||
<head> | ||
<title>Downloading Graviton ...</title> | ||
</head> | ||
<body> | ||
<script> | ||
var OSName = "Unknown OS"; | ||
if (navigator.appVersion.indexOf("Win")!==-1) | ||
OSName = "Windows"; | ||
else if (navigator.appVersion.indexOf("Mac")!==-1) | ||
OSName = "macOS"; | ||
else if (navigator.appVersion.indexOf("Linux") !==-1 ) | ||
OSName = "Linux"; | ||
else if (navigator.appVersion.indexOf("X11") !==-1 ) | ||
OSName = "UNIX"; | ||
|
||
function osToURL(osname) { | ||
var url; | ||
switch (osname) { | ||
case "Windows": | ||
url = "https://update.graviton.app/win/Graviton.exe"; | ||
break; | ||
case "macOS": | ||
url = "https://update.graviton.app/Graviton.dmg"; | ||
break; | ||
case "Linux": | ||
case "UNIX": | ||
url = "https://update.graviton.app/graviton.tar.gz" | ||
} | ||
return url; | ||
} | ||
</script> | ||
|
||
<font face="sans-serif"> | ||
<center> | ||
<p> | ||
<font size="xx-large"><script>document.write(OSName)</script> download should start automatically ...</font><p> | ||
|
||
Download for | ||
<script>document.write("<a href=\"" + osToURL("Windows") + "\">Windows</a>");</script> | | ||
<script>document.write("<a href=\"" + osToURL("macOS") + "\">macOS</a>");</script> | | ||
<script>document.write("<a href=\"" + osToURL("Linux") + "\">Linux</a>");</script> | ||
|
||
</center> | ||
</font> | ||
|
||
<script> | ||
//window.location = osToURL(OSName); | ||
</script> | ||
|
||
</body> | ||
</html> |
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
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