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

This commit is contained in:
Adsooi 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; line-height: 3;
font-size: x-large; 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"> <div class="fill-width primary vertical-center app-download-platform">
<i class="icon-{{ lower .Platform }} icon-as-text" alt=""></i>{{ .Title }} <i class="icon-{{ lower .Platform }} icon-as-text" alt=""></i>{{ .Title }}
</div> </div>
<div class="columns-container padding-container"> <div class="app-os-sources">
{{ $links := index $download.Links .Name }} {{ $links := index $download.Links .Name }}
{{ range $links }} {{ range $links }}
<div class="column col{{ len $links | safeHTMLAttr }} col1-fill"> <div>
<h3>{{ .Title }}</h3> <h3>{{ .Title }}</h3>
<a href="{{ replace .URL "<version>" $appdata.version }}">{{ i18n "download" }} {{ replace .Name "<version>" $appdata.version }}</a> <a href="{{ replace .URL "<version>" $appdata.version }}">{{ i18n "download" }} {{ replace .Name "<version>" $appdata.version }}</a>
</div> </div>
<hr>
{{ end }} {{ end }}
</div> </div>
</div> </div>