188 lines
5.9 KiB
HTML
188 lines
5.9 KiB
HTML
{% extends "layout.html" %}
|
|
|
|
{% block content %}
|
|
|
|
{% if path == "download/" %}
|
|
<h1>Directory listing for {{ path }}</h1>
|
|
{% else %}
|
|
<h1>Download Latest Builds</h1>
|
|
|
|
<div class="box alert-warning">
|
|
<p><i class="fa fa-info-circle"></i> These builds are not as stable as releases, use at your own risk.</p>
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% if path == "/download/experimental/" %}
|
|
<div class="box alert-danger"><p>
|
|
<h1><i class="fa fa-info-circle"></i> These builds are for developer use only!</h1>
|
|
<h2>They contain highly experimental patches, which might ruin your day!</h2>
|
|
<h2>If you're NOT a developer, please leave this page IMMEDIATELY!</h2>
|
|
</p></div>
|
|
{% endif %}
|
|
|
|
{% set row_class = cycler('alt', '') %}
|
|
|
|
<table class="table table-striped table-hover box">
|
|
|
|
<tr>
|
|
<th>Operating System</th>
|
|
<th>Variation</th>
|
|
<th>Name</th>
|
|
<th>Size</th>
|
|
<th>Built On</th>
|
|
</tr>
|
|
|
|
{% for d in directories %}
|
|
{% if not ("experimental" in d,text) %}
|
|
<tr class="directory {{ row_class.next() }}">
|
|
<td></td>
|
|
<td></td>
|
|
<td><a href="{{ d.href }}"><b>{{ d.text }}</b></a></td>
|
|
<td><b>{{ d.size }}</b></td>
|
|
<td>{{ d.lastmodified }}</td>
|
|
</tr>
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
{% for f in files|sort %}
|
|
{% if ("mingw" in f.text) or ('gooseberry' in f.text) or ("experimental" in f.text) or ("vc1" in f.text) or ("vc9" in f.text) or ("multiview" in f.text) %}
|
|
{% else %}
|
|
<tr class="file {{ row_class.next() }}">
|
|
{% if "mingw32" in f.text %}
|
|
<td><i class="fa fa-windows"></i> Windows 32 bit
|
|
{% elif "win32" in f.text %}
|
|
<td><i class="fa fa-windows"></i> Windows 32 bit
|
|
{% elif "mingw64" in f.text %}
|
|
<td><i class="fa fa-windows"></i> Windows 64 bit
|
|
{% elif "win64" in f.text %}
|
|
<td><i class="fa fa-windows"></i> Windows 64 bit
|
|
{% elif "OSX" in f.text %}
|
|
{% if "x86_64" in f.text %}
|
|
<td><i class="fa fa-apple"></i> Mac OS X 64 bit
|
|
{% else %}
|
|
<td><i class="fa fa-apple"></i> Mac OS X 32 bit
|
|
{% endif %}
|
|
{% elif "linux" in f.text %}
|
|
{% if "x86_64" in f.text %}
|
|
<td><i class="fa fa-linux"></i> Linux 64 bit
|
|
{% else %}
|
|
<td><i class="fa fa-linux"></i> Linux 32 bit
|
|
{% endif %}
|
|
{% endif %}
|
|
</td>
|
|
|
|
<td>
|
|
Official
|
|
</td>
|
|
|
|
<td><a class="info" onclick="ga('send', 'event', 'button', 'download', '{{f.text}}');" href="{{ f.href }}">{{ f.text }}</a></td>
|
|
<td>{{ f.size }}</td>
|
|
<td>
|
|
{{ f.lastmodified }}
|
|
</td>
|
|
</tr>
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
{% for f in files|sort %}
|
|
{% if ("experimental" in f.text) %}
|
|
<tr class="file {{ row_class.next() }}">
|
|
{% if "mingw32" in f.text %}
|
|
<td><i class="fa fa-windows"></i> Windows 32 bit
|
|
{% elif "win32" in f.text %}
|
|
<td><i class="fa fa-windows"></i> Windows 32 bit
|
|
{% elif "mingw64" in f.text %}
|
|
<td><i class="fa fa-windows"></i> Windows 64 bit
|
|
{% elif "win64" in f.text %}
|
|
<td><i class="fa fa-windows"></i> Windows 64 bit
|
|
{% elif "OSX" in f.text %}
|
|
{% if "x86_64" in f.text %}
|
|
<td><i class="fa fa-apple"></i> Mac OS X 64 bit
|
|
{% else %}
|
|
<td><i class="fa fa-apple"></i> Mac OS X 32 bit
|
|
{% endif %}
|
|
{% elif "linux" in f.text %}
|
|
{% if "x86_64" in f.text %}
|
|
<td><i class="fa fa-linux"></i> Linux 64 bit
|
|
{% else %}
|
|
<td><i class="fa fa-linux"></i> Linux 32 bit
|
|
{% endif %}
|
|
{% endif %}
|
|
</td>
|
|
|
|
<td>Experimental Build Branch</td>
|
|
<td><a class="info" onclick="ga('send', 'event', 'button', 'download', '{{f.text}}');" href="{{ f.href }}">{{ f.text }}</a></td>
|
|
<td>{{ f.size }}</td>
|
|
<td>{{ f.lastmodified }}</td>
|
|
</tr>
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
<tr>
|
|
<td> </th>
|
|
<td> </th>
|
|
<td> </th>
|
|
<td> </th>
|
|
<td> </th>
|
|
</tr>
|
|
|
|
{% for f in files|sort %}
|
|
{% if (not (("mingw" in f.text) or ("vc1" in f.text) or ("vc9" in f.text) or ("multiview" in f.text) or ("gooseberry" in f.text) )) %}
|
|
{% else %}
|
|
<tr class="file {{ row_class.next() }}">
|
|
{% if "mingw32" in f.text %}
|
|
<td><i class="fa fa-windows"></i> Windows 32 bit
|
|
{% elif "win32" in f.text %}
|
|
<td><i class="fa fa-windows"></i> Windows 32 bit
|
|
{% elif "mingw64" in f.text %}
|
|
<td><i class="fa fa-windows"></i> Windows 64 bit
|
|
{% elif "win64" in f.text %}
|
|
<td><i class="fa fa-windows"></i> Windows 64 bit
|
|
{% elif "OSX" in f.text %}
|
|
{% if "x86_64" in f.text %}
|
|
<td><i class="fa fa-apple"></i> Mac OS X 64 bit
|
|
{% else %}
|
|
<td><i class="fa fa-apple"></i> Mac OS X 32 bit
|
|
{% endif %}
|
|
{% elif "linux" in f.text %}
|
|
{% if "x86_64" in f.text %}
|
|
<td><i class="fa fa-linux"></i> Linux 64 bit
|
|
{% else %}
|
|
<td><i class="fa fa-linux"></i> Linux 32 bit
|
|
{% endif %}
|
|
{% endif %}
|
|
</td>
|
|
|
|
<td>
|
|
{% if "mingw" in f.text %}
|
|
Experimental MinGW
|
|
{% elif "vc14" in f.text %}
|
|
Experimental VS 2015<br/><span style="font-weight: normal;">(Windows Vista/7/8/10)</span>
|
|
{% elif "vc11" in f.text %}
|
|
Experimental VS 2012<br/><span style="font-weight: normal;">(Windows Vista/7/8/10)</span>
|
|
{% elif "vc9" in f.text %}
|
|
Legacy VS 2008<br/><span style="font-weight: normal;">(Windows XP/Vista/7/8/10)</span>
|
|
{% elif "win32-vc12" in f.text %}
|
|
Official Preview VS 2013<br/><span style="font-weight: normal;">(Windows XP/Vista/7/8/10)</span>
|
|
{% elif "win64-vc12" in f.text %}
|
|
Official Preview VS 2013<br/><span style="font-weight: normal;">(Windows Vista/7/8/10)</span>
|
|
{% elif "multiview" in f.text %}
|
|
Multiview Branch<br/><span style="font-weight: normal;">(Stereoscopic 3D)</span>
|
|
{% elif "gooseberry" in f.text %}
|
|
Gooseberry Branch
|
|
{% else %}
|
|
Official
|
|
{% endif %}
|
|
</td>
|
|
|
|
<td><a class="info" onclick="ga('send', 'event', 'button', 'download', '{{f.text}}');" href="{{ f.href }}">{{ f.text }}</a></td>
|
|
<td>{{ f.size }}</td>
|
|
<td>{{ f.lastmodified }}</td>
|
|
</tr>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</table>
|
|
|
|
|
|
{% endblock %}
|