Continuing pages.
This commit is contained in:
parent
ff89fb94a2
commit
dfc8175367
20 changed files with 213 additions and 31 deletions
|
@ -1,4 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
{{ $data := index .Site.Data .Site.Language.Lang }}
|
||||
{{ $appdata := index $data.apps .Params.SectionHeader.AppIndex }}
|
||||
|
||||
<html>
|
||||
{{- partial "head.html" . -}}
|
||||
<body>
|
||||
|
@ -7,7 +10,7 @@
|
|||
{{ partial "section-app-header.html" (dict "Data" .Params.SectionHeader "Site" .Site) }}
|
||||
<br>
|
||||
<!-- About section -->
|
||||
<section class="center content-center padding-container">
|
||||
<section id="about-section" class="center content-center padding-container">
|
||||
<h1>{{ .Params.About.Title }}</h1>
|
||||
<p>{{ .Params.About.Content | markdownify }}</p>
|
||||
</section>
|
||||
|
@ -16,7 +19,7 @@
|
|||
{{ range .Params.Sections }}
|
||||
<section class="center content-center columns-container padding-container">
|
||||
{{ if eq .Type "text|image" }}
|
||||
<div class="column col2 text-right vertical-center">
|
||||
<div class="column col2 text-left vertical-center">
|
||||
{{ .Content | markdownify }}
|
||||
</div>
|
||||
<div class="column col2">
|
||||
|
@ -29,15 +32,91 @@
|
|||
<div class="column col2 text-left vertical-center">
|
||||
{{ .Content | markdownify }}
|
||||
</div>
|
||||
{{ else if eq .Type "text-image" }}
|
||||
{{ else if eq .Type "text/image" }}
|
||||
<div class="column text-center">
|
||||
{{ .Content | markdownify }}
|
||||
<img src="/img/{{ .Image }}"/>
|
||||
</div>
|
||||
{{ else if eq .Type "text" }}
|
||||
<div class="column text-center">
|
||||
{{ .Content | markdownify }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</section>
|
||||
<br>
|
||||
{{ end }}
|
||||
<section id="technical-details-section" class="center content-center padding-container">
|
||||
<hr>
|
||||
<h1 class="flex flex-center"><img src="/icons/wrench.svg" class="icon-larger-text" alt=""/>{{ i18n "technicalSheet" }}</h1>
|
||||
<div class="grid">
|
||||
<p class="inline column col2">
|
||||
<img src="/icons/platform/Universal.svg" class="icon-as-text" alt=""/>
|
||||
{{ i18n "supportedPlatforms" }} {{ partial "platforms.html" $appdata.platforms }}
|
||||
</p>
|
||||
<p class="inline column col2">
|
||||
<img src="/icons/lang.svg" class="icon-as-text" alt=""/>
|
||||
{{ i18n "translated" }} {{ partial "translations.html" $appdata.translated }}
|
||||
</p>
|
||||
<p class="inline column col2">
|
||||
<img src="/icons/git.svg" class="icon-as-text" alt=""/>
|
||||
{{ i18n "latestVersion" }}v{{ $appdata.version }}
|
||||
</p>
|
||||
<p class="inline column col2">
|
||||
<img src="/icons/git.svg" class="icon-as-text" alt=""/>
|
||||
{{ i18n "status" }}{{ $appdata.status }}
|
||||
</p>
|
||||
<p class="inline column col2">
|
||||
<img src="/icons/code.svg" class="icon-as-text" alt=""/>
|
||||
{{ i18n "programingLanguages" }}{{ delimit $appdata.languages ", " }}
|
||||
</p>
|
||||
<p class="inline column col2">
|
||||
<img src="/icons/frameworks.svg" class="icon-as-text" alt=""/>
|
||||
{{ i18n "frameworks" }} {{ delimit $appdata.frameworks ", " | markdownify }}
|
||||
</p>
|
||||
{{ if $appdata.touchfriendly }}
|
||||
<p class="inline column col2">
|
||||
<img src="/icons/touch.svg" class="icon-as-text" alt=""/>
|
||||
{{ i18n "touchFriendly" }}
|
||||
</p>
|
||||
{{ end }}
|
||||
{{ if $appdata.keyboardoriented }}
|
||||
<p class="inline column col2">
|
||||
<img src="/icons/keyboard.svg" class="icon-as-text" alt=""/>
|
||||
{{ i18n "keyboardOriented" }}
|
||||
</p>
|
||||
{{ end }}
|
||||
</div>
|
||||
</section>
|
||||
{{ if .Params.Download.Show }}
|
||||
<!-- download section -->
|
||||
<section id="download-section" class="center content-center padding-container text-center">
|
||||
<hr>
|
||||
<h1 class="flex flex-center"><img src="/icons/download.svg" class="icon-larger-text" alt=""/>{{ i18n "download" }}</h1>
|
||||
{{ i18n "downloadApp" (dict "Name" .Name "Platforms" (delimit $appdata.platforms ", ")) }}
|
||||
<br><br>
|
||||
<!-- download table -->
|
||||
<div class="center columns-container">
|
||||
{{ $download := .Params.Download }}
|
||||
{{ range $download.Categories }}
|
||||
<div class="column app-download col{{ len $download.Categories | safeHTMLAttr }}">
|
||||
<div class="fill-width primary vertical-center app-download-platform">
|
||||
<img src="/icons/platform/{{ .Platform }}.svg" class="icon-as-text" alt=""/>{{ .Title }}
|
||||
</div>
|
||||
<div class="columns-container padding-container">
|
||||
{{ $links := index $download.Links .Name }}
|
||||
{{ range $links }}
|
||||
<div class="column col{{ len $links | safeHTMLAttr }} col1-fill">
|
||||
<h3>{{ .Title }}</h3>
|
||||
<a href="{{ replace .URL "<version>" $appdata.version }}">{{ i18n "download"}} {{ replace .Name "<version>" $appdata.version }}</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
<p>{{ .Params.Download.Footnote | markdownify }} </p>
|
||||
</section>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{- partial "footer.html" . -}}
|
||||
</body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue