Improving rendering when many different kind of sources exist for a same os.

This commit is contained in:
Ad5001 2021-07-25 22:33:01 +02:00
parent 1f9fd83a07
commit ccfb34d4e1
No known key found for this signature in database
GPG Key ID: 9C87C7D3A69E6BBE
4 changed files with 10 additions and 19 deletions

View File

@ -1,14 +0,0 @@
[Buildset]
BuildItems=@Variant(\x00\x00\x00\t\x00\x00\x00\x00\x01\x00\x00\x00\x0b\x00\x00\x00\x00\x01\x00\x00\x00\x10\x00O\x00m\x00e\x00g\x00a\x00m\x00m\x00a)
[Project]
VersionControlSupport=kdevgit
[SourceFormatter]
text/x-c++hdr=kdevcustomscript||GNU_indent_GNU
text/x-c++src=kdevcustomscript||GNU_indent_GNU
text/x-chdr=kdevcustomscript||GNU_indent_GNU
text/x-csharp=kdevcustomscript||GNU_indent_GNU
text/x-csrc=kdevcustomscript||GNU_indent_GNU
text/x-java=kdevcustomscript||GNU_indent_GNU
text/x-objcsrc=kdevcustomscript||GNU_indent_GNU

View File

@ -1,3 +0,0 @@
[Project]
Name=Omegamma
Manager=KDevGenericManager

View File

@ -69,6 +69,13 @@
line-height: 3;
font-size: x-large;
}
.app-os-sources {
hr:last-of-type {
opacity: 0;
height: 0.1em;
}
}
}

View File

@ -108,13 +108,14 @@
<div class="fill-width primary vertical-center app-download-platform">
<i class="icon-{{ lower .Platform }} icon-as-text" alt=""></i>{{ .Title }}
</div>
<div class="columns-container padding-container">
<div class="app-os-sources">
{{ $links := index $download.Links .Name }}
{{ range $links }}
<div class="column col{{ len $links | safeHTMLAttr }} col1-fill">
<div>
<h3>{{ .Title }}</h3>
<a href="{{ replace .URL "<version>" $appdata.version }}">{{ i18n "download" }} {{ replace .Name "<version>" $appdata.version }}</a>
</div>
<hr>
{{ end }}
</div>
</div>