Download button styling

This commit is contained in:
jklingen 2016-07-27 22:46:02 +02:00
commit 3f34f4d2a5

View file

@ -11,18 +11,26 @@ tags: menu
<!-- TODO retrieve downloadable files --> <!-- TODO retrieve downloadable files -->
<div class="two-col left-box"> <div class="two-col left-box">
<h2>Download the latest stable release</h2> <h2>Download the latest stable release</h2>
<p style="display:table-row">
<table class="cta-button">
<tr>
<td>
{% for asset in latestRelease.assets %} {% for asset in latestRelease.assets %}
{% if asset.name contains 'RELEASE.exe' %} {% if asset.name contains 'RELEASE.exe' %}
<a href="{{ asset.browser_download_url }}" class="cta" title="Download the latest stable version of Greenshot" rel="nofollow" style="display:table-cell">Latest version</a> <a href="{{ asset.browser_download_url }}" class="cta" title="Download the latest stable version of Greenshot" rel="nofollow" style="display:table-cell">Latest version</a>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
<small style="display:table-cell;vertical-align:middle;padding-left:1em;"> </td>
</tr>
<tr>
<td class="cta-description">
{% if latestRelease %} {% if latestRelease %}
{{ latestRelease.name }}<br>{{ latestRelease.created_at | date_to_string %}} {{ latestRelease.name }}<br>{{ latestRelease.created_at | date_to_string %}}
{% endif %} {% endif %}
</small> </td>
</p> </tr>
</table>
<p><a href="#" onclick="jQuery('#w8info').slideToggle();return false;">(Info for Windows 8 users)</a><br/> <span id="w8info" style="display:none">Windows might ask you to install .NET 3.5 when running Greenshot. You can skip this. <a href="/faq/why-does-windows-8-suggest-to-install-earlier-net-versions-when-starting-greenshot/">Read more</a></span></p> <p><a href="#" onclick="jQuery('#w8info').slideToggle();return false;">(Info for Windows 8 users)</a><br/> <span id="w8info" style="display:none">Windows might ask you to install .NET 3.5 when running Greenshot. You can skip this. <a href="/faq/why-does-windows-8-suggest-to-install-earlier-net-versions-when-starting-greenshot/">Read more</a></span></p>
<p>In most cases, the latest stable version will be the best choice for you. However, if you are looking for the latest unstable version, need an older version or the ZIP distribution, you will find everything you need in the <a href="/version-history/" title="Download other versions of Greenshot">version history</a>.</p> <p>In most cases, the latest stable version will be the best choice for you. However, if you are looking for the latest unstable version, need an older version or the ZIP distribution, you will find everything you need in the <a href="/version-history/" title="Download other versions of Greenshot">version history</a>.</p>