Skip to content

Commit

Permalink
Updating index
Browse files Browse the repository at this point in the history
  • Loading branch information
talbring committed Nov 25, 2019
1 parent e3de3be commit cfab056
Show file tree
Hide file tree
Showing 10 changed files with 106 additions and 290 deletions.
2 changes: 1 addition & 1 deletion _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script>
{% include ga.js %}
</script>
<link rel="shortcut icon" type="image/png" href="/favicon.png">
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
Expand Down
4 changes: 2 additions & 2 deletions _includes/topnav.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="{{ / | relative_url }}/">
<span><img src="{{ "/img/logonav.png" | relative_url}}"></span>
<span><img src="{{ "/img/logos/logonav.png" | relative_url}}"></span>
</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li {% if page.sectionid=='download' %} class="active" {% endif %}><a href="{{ "/download.html" | relative_url }}">Download</a></li>
<li {% if page.sectionid=='publications' %} class="active" {% endif %}><a href="{{ "/publications.html" | relative_url }}">Publications</a></li>
<li {% if page.sectionid=='docs' %} class="active" {% endif %}><a href="{{ "/docs/home/" | relative_url }}">Docs</a></li>
<li {% if page.sectionid=='docs' %} class="active" {% endif %}><a href="{{ "/docs_v7/home/" | relative_url }}">Docs</a></li>
<li {% if page.sectionid=='tutorials' %} class="active" {% endif %}><a href="{{ "/tutorials/home/" | relative_url }}">Tutorials</a></li>
<li {% if page.sectionid=='vandv' %} class="active" {% endif %}><a href="{{ "/vandv/home/" | relative_url }}">V&V</a></li>
<li {% if page.sectionid=='forum' %} class="active" {% endif %}><a href="{{ "https://www.cfd-online.com/Forums/su2/" }}">Forum</a></li>
Expand Down
6 changes: 3 additions & 3 deletions css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ body {

.header-container {
background-color: black;
background: url('../img/su2image.png') no-repeat 50% 0;
background: url('../img/su2header_new.jpg') no-repeat 100% 0;
color: #fff;
h1 {
color: white;
Expand All @@ -54,8 +54,8 @@ body {
text-shadow: 3px 3px 6px #000000;
}
// background-attachment: fixed;
background-size: cover;
background-position: center 36%;
background-size: 100%;
background-position: center 40%;
margin-top: -37px;
}
.navbar-container {
Expand Down
127 changes: 93 additions & 34 deletions download.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,41 @@
$ ('#zip_ball').attr("href", data.zipball_url)
$ ('#tar_ball').attr("href", data.tarball_url)
for (var key in data.assets) {
if (data.assets[key].name.includes("linux64")) {
if (data.assets[key].name.includes("linux64.zip")) {
$('#asset_linux').attr("href",data.assets[key].browser_download_url)
$('#asset_linux').text("SU2 " + data.tag_name + " for Linux")
$('#asset_linux_time').text(data.assets[key].created_at.substring(0, 10))
$('#asset_linux_size').text(parseInt(data.assets[key].size/1024/1024) + 'MB')
}
if (data.assets[key].name.includes("mac64")) {
if (data.assets[key].name.includes("linux64-mpi.zip")) {
$('#asset_linux_mpi').attr("href",data.assets[key].browser_download_url)
$('#asset_linux_mpi').text("SU2 MPI " + data.tag_name + " for Linux")
$('#asset_linux_mpi_time').text(data.assets[key].created_at)
$('#asset_linux_mpi_size').text(parseInt(data.assets[key].size/1024/1024) + 'MB')
}
if (data.assets[key].name.includes("mac64.zip")) {
$('#asset_mac').attr("href",data.assets[key].browser_download_url)
$('#asset_mac').text("SU2 " + data.tag_name + " for macOS")
$('#asset_mac_time').text(data.assets[key].created_at.substring(0, 10))
$('#asset_mac_size').text(parseInt(data.assets[key].size/1024/1024) + 'MB')
}
if (data.assets[key].name.includes("mac64-mpi.zip")) {
$('#asset_mac_mpi').attr("href",data.assets[key].browser_download_url)
$('#asset_mac_mpi').text("SU2 MPI " + data.tag_name + " for macOS")
$('#asset_mac_mpi_time').text(data.assets[key].created_at)
$('#asset_mac_mpi_size').text(parseInt(data.assets[key].size/1024/1024) + 'MB')
}
if (data.assets[key].name.includes("win64")) {
if (data.assets[key].name.includes("win64.zip")) {
$('#asset_win').attr("href",data.assets[key].browser_download_url)
$('#asset_win').text("SU2 " + data.tag_name + " for Windows")
$('#asset_win_time').text(data.assets[key].created_at.substring(0, 10))
$('#asset_win_size').text(parseInt(data.assets[key].size/1024/1024) + 'MB')
}
if (data.assets[key].name.includes("win64-mpi.zip")) {
$('#asset_win_mpi').attr("href",data.assets[key].browser_download_url)
$('#asset_win_mpi').text("SU2 MPI " + data.tag_name + " for Windows")
$('#asset_win_mpi_time').text(data.assets[key].created_at.substring(0, 10))
$('#asset_win_mpi_size').text(parseInt(data.assets[key].size/1024/1024) + 'MB')
}
}

Expand Down Expand Up @@ -65,45 +92,77 @@ <h1 class="text-center">Downloading SU2</h1>
<hr>

<h2>Binary Executables</h2>
<p>This option is for users who wish to use SU2 without the need to compile the program from source.<br><b> Note: binary distributions for macOS, Linux, and Windows are serial only!</b></p>
<p>This option is for users who wish to use SU2 without the need to compile the program from source. We provide serial and parallel (using MPI) versions. </p>
<b>Disclaimer:</b> For best performance and compatibility you should always consider building SU2 from source. Also note that the Discrete Adjoint functionality is not available when using the binary executables.

</div>
</div>

<br>
<h3 id="current_release"></h3>

<br>

<div class="row">
<div class="col-sm-3 text-center">
<p> <a class="btn btn-info btn-lg" id="asset_linux" role="button">Linux (.zip)</a>
</p>
</div>
<div class="col-sm-3 text-center">
<p><a class="btn btn-success btn-lg" id="asset_mac" role="button">macOS (.zip)</a>
</p>
</div>
</div>
<table style='width:100%;font-size:100%;'>
<tr>
<th><h4>Version</h4></th>
<th><h4>Notes</h4></th>
<th><h4>Published</h4></th>
<th><h4>Size</h4></th>
</tr>
<tr>
<td><a class="btn btn-info btn-lg" style="width: 280px;" id="asset_linux" role="button">SU2 for Linux</a></td>
<td>-</td>
<td><p id="asset_linux_time"></p></td>
<td><p id="asset_linux_size"></p></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td><a class="btn btn-info btn-lg" style="width: 280px;"id="asset_linux_mpi" role="button">SU2 MPI for Linux</a></td>
<td>Requires installation of <a href="https://www.mpich.org/downloads/">MPICH</a></td>
<td><p id="asset_linux_mpi_time"></p></td>
<td><p id="asset_linux_mpi_size"></p></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td><a class="btn btn-success btn-lg" style="width: 280px;" id="asset_mac" role="button">SU2 for macOS</a></td>
<td>-</td>
<td><p id="asset_mac_time"></p></td>
<td><p id="asset_mac_size"></p></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td><a class="btn btn-success btn-lg" style="width: 280px;" id="asset_mac_mpi" role="button">SU2 MPI macOS</a></td>
<td>Requires installation of <a href="https://www.mpich.org/downloads/">MPICH</a></td>
<td><p id="asset_mac_mpi_time"></p></td>
<td><p id="asset_mac_mpi_size"></p></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td><a class="btn btn-danger btn-lg" style="width: 280px;" id="asset_win" role="button">SU2 for Windows</a></td>
<td>-</td>
<td><p id="asset_win_time"></p></td>
<td><p id="asset_win_size"></p></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td><a class="btn btn-danger btn-lg" style="width: 280px;" id="asset_win_mpi" role="button">SU2 MPI for Windows</a></td>
<td>Requires installation of <a href="https://www.microsoft.com/en-us/download/details.aspx?id=100593">Microsoft MPI</a></td>
<td><p id="asset_win_mpi_time"></p></td>
<td><p id="asset_win_mpi_size"></p></td>
</tr>
</table>

<br>
<h3>Current Release for Windows: SU2 v6.0.0</h3>
<br>

<div class="row">
<div class="col-sm-3 text-center">
<p> <a class="btn btn-primary btn-lg" href="{{ "/download/su2-windows7-latest.zip" | relative_url }}" role="button">Windows 7 (.zip)</a>
</p>
</div>
<div class="col-sm-3 text-center">
<p> <a class="btn btn-danger btn-lg" href="{{ "/download/su2-windows10-latest.zip" | relative_url }}" role="button">Windows 10 (.zip)</a>
</p>
</div>
</div>

<br>

<div class="row">
<div class="col-lg-12">
<hr>
<h2>Source Code</h2>
<p>There are a number of ways to access the SU2 source code. If you will be developing the code, we recommend that you clone the repository. On a Linux/Unix/Mac system with the standard git client, this can be done by executing:</p>

Expand Down
Loading

0 comments on commit cfab056

Please sign in to comment.