Commit 48a0b4e3 authored by Christian Engwer's avatar Christian Engwer

improve download box

- add link to the releases page
- fix download link
- improve button layout
parent 0a087d4a
<div class="well">
<h4> Core releases </h4>
<div class="btn-group-vertical">
{{ $.Scratch.Set "counter" 0 }}
{{ $.Scratch.Set "last_major" -1 }}
{{ $.Scratch.Set "last_minor" -1 }}
......@@ -15,5 +16,8 @@
{{ end }}
{{ end }}
{{ end }}
... more
</div>
<p>
<a href="/releases/">... more</a>
</p>
</div>
......@@ -4,7 +4,7 @@
{{/* &nbsp;&mdash;&nbsp;{{ .Date.Format "Jan 2, 2006" }} */}}
</div>
<div class="col">
<a class="btn btn-primary btn-sm" role="button" href="{{.Params.download }}">
<a class="btn btn-primary btn-sm btn-block" role="button" href="{{ .RelPermalink }}">
<span class="fa fa-download"></span>
{{ if in .Params.support "apple" }}<span class="fab fa-apple"></span>{{ end }}
{{ if in .Params.support "linux" }}<span class="fab fa-linux"></span>{{ end }}
......
......@@ -540,6 +540,19 @@ i.freebsd-19px:before {
}
#rightpanel h4 { margin-top: 0pt; }
#rightpanel .btn-group-vertical {
display: inline-block;
max-width: 100%;
}
.col-lg-3 #rightpanel .btn {
text-align: left;
overflow: hidden;
white-space: nowrap;
display: inline-block;
text-overflow: ellipsis;
}
#rightpanel .well {
display: inline-block;
width: 100%;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment