Added downloads widget, moved login page to separate dir
This commit is contained in:
118
downloads/index.html
Normal file
118
downloads/index.html
Normal file
@@ -0,0 +1,118 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta charset=utf-8 />
|
||||
<title>Singularity Quick Download</title>
|
||||
<style>
|
||||
body{
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
background-color: #1b1b1b;
|
||||
}
|
||||
|
||||
a{
|
||||
display: block;
|
||||
width: 224px;
|
||||
height: 44px;
|
||||
padding-left: 64px;
|
||||
padding-top: 56px;
|
||||
padding-bottom: 12px;
|
||||
padding-right: 96px;
|
||||
margin: 0px;
|
||||
border: 0px;
|
||||
font-family: sans-serif;
|
||||
font-size: 16px;
|
||||
color: white;
|
||||
line-height: 48px;
|
||||
text-decoration: none;
|
||||
background-image: url(http://www.singularityviewer.org/home/sg_download_unknown.png);
|
||||
}
|
||||
|
||||
|
||||
#windows{
|
||||
display: none;
|
||||
background-image: url(http://www.singularityviewer.org/home/sg_download_windows.png);
|
||||
}
|
||||
|
||||
#mac{
|
||||
display: none;
|
||||
background-image: url(http://www.singularityviewer.org/home/sg_download_mac.png);
|
||||
}
|
||||
|
||||
#linux{
|
||||
display: none;
|
||||
background-image: url(http://www.singularityviewer.org/home/sg_download_linux.png);
|
||||
}
|
||||
|
||||
#linux64{
|
||||
display: none;
|
||||
background-image: url(http://www.singularityviewer.org/home/sg_download_linux64.png);
|
||||
}
|
||||
|
||||
span{
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<a id="windows"
|
||||
href="https://bitbucket.org/SingularityViewer/singularityviewer/downloads/Singularity_1-8-0-4114_Setup.exe"><span>
|
||||
Singularity 1.8.0(4114)<br/>
|
||||
21 Apr 2013
|
||||
for Windows
|
||||
</span></a>
|
||||
<a id="mac"
|
||||
href="https://bitbucket.org/SingularityViewer/singularityviewer/downloads/Singularity_1_8_0_4114.dmg"><span>
|
||||
Singularity 1.8.0(4114)<br/>
|
||||
21 Apr 2013
|
||||
for OS X
|
||||
</span></a>
|
||||
<a id="linux"
|
||||
href="https://bitbucket.org/SingularityViewer/singularityviewer/downloads/Singularity-i686-1.8.0.4114.tar.bz2"><span>
|
||||
Singularity 1.8.0(4114)<br/>
|
||||
21 Apr 2013
|
||||
for Linux
|
||||
</span></a>
|
||||
<a id="linux64"
|
||||
href="https://bitbucket.org/SingularityViewer/singularityviewer/downloads/Singularity-x86_64-1.8.0.4114.tar.bz2"><span>
|
||||
Singularity 1.8.0(4114)<br/>
|
||||
21 Apr 2013
|
||||
for Linux64
|
||||
</span></a>
|
||||
<a id="unknown" href="http://www.singularityviewer.org/downloads"><span>
|
||||
Unable to detect your system. <br/> Please visit Download section.</span></a>
|
||||
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
p = (navigator.platform);
|
||||
if ((p.indexOf("Win32")!= -1) || (p.indexOf("Win64")!= -1)) {
|
||||
document.getElementById("windows").style.display = "block";
|
||||
document.getElementById("unknown").style.display = "none";
|
||||
}
|
||||
else if (p.indexOf("Linux")!= -1) {
|
||||
if((p.indexOf("x86_64")!=-1) || (navigator.oscpu && navigator.oscpu.indexOf("x86_64")!=-1)) {
|
||||
document.getElementById("linux64").style.display = "block";
|
||||
}
|
||||
else {
|
||||
document.getElementById("linux").style.display = "block";
|
||||
}
|
||||
document.getElementById("unknown").style.display = "none";
|
||||
}
|
||||
else if (p.indexOf("MacIntel")!= -1) {
|
||||
document.getElementById("mac").style.display = "block";
|
||||
document.getElementById("unknown").style.diplay = "none";
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user