Merge pull request #261 from lukeIam/gh-pages_DownloadButton
Download section style
This commit is contained in:
commit
40664ea23c
9 files changed
+145
-48
No files matched your search
+64
-47
@@ -14,53 +14,70 @@
|
||||
<section id="{{ page.section-type }}" class="content-section">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<h1 class="title">{{ page.title }}</h1>
|
||||
<p>We provide portable versions of Vocaluxe for every release. If you want to try our stable release, you could also use our installer. If you're on Linux, you need to <a href="https://github.com/Vocaluxe/Vocaluxe/blob/develop/HowToBuildLinux.md">compile Vocaluxe yourself</a> (for advanced users). If you're looking for some older versions, check out our releases on <a href="https://github.com/Vocaluxe/Vocaluxe/releases">GitHub</a> and <a href="https://sourceforge.net/projects/vocaluxe/files/?source=directory">Sourceforge</a>.</p>
|
||||
<div class="col-md-4">
|
||||
<h2>Nightly</h2>
|
||||
<p>A version with all the newest development changes. Likely to contain bugs, so use with caution.</p>
|
||||
{% if release_nightly != nil %}
|
||||
<span class="release-details">
|
||||
<p>Latest update: {{ release_nightly.created_at | date: "%Y-%m-%d" }}</p>
|
||||
<p>Read our release notes on <a href="{{ release_nightly.html_url }}">GitHub</a>.</p>
|
||||
{% for asset in release_nightly.assets %}
|
||||
<a class="btn" href="{{ asset.browser_download_url }}">{{ asset.name }}</a>
|
||||
{% endfor %}
|
||||
</span>
|
||||
{% else %}
|
||||
<p>There isn't any nightly release yet.</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<h2>Pre Release</h2>
|
||||
<p>Should be almost stable, but you might experience some bugs here.</p>
|
||||
{% if release_pre != nil %}
|
||||
<span class="release-details">
|
||||
<p>Latest version: {{release_pre.name}} ({{ release_pre.created_at | date: "%Y-%m-%d" }})</p>
|
||||
<p>Read our release notes on <a href="{{ release_pre.html_url }}">GitHub</a>.</p>
|
||||
{% for asset in release_pre.assets %}
|
||||
<a class="btn" href="{{ asset.browser_download_url }}">{{ asset.name }}</a>
|
||||
{% endfor %}
|
||||
</span>
|
||||
{% else %}
|
||||
<p>There isn't any pre release yet.</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<h2>Stable Release</h2>
|
||||
<p>The latest release.</p>
|
||||
{% if release_stable != nil %}
|
||||
<span class="release-details">
|
||||
<p>Latest version: {{release_stable.name}} ({{ release_stable.created_at | date: "%Y-%m-%d" }})</p>
|
||||
<p>Read our release notes on <a href="{{ release_stable.html_url }}">GitHub</a>.</p>
|
||||
{% for asset in release_stable.assets %}
|
||||
<a class="btn" href="{{ asset.browser_download_url }}">{{ asset.name }}</a>
|
||||
{% endfor %}
|
||||
</span>
|
||||
{% else %}
|
||||
<p>There isn't any stable release yet.</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
<h1 class="title">{{ page.title }}</h1>
|
||||
<p>We provide portable versions of Vocaluxe for every release. If you want to try our stable release, you could also use our installer. If you're on Linux, you need to <a href="https://github.com/Vocaluxe/Vocaluxe/blob/develop/HowToBuildLinux.md">compile Vocaluxe yourself</a> (for advanced users). If you're looking for some older versions, check out our releases on <a href="https://github.com/Vocaluxe/Vocaluxe/releases">GitHub</a> and <a href="https://sourceforge.net/projects/vocaluxe/files/?source=directory">Sourceforge</a>.</p>
|
||||
<div class="release-section">
|
||||
<div class="col-md-4 flex-box-col">
|
||||
<h2 class="flex00a">Nightly</h2>
|
||||
<p class="flex11a">A version with all the newest development changes. Likely to contain bugs, so use with caution.</p>
|
||||
{% if release_nightly != nil %}
|
||||
<span class="release-details flex00a">
|
||||
<p>Latest update: {{ release_nightly.created_at | date: "%Y-%m-%d" }}
|
||||
<br/>
|
||||
Read our release notes on <a href="{{ release_nightly.html_url }}">GitHub</a>.</p>
|
||||
{% for asset in release_nightly.assets %}
|
||||
{% assign currentReleaseData = asset.name | split:".zip" | first | split:"_" %}
|
||||
{% assign currentReleaseTitle = 'Vocaluxe ' | append: currentReleaseData[1] %}
|
||||
{% assign currentReleaseOs = currentReleaseData[2] %}
|
||||
{% assign currentReleaseArch = currentReleaseData[3] %}
|
||||
{% include downloadButton.html title=currentReleaseTitle os=currentReleaseOs arch=currentReleaseArch url=asset.browser_download_url %}
|
||||
{% endfor %}
|
||||
</span>
|
||||
{% else %}
|
||||
<p class="flex11100 no-release-text ">There isn't any nightly release yet.</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="col-md-4 flex-box-col">
|
||||
<h2 class="flex00a">Pre Release</h2>
|
||||
<p class="flex11a">Should be almost stable, but you might experience some bugs here.</p>
|
||||
{% if release_pre != nil %}
|
||||
<span class="release-details flex00a">
|
||||
<p>Latest version: {{release_pre.name}} ({{ release_pre.created_at | date: "%Y-%m-%d" }})
|
||||
<br/>
|
||||
Read our release notes on <a href="{{ release_pre.html_url }}">GitHub</a>.</p>
|
||||
{% for asset in release_pre.assets %}
|
||||
{% assign currentReleaseData = asset.name | split:".zip" | first | split:"_" %}
|
||||
{% assign currentReleaseTitle = 'Vocaluxe ' | append: release_pre.name %}
|
||||
{% assign currentReleaseOs = currentReleaseData[2] %}
|
||||
{% assign currentReleaseArch = currentReleaseData[3] %}
|
||||
{% include downloadButton.html title=currentReleaseTitle os=currentReleaseOs arch=currentReleaseArch url=asset.browser_download_url %}
|
||||
{% endfor %}
|
||||
</span>
|
||||
{% else %}
|
||||
<p class="flex11100 no-release-text">There isn't any pre release yet.</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="col-md-4 flex-box-col">
|
||||
<h2 class="flex00a">Stable Release</h2>
|
||||
<p class="flex11a">The latest release.</p>
|
||||
{% if release_stable != nil %}
|
||||
<span class="release-details flex00a">
|
||||
<p>Latest version: {{release_stable.name}} ({{ release_stable.created_at | date: "%Y-%m-%d" }})
|
||||
<br/>
|
||||
Read our release notes on <a href="{{ release_stable.html_url }}">GitHub</a>.</p>
|
||||
{% for asset in release_stable.assets %}
|
||||
{% assign currentReleaseData = asset.name | split:".zip" | first | split:"_" %}
|
||||
{% assign currentReleaseTitle = 'Vocaluxe ' | append: release_stable.name %}
|
||||
{% assign currentReleaseOs = currentReleaseData[2] | downcase %}
|
||||
{% assign currentReleaseArch = currentReleaseData[3] %}
|
||||
{% include downloadButton.html title=currentReleaseTitle os=currentReleaseOs arch=currentReleaseArch url=asset.browser_download_url %}
|
||||
{% endfor %}
|
||||
</span>
|
||||
{% else %}
|
||||
<p class="flex11100 no-release-text">There isn't any stable release yet.</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
<a href={{include.url}} class="btn btn-primary btn-lg btnDownload">
|
||||
{% if include.os == "linux" %}
|
||||
<span class="fa fa-linux btnDownloadIcon" aria-hidden="true"></span>
|
||||
{% else %}
|
||||
<span class="fa fa-windows btnDownloadIcon" aria-hidden="true"></span>
|
||||
{% endif %}
|
||||
{% if include.arch == "x86" %}
|
||||
<span>{{include.title}} <i class="arch-x86" aria-hidden="true"></i> </span>
|
||||
{% else %}
|
||||
<span>{{include.title}} <i class="arch-x64" aria-hidden="true"></i> </span>
|
||||
{% endif %}
|
||||
</a>
|
||||
+3
-1
@@ -23,7 +23,9 @@
|
||||
|
||||
<!--Icon Fonts-->
|
||||
<link rel="stylesheet" media="screen" href="{{site.baseurl}}/fonts/font-awesome/font-awesome.min.css" />
|
||||
|
||||
|
||||
<!--Arch Icon Fonts-->
|
||||
<link rel="stylesheet" media="screen" href="{{site.baseurl}}/fonts/font-arch/arch.min.css" />
|
||||
|
||||
<!-- Extras -->
|
||||
<link rel="stylesheet" type="text/css" href="{{site.baseurl}}/extras/animate.css">
|
||||
|
||||
@@ -341,3 +341,54 @@ a:hover {
|
||||
.release-details {
|
||||
text-align:left;
|
||||
}
|
||||
|
||||
.btnDownload {
|
||||
display:flex;
|
||||
flex: 1 0 auto;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.btnDownloadIcon {
|
||||
flex: 0 0 auto;
|
||||
padding-right:10px;
|
||||
font-size:2em;
|
||||
}
|
||||
|
||||
.btnDownloadText {
|
||||
flex: 0 1 auto;
|
||||
}
|
||||
|
||||
.release-section {
|
||||
display:flex;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
@media (min-width: 992px){
|
||||
.release-section {
|
||||
flex-direction: row;
|
||||
}
|
||||
}
|
||||
|
||||
.flex-box-col {
|
||||
display:flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.flex00a {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.flex11a {
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
.flex11100 {
|
||||
flex: 1 1 100%;
|
||||
}
|
||||
|
||||
.no-release-text {
|
||||
margin-top: 40px;
|
||||
}
|
||||
Binary file not shown.
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
/*
|
||||
* Font for arch bages
|
||||
*/@font-face{font-family:'arch';src:url('arch.eot?gjjumz');src:url('arch.eot?gjjumz#iefix') format('embedded-opentype'), url('arch.ttf?gjjumz') format('truetype'), url('arch.woff?gjjumz') format('woff'), url('arch.svg?gjjumz#arch') format('svg');font-weight:normal;font-style:normal}[class^="arch-"],[class*=" arch-"]{font-family:'arch' !important;speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.arch-x86:before{content:"\e900"}.arch-x64:before{content:"\e901"}
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<metadata>Generated by IcoMoon</metadata>
|
||||
<defs>
|
||||
<font id="arch" horiz-adv-x="1024">
|
||||
<font-face units-per-em="1024" ascent="960" descent="-64" />
|
||||
<missing-glyph horiz-adv-x="1024" />
|
||||
<glyph unicode=" " horiz-adv-x="512" d="" />
|
||||
<glyph unicode="" glyph-name="x86" horiz-adv-x="3186" d="M227.56 960c-126.066 0-227.56-101.494-227.56-227.56v-568.88c0-126.066 101.494-227.56 227.56-227.56h2730.68c126.066 0 227.52 101.494 227.52 227.56v568.88c0 126.066-101.454 227.56-227.52 227.56h-2730.68zM1735.24 821.36h88.36v-261.32c24.756 20.369 51.070 36.952 78.96 49.8 27.89 13.161 59.256 19.76 94.040 19.76 62.047 0 110.916-23.808 146.64-71.44 36.037-47.632 54.040-114.878 54.040-201.68 0-43.871-6.265-83.343-18.8-118.44-12.221-35.097-28.804-64.544-49.8-88.36-22.249-24.756-46.724-43.425-73.36-55.96-26.636-12.221-55.917-18.32-87.88-18.32-29.77 0-55.791 3.593-78.040 10.8-22.249 6.894-44.178 16.332-65.8 28.24l-5.64-24.48h-82.72v731.4zM582.16 818.44c44.752 0 83.917-3.985 117.56-11.92 33.643-7.617 61.42-17.947 83.32-30.96 26.026-15.552 45.384-34.423 58.080-56.64s19.040-48.245 19.040-78.080c0-39.356-12.201-74.576-36.64-105.68-24.439-30.787-56.649-50.47-96.64-59.040v-6.68c16.187-2.222 33.309-6.655 51.4-13.32s34.603-16.344 49.52-29.040c15.552-13.33 27.916-28.866 37.12-46.64s13.84-41.443 13.84-70.96c0-33.326-6.67-64.438-20-93.32-13.013-28.883-33.184-53.61-60.48-74.24-26.661-19.996-58.058-35.409-94.24-46.2-35.865-10.474-79.543-15.72-130.96-15.72-58.717 0-109.147 4.636-151.36 13.84-41.895 9.204-76.017 19.494-102.36 30.92v155.68h18.56c27.296-16.504 59.831-30.779 97.6-42.84 38.087-12.061 72.818-18.080 104.24-18.080 18.409 0 38.417 1.423 60 4.28 21.583 3.174 39.843 9.844 54.76 20 11.743 7.935 21.097 17.451 28.080 28.56 6.983 11.426 10.48 27.775 10.48 49.040 0 20.63-4.758 36.491-14.28 47.6-9.522 11.426-22.088 19.519-37.64 24.28-15.552 5.078-34.26 7.763-56.16 8.080-21.9 0.635-42.194 0.96-60.92 0.96h-39.040v126.64h40.44c24.756 0 46.677 0.813 65.72 2.4s35.23 5.207 48.56 10.92c13.965 6.030 24.417 13.961 31.4 23.8 6.983 10.156 10.48 24.919 10.48 44.28 0 14.283-3.66 25.71-10.96 34.28-7.3 8.887-16.491 15.882-27.6 20.96-12.378 5.713-26.978 9.536-43.8 11.44s-31.259 2.84-43.32 2.84c-29.835 0-62.207-5.246-97.12-15.72-34.913-10.157-68.709-24.919-101.4-44.28h-17.64v153.8c26.026 10.474 61.448 20.478 106.2 30 44.752 9.839 90.139 14.76 136.16 14.76zM1284.36 817.48c88.869 0 156.624-18.748 203.28-56.2 46.656-37.135 70-89.801 70-158.040 0-44.752-11.265-87.292-33.8-127.6-22.217-40.308-56.338-81.872-102.36-124.72-28.882-26.661-57.92-51.265-87.12-73.8-29.2-22.217-49.982-37.793-62.36-46.68h318.48v-135.68h-556.52v117.12c42.53 30.787 85.030 63.484 127.56 98.080 42.848 34.595 77.131 64.446 102.84 89.52 38.404 37.135 65.693 69.507 81.88 97.12s24.28 54.902 24.28 81.88c0 32.374-10.452 57.304-31.4 74.76-20.63 17.774-50.481 26.64-89.52 26.64-29.2 0-59.986-6.019-92.36-18.080-32.056-12.061-61.867-27.474-89.48-46.2h-15.24v157.6c22.535 9.839 55.68 19.681 99.48 29.52 44.117 9.839 88.243 14.76 132.36 14.76zM2330.32 794.6h99.64v-91.68h-99.64v91.68zM2598.24 765.92h88.36v-150.88h182.4v-74.28h-182.4v-239.24c0-27.576 0.627-49.212 1.88-64.88 1.253-15.355 5.639-29.765 13.16-43.24 6.894-12.535 16.332-21.806 28.24-27.76 12.221-5.641 30.684-8.44 55.44-8.44 14.415 0 29.452 2.046 45.12 6.12 15.668 4.387 26.946 7.98 33.84 10.8h4.72v-79.44c-16.608-4.387-34.778-7.98-54.52-10.8-19.429-2.82-36.845-4.24-52.2-4.24-53.586 0-94.31 14.41-122.2 43.24s-41.84 75.067-41.84 138.68v279.2h-59.68v74.28h59.68v150.88zM2335.96 615.040h88.36v-525.080h-88.36v525.080zM1974.96 545.44c-25.696 0-51.717-5.639-78.040-16.92-26.323-10.968-50.758-25.211-73.32-42.76v-300.84c25.069-11.281 46.538-19.093 64.4-23.48 18.175-4.387 38.684-6.6 61.56-6.6 48.885 0 87.144 15.997 114.72 47.96 27.89 32.277 41.84 82.733 41.84 151.36 0 62.673-10.358 110.123-31.040 142.4-20.682 32.59-54.055 48.88-100.12 48.88z" />
|
||||
<glyph unicode="" glyph-name="x64" horiz-adv-x="3186" d="M227.56 960c-126.066 0-227.56-101.494-227.56-227.56v-568.88c0-126.066 101.494-227.56 227.56-227.56h2730.68c126.066 0 227.52 101.494 227.52 227.56v568.88c0 126.066-101.454 227.56-227.52 227.56h-2730.68zM1735.24 821.36h88.36v-261.32c24.756 20.369 51.070 36.952 78.96 49.8 27.89 13.161 59.256 19.76 94.040 19.76 62.047 0 110.916-23.808 146.64-71.44 36.037-47.632 54.040-114.878 54.040-201.68 0-43.871-6.265-83.343-18.8-118.44-12.221-35.097-28.804-64.544-49.8-88.36-22.249-24.756-46.724-43.425-73.36-55.96-26.636-12.221-55.917-18.32-87.88-18.32-29.77 0-55.791 3.593-78.040 10.8-22.249 6.894-44.178 16.332-65.8 28.24l-5.64-24.48h-82.72v731.4zM706.4 817c23.169 0 48.547-1.586 76.16-4.76s45.548-5.573 53.8-7.16v-139.48h-18.080c-8.57 4.126-23.17 8.722-43.8 13.8-20.313 5.395-43.494 8.080-69.52 8.080-60.939 0-108.359-14.885-142.32-44.72s-54.457-71.439-61.44-124.76c24.439 14.6 50.142 26.353 77.12 35.24 27.296 9.204 56.658 13.8 88.080 13.8 27.613 0 53.153-3.172 76.64-9.52 23.804-6.348 45.887-16.515 66.2-30.48 26.343-18.409 47.45-43.136 63.32-74.24s23.8-69.984 23.8-116.64c0-36.5-6.67-70.784-20-102.84s-32.038-59.020-56.16-80.92c-25.709-23.487-55.559-41.422-89.52-53.8-33.643-12.378-73.173-18.6-118.56-18.6-42.53 0-81.41 5.734-116.64 17.16-34.913 11.743-64.886 29.516-89.96 53.32-28.882 27.295-50.965 62.515-66.2 105.68s-22.84 94.733-22.84 154.72c0 62.208 7.157 117.437 21.44 165.68s37.586 90.945 69.96 128.080c31.104 35.548 71.447 63.162 120.96 82.84 49.83 19.678 109.004 29.52 177.56 29.52zM1317.68 803.68h186.16v-416.12h96.64v-129.48h-96.64v-165.2h-174.72v165.2h-343.24v134.24l331.8 411.36zM2330.32 794.6h99.64v-91.68h-99.64v91.68zM2598.24 765.92h88.36v-150.88h182.4v-74.28h-182.4v-239.24c0-27.576 0.627-49.212 1.88-64.88 1.253-15.355 5.639-29.765 13.16-43.24 6.894-12.535 16.332-21.806 28.24-27.76 12.221-5.641 30.684-8.44 55.44-8.44 14.415 0 29.452 2.046 45.12 6.12 15.668 4.387 26.946 7.98 33.84 10.8h4.72v-79.44c-16.608-4.387-34.778-7.98-54.52-10.8-19.429-2.82-36.845-4.24-52.2-4.24-53.586 0-94.31 14.41-122.2 43.24s-41.84 75.067-41.84 138.68v279.2h-59.68v74.28h59.68v150.88zM1329.12 643.68l-206.16-256.12h206.16v256.12zM2335.96 615.040h88.36v-525.080h-88.36v525.080zM1974.96 545.44c-25.696 0-51.717-5.639-78.040-16.92-26.323-10.968-50.758-25.211-73.32-42.76v-300.84c25.069-11.281 46.538-19.093 64.4-23.48 18.175-4.387 38.684-6.6 61.56-6.6 48.885 0 87.144 15.997 114.72 47.96 27.89 32.277 41.84 82.733 41.84 151.36 0 62.673-10.358 110.123-31.040 142.4-20.682 32.59-54.055 48.88-100.12 48.88zM585.96 443.28c-13.965 0-28.565-1.586-43.8-4.76s-29.224-7.159-41.92-11.92c0-3.174-0.125-8.42-0.44-15.72s-0.48-16.491-0.48-27.6c0-39.039 3.783-71.249 11.4-96.64 7.935-25.074 18.427-44.27 31.44-57.6 8.887-9.839 19.339-17.159 31.4-21.92 12.061-4.444 25.075-6.64 39.040-6.64 10.474 0 22.064 2.359 34.76 7.12s23.513 11.918 32.4 21.44c9.839 10.791 17.607 23.48 23.32 38.080 6.030 14.917 9.040 35.049 9.040 60.44 0 23.169-3.335 42.080-10 56.68-6.665 14.917-15.857 26.793-27.6 35.68-11.426 8.887-24.928 14.946-40.48 18.12-15.552 3.491-31.576 5.24-48.080 5.24z" />
|
||||
</font></defs></svg>
|
||||
|
After Width: | Height: | Size: 7.0 KiB |
Binary file not shown.
Binary file not shown.
Reference in new issue
Block a user